Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
GitHub Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
Explore
All features
Documentation
GitHub Skills
Blog
Solutions
By size
Enterprise
Teams
Startups
By industry
Healthcare
Financial services
Manufacturing
By use case
CI/CD & Automation
DevOps
DevSecOps
Resources
Topics
AI
DevOps
Security
Software Development
Explore
Learning Pathways
White papers, Ebooks, Webinars
Customer Stories
Partners
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
Advanced Security
Enterprise-grade security features
GitHub Copilot
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
huggingface
/
transformers
Public
Notifications
You must be signed in to change notification settings
Fork
25.8k
Star
130k
Code
Issues
952
Pull requests
267
Actions
Projects
26
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
main
Breadcrumbs
transformers
/
tests
/
Directory actions
More options
Directory actions
More options
Latest commit
History
History
main
Breadcrumbs
transformers
/
tests
/
Top
Folders and files
Name
Name
Last commit message
Last commit date
parent directory
..
agents
agents
benchmark
benchmark
bettertransformer
bettertransformer
deepspeed
deepspeed
extended
extended
fixtures
fixtures
fsdp
fsdp
generation
generation
models
models
optimization
optimization
peft_integration
peft_integration
pipelines
pipelines
quantization
quantization
repo_utils
repo_utils
sagemaker
sagemaker
tokenization
tokenization
trainer
trainer
utils
utils
__init__.py
__init__.py
test_backbone_common.py
test_backbone_common.py
test_configuration_common.py
test_configuration_common.py
test_feature_extraction_common.py
test_feature_extraction_common.py
test_image_processing_common.py
test_image_processing_common.py
test_image_transforms.py
test_image_transforms.py
test_modeling_common.py
test_modeling_common.py
test_modeling_flax_common.py
test_modeling_flax_common.py
test_modeling_tf_common.py
test_modeling_tf_common.py
test_pipeline_mixin.py
test_pipeline_mixin.py
test_processing_common.py
test_processing_common.py
test_sequence_feature_extraction_common.py
test_sequence_feature_extraction_common.py
test_tokenization_common.py
test_tokenization_common.py
View all files
You can’t perform that action at this time.