Hub documentation

Libraries

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

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 on 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 in the model-libraries.ts file.

LibraryDescriptionInference ProvidersWidgetsDownload from HubPush to Hub
AdaptersA unified Transformers add-on for parameter-efficient and modular fine-tuning.βœ…βœ…βœ…βœ…
AllenNLPAn open-source NLP research library, built on PyTorch.βœ…βœ…βœ…βŒ
AsteroidPyTorch-based audio source separation toolkitβœ…βœ…βœ…βŒ
BERTopicBERTopic is a topic modeling library for text and imagesβœ…βœ…βœ…βœ…
DiffusersA modular toolbox for inference and training of diffusion modelsβœ…βœ…βœ…βœ…
docTRModels and datasets for OCR-related tasks in PyTorch & TensorFlowβœ…βœ…βœ…βŒ
ESPnetEnd-to-end speech processing toolkit (e.g. TTS)βœ…βœ…βœ…βŒ
fastaiLibrary to train fast and accurate models with state-of-the-art outputs.βœ…βœ…βœ…βœ…
KerasOpen-source multi-backend deep learning framework, with support for JAX, TensorFlow, and PyTorch.βŒβŒβœ…βœ…
KerasNLPNatural language processing library built on top of Keras that works natively with TensorFlow, JAX, or PyTorch.βŒβŒβœ…βœ…
TF-Keras (legacy)Legacy library that uses a consistent and simple API to build models leveraging TensorFlow and its ecosystem.βŒβŒβœ…βœ…
FlairVery simple framework for state-of-the-art NLP.βœ…βœ…βœ…βœ…
MBRL-LibPyTorch implementations of MBRL Algorithms.βŒβŒβœ…βœ…
MidiTokTokenizers for symbolic music / MIDI files.βŒβŒβœ…βœ…
ML-AgentsEnables games and simulations made with Unity to serve as environments for training intelligent agents.βŒβŒβœ…βœ…
MLXModel training and serving framework on Apple silicon made by Apple.βŒβŒβœ…βœ…
NeMoConversational AI toolkit built for researchersβœ…βœ…βœ…βŒ
OpenCLIPLibrary for open-source implementation of OpenAI’s CLIPβŒβŒβœ…βœ…
PaddleNLPEasy-to-use and powerful NLP library built on PaddlePaddleβœ…βœ…βœ…βœ…
PEFTCutting-edge Parameter Efficient Fine-tuning Libraryβœ…βœ…βœ…βœ…
PyannoteNeural building blocks for speaker diarization.βŒβŒβœ…βŒ
PyCTCDecodeLanguage model supported CTC decoding for speech recognitionβŒβŒβœ…βŒ
PythaeUnified framework for Generative Autoencoders in PythonβŒβŒβœ…βœ…
RL-Baselines3-ZooTraining framework for Reinforcement Learning, using Stable Baselines3.βŒβœ…βœ…βœ…
Sample FactoryCodebase for high throughput asynchronous reinforcement learning.βŒβœ…βœ…βœ…
Sentence TransformersCompute dense vector representations for sentences, paragraphs, and images.βœ…βœ…βœ…βœ…
SetFitEfficient few-shot text classification with Sentence Transformersβœ…βœ…βœ…βœ…
spaCyAdvanced Natural Language Processing in Python and Cython.βœ…βœ…βœ…βœ…
SpanMarkerFamiliar, simple and state-of-the-art Named Entity Recognition.βœ…βœ…βœ…βœ…
Scikit Learn (using skops)Machine Learning in Python.βœ…βœ…βœ…βœ…
SpeechbrainA PyTorch Powered Speech Toolkit.βœ…βœ…βœ…βŒ
Stable-Baselines3Set of reliable implementations of deep reinforcement learning algorithms in PyTorchβŒβœ…βœ…βœ…
TensorFlowTTSReal-time state-of-the-art speech synthesis architectures.βŒβŒβœ…βŒ
TimmCollection of image models, scripts, pretrained weights, etc.βœ…βœ…βœ…βœ…
TransformersState-of-the-art Natural Language Processing for PyTorch, TensorFlow, and JAXβœ…βœ…βœ…βœ…
Transformers.jsState-of-the-art Machine Learning for the web. Run πŸ€— Transformers directly in your browser, with no need for a server!βŒβŒβœ…βŒ
Unity SentisInference engine for the Unity 3D game engine❌❌❌❌

How can I add support for a new library?

If you’re interested in adding your library, please reach out to us! Read about it in Adding a Library Guide.

Update on GitHub