Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ model_id = "OpenVINO/starcoder2-7b-fp16-ov"
|
|
36 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
37 |
model = OVModelForCausalLM.from_pretrained(model_id)
|
38 |
|
39 |
-
inputs = tokenizer("
|
40 |
|
41 |
outputs = model.generate(**inputs, max_length=200)
|
42 |
text = tokenizer.batch_decode(outputs)[0]
|
|
|
36 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
37 |
model = OVModelForCausalLM.from_pretrained(model_id)
|
38 |
|
39 |
+
inputs = tokenizer("def print_hello_world():", return_tensors="pt")
|
40 |
|
41 |
outputs = model.generate(**inputs, max_length=200)
|
42 |
text = tokenizer.batch_decode(outputs)[0]
|