mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
Update phi2-python.md (#19943)
This commit is contained in:
parent
0450035e1a
commit
e00773efce
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue