Commit ed2cda5
Implement
* Add from_bytes and read_bytes method to WordPiece
* Change wordpiece method return value
---------
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>from_bytes and read_bytes Methods in WordPiece Tokenizer for WebAssembly Compatibility (#1758)1 parent 9164247 commit ed2cda5
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
175 | 192 | | |
176 | 193 | | |
177 | 194 | | |
| |||
0 commit comments