huggingface / huggingface/blog

ImportError: cannot import name 'LineByLineTextDataset' from 'transformers'

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
3.5k
Forks
1k
Avg merge
1d 20h
Merged PRs (30d)
19

Description

Hi,

When I try to run this notebook on my laptop, I got several errors like this: ImportError: cannot import name 'LineByLineTextDataset' from 'transformers', but same code running fine on the collab. Is that because the "LineByLineTextDataset" is deprecated?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.