runtime error

Exit code: 1. Reason: οΏ½β–ˆβ–ˆβ–‰| 892M/892M [00:03<00:00, 293MB/s] generation_config.json: 0%| | 0.00/147 [00:00<?, ?B/s] generation_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 147/147 [00:00<00:00, 800kB/s] spiece.model: 0%| | 0.00/792k [00:00<?, ?B/s] spiece.model: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 792k/792k [00:00<00:00, 12.0MB/s] tokenizer.json: 0%| | 0.00/1.39M [00:00<?, ?B/s] tokenizer.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.39M/1.39M [00:00<00:00, 18.5MB/s] Device set to use cpu Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 403, in cached_file resolved_file = hf_hub_download( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 106, in _inner_fn validate_repo_id(arg_value) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 160, in validate_repo_id raise HFValidationError( huggingface_hub.errors.HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: './fine_tuned_model'. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> from utils import pdf_to_text, generate_lesson_from_transcript, refine_with_fine_tuned_model, extract_text_from_pdf File "/home/user/app/utils.py", line 14, in <module> fine_tuned_model = T5ForConditionalGeneration.from_pretrained(fine_tuned_model_path) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3518, in from_pretrained resolved_config_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 469, in cached_file raise EnvironmentError( OSError: Incorrect path_or_model_id: './fine_tuned_model'. Please provide either the path to a local folder or the repo_id of a model on the Hub.

Container logs:

Fetching error logs...