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

forward() got an unexpected keyword argument 'labels' #38

Open
zkysfls opened this issue Dec 17, 2020 · 0 comments
Open

forward() got an unexpected keyword argument 'labels' #38

zkysfls opened this issue Dec 17, 2020 · 0 comments

Comments

@zkysfls
Copy link

zkysfls commented Dec 17, 2020

Hi! I am trying to use your model from huggingface for text classification following their examples and I find that I encounter this error
forward() got an unexpected keyword argument 'labels'

How do I suppose to train this model?
Here is what I was trying to do
屏幕截图 2020-12-16 213307

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

1 participant