Update phi2-python.md (#19943)

This commit is contained in:
Nat Kershaw (MSFT) 2024-03-15 13:49:05 -07:00 committed by GitHub
parent 0450035e1a
commit e00773efce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ prompt = '''def print_prime(n):
model=og.Model(f'example-models/phi2-int4-cpu')
tokenizer = model.create_tokenizer()
tokenizer = og.Tokenizer(model)
tokens = tokenizer.encode(prompt)