Skip to content

Conversation

dpkpathak
Copy link

The Transformers tokenizer expects a string or a Python list/sequence of strings. Arrow Column objects (from datasets) are not directly supported and raise ValueError Wrapping the column with list(...) materializes a list of plain Python strings so the tokenizer accepts them.

The Transformers tokenizer expects a string or a Python list/sequence of strings. Arrow Column objects (from datasets) are not directly supported and raise ValueError
Wrapping the column with list(...) materializes a list of plain Python strings so the tokenizer accepts them.
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants