Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Soaringrain opened this issue Mar 8, 2022 · 4 comments
Open

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

Soaringrain opened this issue Mar 8, 2022 · 4 comments

Comments

@Soaringrain
Copy link

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

@LFei725
Copy link

LFei725 commented Mar 18, 2022

同问!求解!

@Wbojiao
Copy link

Wbojiao commented Apr 6, 2022

同问

@jacksonjack001
Copy link

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)

@jacksonjack001
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants