Repository navigation
fix incorrect hub tokenizer class - #48641
Conversation
|
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. |
| "minicpmv", | ||
| "minimax_m2", | ||
| "modernbert", | ||
| "modernbert-decoder", |
There was a problem hiding this comment.
this already has test coverage ✅
|
run-slow: auto, vision-encoder-decoder, modern-bert |
|
This comment contains models: ["models/auto"] |
|
This comment contains models: ["models/auto"] |
|
run-slow: auto, vision_encoder_decoder, modern_bert |
|
run-slow: auto, vision_encoder_decoder, modernbert |
|
Workflow Run ⚙️💔 This comment contains |
|
This comment contains models: ["models/auto", "models/modernbert", "models/vision_encoder_decoder"] |
|
This comment contains models: ["models/auto", "models/modernbert", "models/vision_encoder_decoder"] |
CI ResultsCommit Info
Model CI Report❌ 2 new failed tests from this PR 😭
|
|
[For maintainers] Suggested jobs to run (before merge) run-slow: auto |
CI recapDashboard: View test results in Grafana |
* fix incorrect hub tokenizer class * test * test
fixes: #48628 , #48535
see v5 migration guide --> in v5 if a checkpoint on the hub maps to a specific tokenizer class, then we load that specific tokenizer class . we did not enforce this in v4. if a model starts tokenizing differently in v5, then the hub checkpoint always mapped to an incorrect class (that we never enforced in v4!) so we put it in the list of shame in
MODELS_WITH_INCORRECT_HUB_TOKENIZER_CLASS(for all models using thismodel_type) orMODEL_IDS_TO_TOKENIZERS_BACKEND(to use a specific checkpoint). Alternatively, you can open a PR on the 🤗 Hub to fix thetokenizer_classmapping intokenization_config.jsonplease see #44255 for the repots, may need to go back a couple commits to see the removed .html files)