Skip to content

Commit d7cb787

Browse files
authored
Typo fix (add_speial_tokens to add_special_tokens) (#1246)
* Fix typo * Update mistralrs.pyi
1 parent 0442d5b commit d7cb787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mistralrs-pyo3/mistralrs.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,12 @@ class Runner:
377377
Send a request to make the specified adapters the active adapters for the model.
378378
"""
379379

380-
def tokenize_text(self, text: str, add_speial_tokens: bool) -> list[int]:
380+
def tokenize_text(self, text: str, add_special_tokens: bool) -> list[int]:
381381
"""
382382
Tokenize some text, returning raw tokens.
383383
"""
384384

385-
def detokenize_text(self, tokens: list[int], skip_speial_tokens: bool) -> str:
385+
def detokenize_text(self, tokens: list[int], skip_special_tokens: bool) -> str:
386386
"""
387387
Detokenize some tokens, returning text.
388388
"""

0 commit comments

Comments
 (0)