transformers==5.14.1
# Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
$ pip install transformers
downloads/wk
0
license
Apache 2.0 License
version
5.14.1
python
>=3.10.0
What is transformers?
The transformers package provides a unified framework for working with pre-trained machine learning models across text, vision, audio, and multimodal tasks. Developers use it to quickly integrate state-of-the-art models like LLMs and vision transformers into applications, or fine-tune them for custom use cases without building models from scratch. It supports both PyTorch-based inference and training workflows, with access to a model hub containing thousands of pre-trained weights.
Links
Keywords
Dependencies (79)
huggingface-hub
numpy
packaging
pyyaml
regex
tokenizers
typer
safetensors
tqdm
torch
accelerate
torchvision
Pillow
torchaudio
librosa
pyctcdecode
phonemizer
av
timm
datasets
ruff
GitPython
urllib3
libcst
rich
ty
tomli
transformers-mlinter
hf-doc-builder
kernels
sentencepiece
protobuf
tiktoken
blobfile
mistral-common
jinja2
scikit-learn
faiss-cpu
sagemaker
deepspeed
optuna
codecarbon
ray
openai
pydantic
uvicorn
fastapi
starlette
num2words
optimum-benchmark
fugashi
ipadic
unidic_lite
unidic
rhoknp
sudachipy
sudachidict_core
pytest
pytest-asyncio
pytest-random-order
pytest-rich
pytest-xdist
pytest-order
pytest-rerunfailures
pytest-timeout
pytest-env
timeout-decorator
parameterized
psutil
dill
evaluate
rouge-score
nltk
sacremoses
rjieba
beautifulsoup4
tensorboard
sacrebleu
filelock
Author
The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors)