-
Notifications
You must be signed in to change notification settings - Fork 156
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
问一下这个是为什么呢? #28
Comments
你好,经测试 train_model_ner.py 是可以正常运行的。你是否修改了代码? 特别注意 torch==2.0.1 |
|
建议在 Linux 环境下运行代码,Windows 下运行可能会遇到各种问题。 新版 Windows 都自带 Linux 子系统,也可以在该系统下运行,如果不清楚的话可以搜索一下 WSL2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
运行train_model_ner.py
loss_fn = nn.CrossEntropyLoss()
loss函数报错。
The text was updated successfully, but these errors were encountered: