I was trying to push adapters but it constantly gives this error:
huggingface_hub.utils.validators.HFValidationError: Repo id must use alphanumeric chars or ‘-’, '', ‘.’, ‘–’ and ‘…’ are forbidden, ‘-’ and ‘.’ cannot start or end the name, max length is 96: ‘aXFQcyOEpksZmnbENRFdTmaKaSBhTYFjRfYIgsuTegBoJlhMjqzzsScRkstravxQFPkmstYSjKcEZZmMVFaYRBOHilKgotGBWwqTFBhzVJrVpNzOPLjyYMKXkYeqKkxj’.
I changed repo_name multiple times, yet this error persists.
model.push_adapter_to_hub(
repo_name= "hey",
adapter_name= f"{adapter_name}",
organization="UDApter",
adapterhub_tag="nli/multinli",
datasets_tag="multi_nli"
)
Used “hey” here to test as repo name with “_” and “-” were giving errors. Any help will be appreciated. Thanks!