mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-25 12:39:25 +01:00
8d0d6252ca0c3c36606dee148bb3f5a3d76594b1
1. 修复default data collator的输入类型为tuple时运行会失败的问题
2. 修复default data collator的输入类型为dict时不兼容BatchEncoding的问题
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9403517
* fix bug: 1. run failed when datatype is tuple 2. change type checking from dict to Mapping to fit transformers.datasets.BatchEncoding
Introduction
ModelScope library is targeted to support training, evaluation and inference for the state of the art models provided by Mind and further support third-party models provided by users outside alibaba.
Design doc
Please refer to alidoc link
Development doc
Please refer to develop.md
ChangeLog
- 20/05/2022 First release version
Refer to change_log.md for more details
Description
Languages
Python
98.7%
Cuda
0.8%
C++
0.4%