Open SourceHugging Face

Transformers Model Integration Contracts

#transformers#model testing#hugging face#ai#mic

English

Hugging Face introduced Model Integration Contracts (MICs) to improve the testing of Transformers models, allowing for a smaller fixture model that can catch bugs before they reach the main codebase. These contracts consist of a fixture, a usage path, and baselines to ensure consistent model performance across different checkpoints.

中文

Hugging Face 推出了模型集成合同 (MICs),以改善 Transformers 模型的测试,允许使用较小的模型夹具在错误到达主代码库之前捕捉它们。这些合同由夹具、使用路径和基准组成,以确保不同检查点之间模型性能的一致性。