Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ model_id = "OpenVINO/starcoder2-15b-int8-ov"
|
|
46 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
47 |
model = OVModelForCausalLM.from_pretrained(model_id)
|
48 |
|
49 |
-
inputs = tokenizer("
|
50 |
|
51 |
outputs = model.generate(**inputs, max_length=200)
|
52 |
text = tokenizer.batch_decode(outputs)[0]
|
|
|
46 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
47 |
model = OVModelForCausalLM.from_pretrained(model_id)
|
48 |
|
49 |
+
inputs = tokenizer("def print_hello_world():", return_tensors="pt")
|
50 |
|
51 |
outputs = model.generate(**inputs, max_length=200)
|
52 |
text = tokenizer.batch_decode(outputs)[0]
|