Activity Feed

AI & ML interests

This organization is maintained by the transformers team at Hugging Face and contains checkpoints of segmentation models such as SamHQ.

Recent Activity

MolbapĀ 
posted an update 6 months ago
view post
Post
3474
šŸš€ New blog: Maintain the unmaintainable – 1M+ Python LOC, 400+ models

How do you stop a million-line library built by thousands of contributors from collapsing under its own weight?
At šŸ¤— Transformers, we do it with explicit software-engineering tenets, principles that make the codebase hackable at scale.

šŸ” Inside the post:
– One Model, One File: readability first — you can still open a modeling file and see the full logic, top to bottom.
– Modular Transformers: visible inheritance that cuts maintenance cost by ~15Ɨ while keeping models readable.
– Config-Driven Performance: FlashAttention, tensor parallelism, and attention scheduling are config-level features, not rewrites.

Written with @lysandre ,@pcuenq and @yonigozlan , this is a deep dive into how Transformers stays fast, open, and maintainable.

Read it here → transformers-community/Transformers-tenets