Traceback (most recent call last):
File "transformers/examples/run_language_modeling.py", line 29, in
from transformers import (
ImportError: cannot import name 'DataCollatorForLanguageModeling'
Model I am using (Bert, XLNet ...): roberta, Trying to build the model from scratch using the tutorial.
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
The tasks I am working on is:
Steps to reproduce the behavior:
Follow the tutorial here
transformers version: transformers-2.8.0 sacremoses-0.0.41 sentencepiece-0.1.85 tokenizers-0.5.2Duplicate of #3893
Please install from source until we release a new version of the library on PyPI
Most helpful comment
Duplicate of #3893
Please install from source until we release a new version of the library on PyPI