Spaces:
Sleeping
๐ฉ Report: Not working
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.
Traceback:
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/home/user/app/app.py", line 308, in
model = GPT2LMHeadModel.from_pretrained(model_name_or_path)
File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3506, 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(