Commit 52e1ef5
Update Tokenizer and Detokenizer for Chat Template Tokenization (#957)
* update tokenizer and detokenizer for chat template tokenization
* undo certain decoder changes
---------
Co-authored-by: Sayan Shaw <[email protected]>1 parent 6eb73f9 commit 52e1ef5
File tree
6 files changed
+202081
-12
lines changed- operators/tokenizer
- test
- data/phi-4-base
- pp_api_test
6 files changed
+202081
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | 363 | | |
365 | 364 | | |
366 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments