Commit 2b2afad
convert : fix encoding of WPM vocab for BERT models (ggml-org#18500)
* convert: avoid token collision when stripping ## prefix
* convert: use token types for BERT special tokens check
* Update convert_hf_to_gguf.py
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
---------
Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>1 parent f4f5019 commit 2b2afad
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5287 | 5287 | | |
5288 | 5288 | | |
5289 | 5289 | | |
5290 | | - | |
5291 | | - | |
| 5290 | + | |
| 5291 | + | |
5292 | 5292 | | |
5293 | 5293 | | |
5294 | 5294 | | |
5295 | 5295 | | |
5296 | | - | |
| 5296 | + | |
| 5297 | + | |
5297 | 5298 | | |
5298 | 5299 | | |
5299 | 5300 | | |
| |||
0 commit comments