runtime error
Exit code: 1. Reason: tokenizer_config.json: 0%| | 0.00/20.8k [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 20.8k/20.8k [00:00<00:00, 73.6MB/s] tokenizer.json: 0%| | 0.00/2.13M [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 2.13M/2.13M [00:00<00:00, 27.0MB/s] special_tokens_map.json: 0%| | 0.00/694 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 694/694 [00:00<00:00, 4.74MB/s] config.json: 0%| | 0.00/1.19k [00:00<?, ?B/s][A config.json: 100%|██████████| 1.19k/1.19k [00:00<00:00, 8.40MB/s] Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1038, in from_pretrained config_class = CONFIG_MAPPING[config_dict["model_type"]] File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 740, in __getitem__ raise KeyError(key) KeyError: 'modernbert' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 9, in <module> model = AutoModelForMaskedLM.from_pretrained(model_id) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1040, in from_pretrained raise ValueError( ValueError: The checkpoint you are trying to load has model type `modernbert` but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
Container logs:
Fetching error logs...