You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While unlearning the model on forget10. I encountered this issue:
Traceback (most recent call last): [43/542]
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/peft/config.py", line 257, in _get_peft_type
config_file = hf_hub_download(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 860, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 923, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, head_call_error) = _get_metadata_or_catch_error(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1374, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1294, in get_hf_file_metadata
r = _request_wrapper(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 278, in _request_wrapper
response = _request_wrapper(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 302, in _request_wrapper
hf_raise_for_status(response)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 417, in hf_raise_for_status
raise _format(EntryNotFoundError, message, response) from e
huggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-67986d86-7f7ffc4f0d5ff1340266c1d7;ae3b8ed9-7039-4e87-9eb0-da4ce2b3ba59)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data3/satya/tofu/forget.py", line 140, in main
model = PeftModel.from_pretrained(model, model_id = cfg.model_path)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/peft/peft_model.py", line 479, in from_pretrained
PeftConfig._get_peft_type(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/peft/config.py", line 263, in _get_peft_type
raise ValueError(f"Can't find '{CONFIG_NAME}' at '{model_id}'")
ValueError: Can't find 'adapter_config.json' at 'locuslab/tofu_ft_phi-1.5'
The text was updated successfully, but these errors were encountered:
While unlearning the model on forget10. I encountered this issue:
Traceback (most recent call last): [43/542]
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/peft/config.py", line 257, in _get_peft_type
config_file = hf_hub_download(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 860, in hf_hub_download
return _hf_hub_download_to_cache_dir(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 923, in _hf_hub_download_to_cache_dir
(url_to_download, etag, commit_hash, expected_size, head_call_error) = _get_metadata_or_catch_error(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1374, in _get_metadata_or_catch_error
metadata = get_hf_file_metadata(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1294, in get_hf_file_metadata
r = _request_wrapper(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 278, in _request_wrapper
response = _request_wrapper(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 302, in _request_wrapper
hf_raise_for_status(response)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 417, in hf_raise_for_status
raise _format(EntryNotFoundError, message, response) from e
huggingface_hub.errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-67986d86-7f7ffc4f0d5ff1340266c1d7;ae3b8ed9-7039-4e87-9eb0-da4ce2b3ba59)
Entry Not Found for url: https://huggingface.co/locuslab/tofu_ft_phi-1.5/resolve/main/adapter_config.json.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data3/satya/tofu/forget.py", line 140, in main
model = PeftModel.from_pretrained(model, model_id = cfg.model_path)
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/peft/peft_model.py", line 479, in from_pretrained
PeftConfig._get_peft_type(
File "/home/satya/miniconda3/envs/tofu1/lib/python3.10/site-packages/peft/config.py", line 263, in _get_peft_type
raise ValueError(f"Can't find '{CONFIG_NAME}' at '{model_id}'")
ValueError: Can't find 'adapter_config.json' at 'locuslab/tofu_ft_phi-1.5'
The text was updated successfully, but these errors were encountered: