question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sshleifercommented, Sep 21, 2020

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

0reactions
stale[bot]commented, Nov 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[NER] Fine-tune with custom dataset - Index Error: Target out ...
Error : I'm facing the following issue with my custom dataset loaded from JSON files. Traceback (most recent call last): File "/Users/.
Read more >
I am making custom dataset but finetuning issue happened
I think this error has happened with this part of code net=torchvision.models.resnet18(pretrained=True) num_class=10+int(args.ratio*10) ...
Read more >
BERT Fine-Tuning Tutorial with PyTorch - Chris McCormick
This post will explain how you can modify and fine-tune BERT to create a powerful NLP model that quickly gives you state of...
Read more >
Fine Tuning YOLOv7 on Custom Dataset - LearnOpenCV
This brings all the images to a normalized resolution of almost the same factor. The following are a few of the annotated images...
Read more >
How to train Detectron2 with Custom COCO Datasets - DLology
Register the fruits_nuts dataset to detectron2, following the detectron2 custom ... Now, let's fine-tune a coco-pretrained R50-FPN Mask R-CNN model on the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found