Skip to content

Fix tokenizer argument that align with the actual output#1132

Open
kaifeng wants to merge 3 commits intohuggingface:mainfrom
kaifeng:tok-list
Open

Fix tokenizer argument that align with the actual output#1132
kaifeng wants to merge 3 commits intohuggingface:mainfrom
kaifeng:tok-list

Conversation

@kaifeng
Copy link
Copy Markdown
Contributor

@kaifeng kaifeng commented Nov 1, 2025

To put two sentences into tokenizer, it should be a list.
The sample code below of returning tensor is also not correct but I have no idea how to address without padding to get the exact output as the doc.

kaifeng and others added 3 commits November 1, 2025 10:50
Fix the saved model filename reference.
Update reference to model state dictionary file
To put two sentences into tokenizer, it should be a list.
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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