~Don't~ Repeat Yourself
Post explains the design philosophy behind Hugging Face Transformers library: the 'single model file' policy, which deliberately avoids refactoring common code into shared modules to make the code easier for contributors and readers to understand and modify, especially given fast ML research evolution.
