Google Colab,全称 Colaboratory,是 Google Research 团队开发的一款产品。在 Colab 中,任何人都可以通过浏览器编写和执行任意 Python 代码。它尤其适合机器学习、数据分析和教育目的。从技术上来说,Colab 是一种托管式 Jupyter 笔记本服务。用户无需设置,就可以直接使用,同时还能获得 GPU 等计算资源的免费使用权限。

8953a2d9ef2ea7e09efcaeeda2790f21.jpeg

通过与 Colab 团队的共同努力,Colab 托管的运行时镜像现已默认集成了 Hugging Face transformers 库,只需简单执行 import transformers 即可轻松接入!对于使用 Colab 进行机器学习和深度学习研究的开发者来说,这是一个非常重要的更新。

如果你想使用最新版本的 transformers,Colab 团队也提供了一个简单的命令 !pip install transformers --upgrade,以便于随时更新至最新版本。

除了提升用户体验,这一更新还开启了一些有趣的新功能。例如,用户现在可以直接从 Pandas 读取 Hugging Face 数据集,这将大大简化数据处理和模型训练的工作流程。

d2f46a115716a635a86d1decb6686fbc.jpeg

本合作和更新还开启了一些有趣的新功能。例如,用户现在可以直接从 Pandas 读取 Hugging Face 数据集,这将大大简化数据处理和模型训练的工作流程。

你可以通过 hf://datasets/ 的方式在 Pandas 中直接读取 Hugging Face Hub 上的数据集。

感谢 Colab 团队的朋友们,也希望社区的成员们喜欢本次的合作和功能更新!

GitHub 加速计划 / tra / transformers
130.23 K
25.88 K
下载
huggingface/transformers: 是一个基于 Python 的自然语言处理库,它使用了 PostgreSQL 数据库存储数据。适合用于自然语言处理任务的开发和实现,特别是对于需要使用 Python 和 PostgreSQL 数据库的场景。特点是自然语言处理库、Python、PostgreSQL 数据库。
最近提交(Master分支:1 个月前 )
8bd2b1e8 * initial commit * gloups * updates * work * weights match * nits * nits * updates to support the tokenizer :) * updates * Pixtral processor (#33454) * rough outline * Add in image break and end tokens * Fix * Udo some formatting changes * Set patch_size default * Fix * Fix token expansion * nit in conversion script * Fix image token list creation * done * add expected results * Process list of list of images (#33465) * updates * working image and processor * this is the expected format * some fixes * push current updated * working mult images! * add a small integration test * Uodate configuration docstring * Formatting * Config docstring fix * simplify model test * fixup modeling and etests * Return BatchMixFeature in image processor * fix some copies * update * nits * Update model docstring * Apply suggestions from code review * Fix up * updates * revert modeling changes * update * update * fix load safe * addd liscence * update * use pixel_values as required by the model * skip some tests and refactor * Add pixtral image processing tests (#33476) * Image processing tests * Add processing tests * woops * defaults reflect pixtral image processor * fixup post merge * images -> pixel values * oups sorry Mr docbuilder * isort * fix * fix processor tests * small fixes * nit * update * last nits * oups this was really breaking! * nits * is composition needs to be true --------- Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com> 2 天前
7bb1c998 docs: update grammar in comment in tokenization_utils_base.py small grammar update in tokenization_utils_base.py comment 2 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐