Skip to content
New issue

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

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

Already on GitHub? # to your account

从BERT换成此模型后跑不通,应该怎么解决,显示缺少参数 #242

Open
ottt08 opened this issue Dec 29, 2023 · 1 comment
Labels

Comments

@ottt08
Copy link

ottt08 commented Dec 29, 2023

_from_pretrained() missing 1 required positional argument: 'init_configuration'
File "C:\Users\10553\Desktop\chinese_ner-main\torch_ner\source\ner_main.py", line 63, in train
tokenizer = BertTokenizer.from_pretrained("chinese-roberta-wwm-ext-large", do_lower_case=self.config.do_lower_case)
File "C:\Users\10553\Desktop\chinese_ner-main\torch_ner\source\ner_main.py", line 258, in
NerMain().train()

Copy link

stale bot commented Jan 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant