character-bert
character-bert copied to clipboard
Error when Downloading Pretrained models
Hi,
This library is such a great idea!
I am trying to download the general_character_bert and medical_character_bert pretrained models. When I run the download.py I got some errors. When I downloaded the files manually, I discovered that both files are the same... so maybe there is an error in the links? And also you may need to change the permission to 'Anyone with the link'.
Thanks!
I get these errors:
26/04/2024 12:06:50 - INFO - download.py - Downloading general_character_bert model (~200MB tar.xz archive) Access denied with the following error:
Cannot retrieve the public link of the file. You may need to change
the permission to 'Anyone with the link', or have had many accesses.
You may still be able to access the file from the browser:
https://drive.google.com/uc?id=11-kSfIwSWrPno6A4VuNFWuQVYD8Bg_aZ
26/04/2024 12:06:51 - INFO - download.py - Extracting model from archive (~420MB folder)
Traceback (most recent call last):
File "/Users/mauriciotoro/miniconda/envs/character-bert/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/mauriciotoro/miniconda/envs/character-bert/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/mauriciotoro/Desktop/git/ml-categorization/playground/character_bert/download.py", line 80, in