"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "2fbbcf5007509c66b02924ce6dcff66f58e7f58c"
Replacement of 20 asserts with exceptions (#24757)
* initial replacements of asserts with errors/exceptions * replace assert with exception in generation, align and bart * reset formatting change * reset another formatting issue * Apply suggestion Co-authored-by:Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * don't touch this file * change to 'is not False' * fix type --------- Co-authored-by:
Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Showing
Please register or sign in to comment