mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix typo in LlamaTokenizerFast docstring example (#25018)
This commit is contained in:
parent
3b734f5042
commit
8f1f0bf50f
@ -58,7 +58,7 @@ class LlamaTokenizerFast(PreTrainedTokenizerFast):
|
||||
```
|
||||
from transformers import LlamaTokenizerFast
|
||||
|
||||
tokenizer = LlaTokenizerFast.from_pretrained("hf-internal-testing/llama-tokenizer")
|
||||
tokenizer = LlamaTokenizerFast.from_pretrained("hf-internal-testing/llama-tokenizer")
|
||||
tokenizer.encode("Hello this is a test")
|
||||
>>> [1, 15043, 445, 338, 263, 1243]
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user