runtime error
5.49k/5.49k [00:00<00:00, 17.3MB/s] tokenizer.json: 0%| | 0.00/2.12M [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 2.12M/2.12M [00:00<00:00, 51.5MB/s] special_tokens_map.json: 0%| | 0.00/65.0 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 65.0/65.0 [00:00<00:00, 455kB/s] config.json: 0%| | 0.00/1.32k [00:00<?, ?B/s][A config.json: 100%|██████████| 1.32k/1.32k [00:00<00:00, 10.2MB/s] The repository for allenai/OLMo-1B contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/allenai/OLMo-1B. You can avoid this prompt in future by passing the argument `trust_remote_code=True`. Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 598, in resolve_trust_remote_code answer = input( EOFError: EOF when reading a line 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 = AutoModelForCausalLM.from_pretrained(model_name) File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 526, in from_pretrained config, kwargs = AutoConfig.from_pretrained( File "/home/user/.local/lib/python3.10/site-packages/transformers/models/auto/configuration_auto.py", line 1103, in from_pretrained trust_remote_code = resolve_trust_remote_code( File "/home/user/.local/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 611, in resolve_trust_remote_code raise ValueError( ValueError: The repository for allenai/OLMo-1B contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co/allenai/OLMo-1B. Please pass the argument `trust_remote_code=True` to allow custom code to be run. Do you wish to run the custom code? [y/N]
Container logs:
Fetching error logs...