transformers
Replace assertions with ValueError exceptions
#14091
Merged

Replace assertions with ValueError exceptions #14091

bit2244
bit2244 Changed asserts to ValueError
89967178
bit2244 bit2244 force pushed to 89967178 4 years ago
bit2244
sgugger
sgugger approved these changes on 2021-10-21
sgugger sgugger merged ca2ef7df into master 4 years ago
bit2244 bit2244 deleted the assertToException branch 4 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone