Dadmatech / DadmaTools

DadmaTools is a Persian NLP tools developed by Dadmatech Co.
Apache License 2.0
184 stars 40 forks source link

parsbert error #33

Closed milawdse closed 10 months ago

milawdse commented 2 years ago

file /home/milad/anaconda3/lib/python3.9/site-packages/dadmatools/saved_models/parsbert/parsbert/config.json not found


OSError Traceback (most recent call last) ~/anaconda3/lib/python3.9/site-packages/transformers/configuration_utils.py in get_config_dict(cls, pretrained_model_name_or_path, **kwargs) 511 # Load from URL or cache if already cached --> 512 resolved_config_file = cached_path( 513 config_file,

~/anaconda3/lib/python3.9/site-packages/transformers/file_utils.py in cached_path(url_or_filename, cache_dir, force_download, proxies, resume_download, user_agent, extract_compressed_file, force_extract, use_auth_token, local_files_only) 1377 # File, but it doesn't exist. -> 1378 raise EnvironmentError(f"file {url_or_filename} not found") 1379 else:

OSError: file /home/milad/anaconda3/lib/python3.9/site-packages/dadmatools/saved_models/parsbert/pa

roetezadi commented 2 years ago

Hi, Please run your code with python3.8 or python3.7 (we are still working on python3.9). If you still get the same error please let us know. Make sure you also download the latest version (1.3.10).