官网推荐版本,进行模型训练时报错,UIE模块已经迁移,需要升级Package:
python == 3.9.12
paddlepaddle == 2.3.2 ------>升级2.5.0-rc1
paddlenlp == 2.4.5 ------>升级2.6.0
wordcloud == 1.8.2.2
paddlepaddle=2.5.1 CPU版本有bug!!!!无结果输出
[2023-09-01 17:30:06,616] [ INFO] - Downloading tokenizer_config.json from https://bj.bcebos.com/paddlenlp/models/community//uie-senta-base/tokenizer_config.json
[2023-09-01 17:30:06,789] [ ERROR] - Downloading from https://bj.bcebos.com/paddlenlp/models/community//uie-senta-base/tokenizer_config.json failed with code 404!
Traceback (most recent call last):
File "D:\Anaconda\Anaconda3\envs\python39\lib\site-packages\paddlenlp\transformers\auto\tokenizer.py", line 303, in from_pretrained
resolved_vocab_file = get_path_from_url(community_config_path, default_root)
File "D:\Anaconda\Anaconda3\envs\python39\lib\site-packages\paddlenlp\utils\downloader.py", line 155, in get_path_from_url
fullpath = _download(url, root_dir, md5sum)
File "D:\Anaconda\Anaconda3\envs\python39\lib\site-packages\paddlenlp\utils\downloader.py", line 217, in _download
raise RuntimeError("Downloading from {} failed with code " "{}!".format(url, req.status_code))
RuntimeError: Downloading from https://bj.bcebos.com/paddlenlp/models/community//uie-senta-base/tokenizer_config.json failed with code 404!