Fix assert in src/transformers/data/datasets/language_modeling.py (#14077)
* replace assertion with ValueError
* fix code style
Co-authored-by:
skpig <1900012999@pku.edu.cn>
Showing
Please register or sign in to comment
* replace assertion with ValueError
* fix code style
Co-authored-by:
skpig <1900012999@pku.edu.cn>