Open Aaryanverma opened 1 year ago
Thanks for picking this up. I found the issue was due to a bug with the trained model not saving the adapter.json file and thus cannot load it. I have issued the correction in the code with an active PR. It should be addressed in the next version release very soon.
Just released v1.0.5 for addressing this issue.
Trained flan model using lora technique but while loading it from local, gives the following errors:
HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './results/model_flan_lora'. Use repo_type argument if needed.
and
Can't find 'adapter_config.json' at './results/model_flan_lora