Update test-tokenizer-random.py

This commit is contained in:
Robert 2024-11-12 22:26:56 -08:00 committed by GitHub
parent 82a4012c2a
commit 1574884483
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,12 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
""" #
# Test libllama tokenizer == AutoTokenizer. # Test libllama tokenizer == AutoTokenizer.
# Brute force random words/text generation. # Brute force random words/text generation.
#
Sample usage: #Sample usage:
#
python3 test-tokenizer-random.py ./models/ggml-vocab-llama-bpe.gguf ./models/tokenizers/llama-bpe # python3 test-tokenizer-random.py ./models/ggml-vocab-llama-bpe.gguf ./models/tokenizers/llama-bpe
""" #
from __future__ import annotations from __future__ import annotations
# #