huggingface / transformers
🤗 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.
GitHub Repo 
720K
lines of main code
2.3K files
230K
lines of test code
1.1K files
73K
lines of other code
346 files
7y
age
2,436 days
97%
main code touched
1 year (703K LOC)
22%
new main code
1 year (164K LOC)
715K
py
2.6K
cuh
2.1K
cu
0.5K
h
0.3K
cpp
0.09K
yaml
0.07K
pyx
0.05K
toml
0.03K
jsonnet
0.03K
sql

1778

2776

3099

3029

2383

3265

2572

337

524

784

764

638

439

552

236

28

2025 2024 2023 2022 2021 2020 2019 2018

generated by sokrates.dev (configuration) on 2025-06-30