Skip to content

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

@zkysfls

Description

@zkysfls

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions