From e00773efced66fcdb11e23bb6090f2a0555736dd Mon Sep 17 00:00:00 2001 From: "Nat Kershaw (MSFT)" Date: Fri, 15 Mar 2024 13:49:05 -0700 Subject: [PATCH] Update phi2-python.md (#19943) --- docs/genai/tutorials/phi2-python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/genai/tutorials/phi2-python.md b/docs/genai/tutorials/phi2-python.md index 8318c5dfd06a7..3f27e038264b0 100644 --- a/docs/genai/tutorials/phi2-python.md +++ b/docs/genai/tutorials/phi2-python.md @@ -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)