425776024 / nlpcda

一键中文数据增强包 ; NLP数据增强、bert数据增强、EDA:pip install nlpcda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'Simbert' from 'nlpcda'

Soaringrain opened this issue · comments

ImportError: cannot import name 'Simbert' from 'nlpcda' (D:\Anaconda3\envs\wenbenzenqiang\lib\site-packages\nlpcda_init_.py)
大佬,用simbert报错,,,import失败,这咋处理

同问!求解!

同问

from nlpcda.tools.Simbert import Simbert
config = {
'model_path': '/ossfs/node_17201960/workspace/chinese_simbert_L-6_H-384_A-12',
'CUDA_VISIBLE_DEVICES': '0,1',
'max_len': 128,
'seed': 1
}
smw = Simbert(config=config)

好像是在tools文件夹下面,跟其他的例子不一样