AI Agents Directory
icon of Transformers

Transformers

Hugging Face Transformers provides APIs/tools to easily download and train state-of-the-art pretrained models for PyTorch, TensorFlow, and JAX.

Introduction

๐Ÿค— Transformers

State-of-the-art Machine Learning for PyTorch, TensorFlow, and JAX.

๐Ÿค— Transformers provides APIs and tools to easily download and train state-of-the-art pretrained models. Using pretrained models can reduce your compute costs, carbon footprint, and save you the time and resources required to train a model from scratch. These models support common tasks in different modalities, such as:

๐Ÿ“ Natural Language Processing: text classification, named entity recognition, question answering, language modeling, code generation, summarization, translation, multiple choice, and text generation.

๐Ÿ–ผ๏ธ Computer Vision: image classification, object detection, and segmentation.

๐Ÿ—ฃ๏ธ Audio: automatic speech recognition and audio classification.

๐Ÿ™ Multimodal: table question answering, optical character recognition, information extraction from scanned documents, video classification, and visual question answering.

๐Ÿค— Transformers support framework interoperability between PyTorch, TensorFlow, and JAX. This provides the flexibility to use a different framework at each stage of a modelโ€™s life; train a model in three lines of code in one framework, and load it for inference in another. Models can also be exported to a format like ONNX and TorchScript for deployment in production environments.

Join the growing community on the Hub, forum, or Discord today!

Information

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates