Update README.md
Browse files
README.md
CHANGED
@@ -75,7 +75,7 @@ To run inference on coding problems:
|
|
75 |
import transformers
|
76 |
import torch
|
77 |
|
78 |
-
model_id = "nvidia/OpenCodeReasoning-Nemotron-7B"
|
79 |
|
80 |
pipeline = transformers.pipeline(
|
81 |
"text-generation",
|
@@ -104,7 +104,7 @@ messages = [
|
|
104 |
|
105 |
outputs = pipeline(
|
106 |
messages,
|
107 |
-
max_new_tokens=
|
108 |
)
|
109 |
print(outputs[0]["generated_text"][-1]['content'])
|
110 |
|
|
|
75 |
import transformers
|
76 |
import torch
|
77 |
|
78 |
+
model_id = "nvidia/OpenCodeReasoning-Nemotron-7B-v1.1"
|
79 |
|
80 |
pipeline = transformers.pipeline(
|
81 |
"text-generation",
|
|
|
104 |
|
105 |
outputs = pipeline(
|
106 |
messages,
|
107 |
+
max_new_tokens=49152,
|
108 |
)
|
109 |
print(outputs[0]["generated_text"][-1]['content'])
|
110 |
|