Skip to content

[Bugfix] Fix fast tokenizer import error#8367

Merged
wawltor merged 2 commits into
PaddlePaddle:developfrom
w5688414:tokenizerfix
May 9, 2024
Merged

[Bugfix] Fix fast tokenizer import error#8367
wawltor merged 2 commits into
PaddlePaddle:developfrom
w5688414:tokenizerfix

Conversation

@w5688414
Copy link
Copy Markdown
Contributor

@w5688414 w5688414 commented May 7, 2024

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented May 7, 2024

Thanks for your contribution!

Copy link
Copy Markdown
Contributor

@ZHUI ZHUI left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2024

Codecov Report

Attention: Patch coverage is 63.63636% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 55.36%. Comparing base (0f45875) to head (a40ca40).
Report is 2 commits behind head on develop.

Files Patch % Lines
paddlenlp/transformers/auto/tokenizer.py 63.63% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8367      +/-   ##
===========================================
- Coverage    55.37%   55.36%   -0.01%     
===========================================
  Files          614      614              
  Lines        96015    96022       +7     
===========================================
+ Hits         53164    53167       +3     
- Misses       42851    42855       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@w5688414 w5688414 self-assigned this May 7, 2024
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators May 8, 2024
@PaddlePaddle PaddlePaddle unlocked this conversation May 8, 2024
@wawltor wawltor merged commit eeafb21 into PaddlePaddle:develop May 9, 2024
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]: AttributeError: module 'paddlenlp.transformers.ernie.tokenizer' has no attribute 'ErnieFastTokenizer'

3 participants