Answers for "assert len(lex) < self.bucket_specs[-1][1]"

1

assert len(lex) < self.bucket_specs[-1][1]

Your max_prediction_length is 8, 
so if you have labels over 8 characters, 
you'll get this error. 
You should adjust it with the --max-prediction CLI parameter.
Posted by: Guest on July-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language