Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bugfix] enhance offset_mapping to fit more tokenizers #3858

Merged
merged 8 commits into from
Nov 24, 2022

Conversation

wj-Mcat
Copy link
Contributor

@wj-Mcat wj-Mcat commented Nov 22, 2022

PR types

Bug fixes

PR changes

Models

Description

try to fix: #3820

Copy link
Contributor

@guoshengCS guoshengCS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wj-Mcat
Copy link
Contributor Author

wj-Mcat commented Nov 23, 2022

THX 😬

@wj-Mcat wj-Mcat merged commit 0d0eb1e into PaddlePaddle:develop Nov 24, 2022
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.

[Bug]: 添加自定义tokens后,tokenizer返回offsets mapping未能识别出自定义tokens
2 participants