Skip to content

Conversation

moazDev1
Copy link

@moazDev1 moazDev1 commented Oct 7, 2025

The current text says the list of encoded sequences is “already of rectangular shape,” but the example actually contains lists of different lengths (16 and 8 tokens). This means the array is not rectangular and cannot be directly converted to a tensor without padding.
image
image

The current text says the list of encoded sequences is “already of rectangular shape,” but the example actually contains lists of different lengths (16 and 8 tokens).
This means the array is not rectangular and cannot be directly converted to a tensor without padding.
@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