ValueError: ValueError: Can't find 'adapter_config.json' at *my_model*

After i use train.model on my model with my dataset, when i use the file ‘’ from peft repository in GitHub, when try to use this code:
config_file = hf_hub_download(
pretrained_model_name_or_path, CONFIG_NAME, subfolder=subfolder, **kwargs
except Exception:
raise ValueError(f"Can’t find ‘{CONFIG_NAME}’ at ‘{pretrained_model_name_or_path}’")

ther is the ValueError, but i see adapt_config.json in my Hugging Face model!!!
Pls help, i have no idea.

1 Like

Having the same issue.