Libraries
The Hub has support for dozens of libraries in the Open Source ecosystem. Thanks to the huggingface_hub
Python library, itβs easy to enable sharing your models in the Hub. The Hub supports many libraries, and weβre working on expanding this support! Weβre happy to welcome to the Hub a set of Open Source libraries that are pushing Machine Learning forward.
The table below summarizes the supported libraries and their level of integration. Find all our supported libraries here!
Library | Description | Inference API | Widgets | Download from Hub | Push to Hub |
---|---|---|---|---|---|
π€ Transformers | State-of-the-art Natural Language Processing for Pytorch, TensorFlow, and JAX | β | β | β | β |
π€ Diffusers | A modular toolbox for inference and training of diffusion models | β | β | β | β |
Adapter Transformers | Extends π€Transformers with Adapters. | β | β | β | β |
AllenNLP | An open-source NLP research library, built on PyTorch. | β | β | β | β |
Asteroid | Pytorch-based audio source separation toolkit | β | β | β | β |
BERTopic | BERTopic is a topic modeling library for text and images | β | β | β | β |
docTR | Models and datasets for OCR-related tasks in PyTorch & TensorFlow | β | β | β | β |
ESPnet | End-to-end speech processing toolkit (e.g. TTS) | β | β | β | β |
fastai | Library to train fast and accurate models with state-of-the-art outputs. | β | β | β | β |
Keras | Library that uses a consistent and simple API to build models leveraging TensorFlow and its ecosystem. | β | β | β | β |
Flair | Very simple framework for state-of-the-art NLP. | β | β | β | β |
MBRL-Lib | PyTorch implementations of MBRL Algorithms. | β | β | β | β |
ML-Agents | Enables games and simulations made with Unity to serve as environments for training intelligent agents. | β | β | β | β |
NeMo | Conversational AI toolkit built for researchers | β | β | β | β |
PaddleNLP | Easy-to-use and powerful NLP library built on PaddlePaddle | β | β | β | β |
Pyannote | Neural building blocks for speaker diarization. | β | β | β | β |
PyCTCDecode | Language model supported CTC decoding for speech recognition | β | β | β | β |
Pythae | Unifyed framework for Generative Autoencoders in Python | β | β | β | β |
RL-Baselines3-Zoo | Training framework for Reinforcement Learning, using Stable Baselines3. | β | β | β | β |
Sample Factory | Codebase for high throughput asynchronous reinforcement learning. | β | β | β | β |
Sentence Transformers | Compute dense vector representations for sentences, paragraphs, and images. | β | β | β | β |
spaCy | Advanced Natural Language Processing in Python and Cython. | β | β | β | β |
SpanMarker | Familiar, simple and state-of-the-art Named Entity Recognition. | β | β | β | β |
Scikit Learn (using skops) | Machine Learning in Python. | β | β | β | β |
Speechbrain | A PyTorch Powered Speech Toolkit. | β | β | β | β |
Stable-Baselines3 | Set of reliable implementations of deep reinforcement learning algorithms in PyTorch | β | β | β | β |
TensorFlowTTS | Real-time state-of-the-art speech synthesis architectures. | β | β | β | β |
Timm | Collection of image models, scripts, pretrained weights, etc. | β | β | β | β |
Transformers.js | State-of-the-art Machine Learning for the web. Run π€ Transformers directly in your browser, with no need for a server! | β | β | β | β |
How can I add a new library to the Inference API?
If youβre interested in adding your library, please reach out to us! Read about it in Adding a Library Guide.