๐ค 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!