Closed NightMachinery closed 8 months ago
It seems the issue is that the other models are not downloaded, and Dadmatools think they are because this single model has been downloaded. (Update: I no longer think this is the case. The problem is probably with the environment versions.)
Considering the internet sucks in Iran, you should use a better downloader manager for downloading these files than what you are now using. It just stops downloading in the middle. aria2
is a good choice (but it might not work on Windows). Recent versions of curl
are also better than what you are currently using.
Trying to run Dadmatools on Colab, it loads fa_tokenizer.pt
, but it still gets stuck on:
HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/nevise/resolve/main/config.json
The above exception was the direct cause of the following exception:
RepositoryNotFoundError Traceback (most recent call last)
RepositoryNotFoundError: 404 Client Error. (Request ID: KbvMewrMkS8N1oT3CYw5S)
Repository Not Found for url: https://huggingface.co/nevise/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If the repo is private, make sure you are authenticated.
During handling of the above exception, another exception occurred:
OSError Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/transformers/utils/hub.py](https://localhost:8080/#) in cached_file(path_or_repo_id, filename, cache_dir, force_download, resume_download, proxies, use_auth_token, revision, local_files_only, subfolder, user_agent, _raise_exceptions_for_missing_entries, _raise_exceptions_for_connection_errors, _commit_hash)
423 except RepositoryNotFoundError:
424 raise EnvironmentError(
--> 425 f"{path_or_repo_id} is not a local folder and is not a valid model identifier "
426 "listed on '[https://huggingface.co/models'\nIf](https://huggingface.co/models'/nIf) this is a private repository, make sure to "
427 "pass a token having permission to this repo with `use_auth_token` or log in with "
OSError: nevise is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or log in with `huggingface-cli login` and pass `use_auth_token=True`.
I have logged in to Huggingface using
from huggingface_hub import notebook_login
!git config --global credential.helper store
notebook_login()
but it doesn't help.
Now, the fa_tokenizer.pt load properly.
I have downloaded
fa_tokenizer.pt
manually from the URLhttps://www.dropbox.com/s/bajpn68bp11o78s/fa_ewt_tokenizer.pt?dl=1
. It's 636k in size. Its md5 is:It cannot be loaded, however:
I am using
dadmatools==1.5.2
, Python 3.10, macOS 12.2.1.