runtime error
ading: 100%|██████████| 112/112 [00:00<00:00, 748kB/s] Downloading: 0%| | 0.00/2.00 [00:00<?, ?B/s][A Downloading: 100%|██████████| 2.00/2.00 [00:00<00:00, 13.6kB/s] Downloading: 0%| | 0.00/1.08k [00:00<?, ?B/s][A Downloading: 100%|██████████| 1.08k/1.08k [00:00<00:00, 4.42MB/s] Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 650, in _get_config_dict config_dict = cls._dict_from_json_file(resolved_config_file) File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 733, in _dict_from_json_file text = reader.read() File "/usr/local/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 128: invalid start byte During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> model = BertForSequenceClassification.from_pretrained(model_directory) File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 1922, in from_pretrained config, model_kwargs = cls.config_class.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 526, in from_pretrained config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 553, in get_config_dict config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/configuration_utils.py", line 652, in _get_config_dict raise EnvironmentError( OSError: It looks like the config file at 'pretrained_arief.model' is not a valid JSON file.
Container logs:
Fetching error logs...