Better prompt error messages
I got error when AutoTokenizer.from_pretrained:

```
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './dist/models/vicuna-v1-7b'. Use `repo_type` argument if needed.
```

this was caused local path doesn't exist actually, but the error messsages makes me confused,

maybe add some prompt if path does not exist to aware users you should put right path rather than keep telling my using right repo id??
Hi @lucasjinreal , I'm transferring this issue to `transformers` as this is not really related to `huggingface_hub` itself (hfh is the underlying library making calls to the HF Hub but is not responsible if a path is provided as repo_id when downloading a file).

cc @sgugger I'm not an expert on how files are loaded in `transformers` but I think a "catch `HfValidationError`" statement in [this try/except](https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py#L423) (`from huggingface_hub.utils import HFValidationError`) would allow a better error message.<|||||>Mmm that's actually a bit tricky since this error can come from multiple causes.<|||||>Yeah, but I think they might can be detect in priority order, some obviously pattern can handled more properly<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) are likely to be ignored.