4-Sharing_models_and_tokenizers-0-The_Hugging_Face_Hub
中英文对照学习,效果更佳!
原课程链接:https://huggingface.co/course/chapter4/1?fw=pt
The Hugging Face Hub
Hugging Face中心
问一个问题
The Hugging Face Hub –- our main website –- is a central platform that enables anyone to discover, use, and contribute new state-of-the-art models and datasets. It hosts a wide variety of models, with more than 10,000 publicly available. We’ll focus on the models in this chapter, and take a look at the datasets in Chapter 5.
Hugging Face中心“–我们的主网站–是一个中心平台,使任何人都能发现、使用和贡献新的最先进的模型和数据集。它拥有各种各样的型号,有1万多款公开发售。我们将重点介绍本章中的模型,并查看第5章中的数据集。™将重点介绍本章中的模型,并查看第5章中的数据集。
The models in the Hub are not limited to 🤗 Transformers or even NLP. There are models from Flair and AllenNLP for NLP, Asteroid and pyannote for speech, and timm for vision, to name a few.
Hub中的模型并不局限于🤗Transformer,甚至是NLP。有FLAIR和AllenNLP的NLP模型,语音的Asterone和Pyannote模型,以及视觉的TIMM模型,仅举几例。
Each of these models is hosted as a Git repository, which allows versioning and reproducibility. Sharing a model on the Hub means opening it up to the community and making it accessible to anyone looking to easily use it, in turn eliminating their need to train a model on their own and simplifying sharing and usage.
这些模型中的每一个都作为Git存储库托管,从而允许版本控制和可重现性。在Hub上共享模型意味着向社区开放它,并使任何希望轻松使用它的人都可以访问它,从而消除了他们自己培训模型的需要,并简化了共享和使用。
Additionally, sharing a model on the Hub automatically deploys a hosted Inference API for that model. Anyone in the community is free to test it out directly on the model’s page, with custom inputs and appropriate widgets.
此外,在集线器上共享模型会自动为该模型部署托管推理API。社区中的任何人都可以使用定制的输入和适当的小部件,直接在™的页面上进行测试。
The best part is that sharing and using any public model on the Hub is completely free! Paid plans also exist if you wish to share models privately.
最好的部分是,在Hub上共享和使用任何公共模型都是完全免费的!如果你想私下分享模特,也有付费计划。
The video below shows how to navigate the Hub.
下面的视频显示了如何浏览Hub。
Having a huggingface.co account is required to follow along this part, as we’ll be creating and managing repositories on the Hugging Face Hub: create an account
我们需要有一个huggingface.co帐户来遵循这一部分,因为我们将在™上创建和管理存储库中心:创建一个帐户
