Update README.md
Browse files
README.md
CHANGED
@@ -115,7 +115,7 @@ Previous Answer:
|
|
115 |
|
116 |
### Response:"""
|
117 |
inputs = tokenizer(input_text, return_tensors="pt", padding=True).to("cuda")
|
118 |
-
outputs = model.generate(**inputs)
|
119 |
print(tokenizer.decode(outputs[0], skip_special_tokens = True))
|
120 |
```
|
121 |
|
|
|
115 |
|
116 |
### Response:"""
|
117 |
inputs = tokenizer(input_text, return_tensors="pt", padding=True).to("cuda")
|
118 |
+
outputs = model.generate(**inputs, max_new_tokens=256)
|
119 |
print(tokenizer.decode(outputs[0], skip_special_tokens = True))
|
120 |
```
|
121 |
|