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)