transformers: Finetuning XLM-Roberta-2XLM-Roberta on custom dataset gives the following error:

Evaluation: 100% 30/30 [00:45<00:00, 1.53s/it] [libprotobuf FATAL /sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:1505] CHECK failed: (index) >= (0): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) >= (0):

I am using the following script: https://huggingface.co/patrickvonplaten/bert2bert-cnn_dailymail-fp16 Appreciate any help. Thank you.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

There is a more pressing issue of getting incremental decoding/use cache working for Roberta that I would probably prioritize higher.