Closed luisgg98 closed 2 years ago
Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests. Could you ask your question on the forum for additional chances of getting an answer?
Thanks!
@LysandreJik Sorry I didn't know the existence of the forum, I will write a post on there as well. Thank you!
Reading through the forum of HuggingFace Community I could find the Solution here What's wrong with my code is that I completely forgot to set the value predict_with_generate toTrue
predict_with_generate=True
Now it is traning perfectly, thank you!
Environment info
transformers
version: 4.15.0Who can help
Models:
Library:
Trainer: @sgugger
-->
Information
Model I am using (Bert, XLNet ...): BERT 2 BERT FINETUNED FOR PARAPHRASING https://huggingface.co/mrm8488/bert2bert_shared-spanish-finetuned-paus-x-paraphrasing
Error
To reproduce
This function is found in other file.
Problem Description
Hello! Sorry but I've recently started to work with language models. I apologize in case I've forgotten to include something which may help you to help me with this issue. I was fine tunning the model https://huggingface.co/mrm8488/bert2bert_shared-spanish-finetuned-paus-x-paraphrasing while in the evaluating process I got the error shown in the screenshot. I don't actually understand why this is happening, because I have built the compute metrics function according to this tutorial https://neptune.ai/blog/hugging-face-pre-trained-models-find-the-best
Sorry if it is a naive mistake, I don't mean to bother but I don't know how I can solve it. Thank you so much!