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

Error in Electra model #1

Closed
dhruvladia opened this issue Apr 24, 2023 · 2 comments
Closed

Error in Electra model #1

dhruvladia opened this issue Apr 24, 2023 · 2 comments

Comments

@dhruvladia
Copy link

I am getting this error:

The model did not return a loss from the inputs, only the following keys: logits. For reference, the inputs it received are input_ids,token_type_ids,attention_mask.

How do i fix this?

@gohjiayi
Copy link
Owner

Are you training your own ELECTRA model or predicting with the pretrained model? Able to share the code snippet?

@gohjiayi
Copy link
Owner

Closing due to inactivity. Please refer to infer.ipynb if you wish to predict with the finetuned ELECTRA model.

@gohjiayi gohjiayi closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2023
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

2 participants