You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last): File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app response = self.full_dispatch_request() File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request rv = self.dispatch_request() File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/opt/program/predictor.py", line 130, in ping health = ScoringService.get_pipeline() is not None # You can insert a health check here File "/opt/program/predictor.py", line 76, in get_pipeline tokenizer = AutoTokenizer.from_pretrained(model_path) File "/opt/conda/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 608, in from_pretrained return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs) File "/opt/conda/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1775, in from_pretrained return cls._from_pretrained( File "/opt/conda/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1967, in _from_pretrained added_tok_encoder_sorted = list(sorted(added_tok_encoder.items(), key=lambda x: x[1]))
TypeError: '<' not supported between instances of 'list' and 'str'
The text was updated successfully, but these errors were encountered:
Hi there!
Any idea how to solve this issue?
Traceback (most recent call last): File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app response = self.full_dispatch_request() File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request rv = self.dispatch_request() File "/opt/conda/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/opt/program/predictor.py", line 130, in ping health = ScoringService.get_pipeline() is not None # You can insert a health check here File "/opt/program/predictor.py", line 76, in get_pipeline tokenizer = AutoTokenizer.from_pretrained(model_path) File "/opt/conda/lib/python3.8/site-packages/transformers/models/auto/tokenization_auto.py", line 608, in from_pretrained return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs) File "/opt/conda/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1775, in from_pretrained return cls._from_pretrained( File "/opt/conda/lib/python3.8/site-packages/transformers/tokenization_utils_base.py", line 1967, in _from_pretrained added_tok_encoder_sorted = list(sorted(added_tok_encoder.items(), key=lambda x: x[1]))
The text was updated successfully, but these errors were encountered: