Hanlp 中load模型数据的问题

我在github 上,submit issue "load数据中的error #1419 ",不知道大家是否有遇到,一起看看。
主要是load()时遇到的问题。
有:
meta.json 文件找不到
Count of weights not found in the checkpoint was: [0]. Count of weights with mismatched shape: [0]
Unused weights from checkpoint:
ModuleNotFoundError: No module named ‘hanlp.components.classifiers.bert_text_classifier’
Count of weights with mismatched shape: [0]
Unused weights from saved model
等问题

已回复。

谢谢,今天试了一下,大部分问题已解决,还有一些问题:
我是先用pip3 install --upgrade hanlp 更新再load 的。
****第一
tokenizer = hanlp.load(‘PTB_POS_RNN_FASTTEXT_EN’)
tokenizer = hanlp.load(‘CTB5_FASTTEXT_300_CN’)
tokenizer = hanlp.load(‘CTB5_BIAFlFINE_DEP_ZH’)
下载后,下次load还要再下载(目录中相应在文件已存在。但还会提示新下载)。

另外发现:
tokenizer = hanlp.load(‘CTB5_BIAFFINE_DEP_ZH’)
https://file.hankcs.com/hanlp/embeddings/ctb.fasttext.300.txt.zip
tokenizer = hanlp.load(‘CTB5_FASTTEXT_300_CN’)
https://file.hankcs.com/hanlp/embeddings/ctb.fasttext.300.txt.zip
这两者的url是一样,不知道是否正确?

****第二
tokenizer = hanlp.load(‘SEMEVAL16_EMBEDDINGS_300_NEWS_CN’)
tokenizer = hanlp.load(‘SEMEVAL16_EMBEDDINGS_300_TEXT_CN’)
tokenizer = hanlp.load(‘GLOVE_6B_ROOT’)
tokenizer = hanlp.load(‘GLOVE_6B_50D’)
tokenizer = hanlp.load(‘GLOVE_6B_100D’)
tokenizer = hanlp.load(‘GLOVE_6B_200D’)
tokenizer = hanlp.load(‘GLOVE_6B_300D’)
tokenizer = hanlp.load(‘GLOVE_840B_300D’)
tokenizer = hanlp.load(‘FLAIR_LM_FW_WMT11_EN’)
tokenizer = hanlp.load(‘FLAIR_LM_BW_WMT11_EN’)
tokenizer = hanlp.load(‘CONVSEG_W2V_NEWS_TENSITE’)
tokenizer = hanlp.load(‘CONVSEG_W2V_NEWS_TENSITE_WORD_PKU’)
tokenizer = hanlp.load(‘CONVSEG_W2V_NEWS_TENSITE_WORD_MSR’)
tokenizer = hanlp.load(‘CONVSEG_W2V_NEWS_TENSITE_CHAR’)
tokenizer = hanlp.load(‘SEMEVAL16_EMBEDDINGS_CN’)
tokenizer = hanlp.load(‘TENCENT_AI_LAB_EMBEDDING’)
tokenizer = hanlp.load(‘RADICAL_CHAR_EMBEDDING_100’)

这些load还是会报:找不到:meta.json
具体例如:
Traceback (most recent call last):
File “”, line 1, in
File “C:\Python36\lib\site-packages\hanlp_ init _.py”, line 51, in load
return load_from_meta_file(save_dir, meta_filename, transform_only=transform_only, load_kwargs=load_kwargs, kwargs)
File “C:\Python36\lib\site-packages\hanlp\utils\component_util.py”, line 34, in load_from_meta_file
raise FileNotFoundError(f’The identifier {save_dir} resolves to a non-exist meta file {metapath}. {tips}’)
FileNotFoundError: The identifier C:\Users*
\AppData\Roaming\hanlp\thirdparty\downloads.cs.stanford.edu\nlp\data\glove.6B resolves to a non-exist meta file C:\Users* **\AppData\Roaming\hanlp\thirdparty\downloads.cs.stanford.edu\nlp\data\glove.6B\meta.json.
。。。。。

Dear all,
感觉meta.json 的可以从:
https://od.hankcs.com/hanlp/datav2/ 中的相应目录中下载。