Update README.md
Browse files
README.md
CHANGED
@@ -42,7 +42,7 @@ pipeline = transformers.pipeline(
|
|
42 |
device_map="auto",
|
43 |
)
|
44 |
|
45 |
-
outputs = pipeline(prompt, max_new_tokens=
|
46 |
print(outputs[0]["generated_text"])
|
47 |
```
|
48 |
|
|
|
42 |
device_map="auto",
|
43 |
)
|
44 |
|
45 |
+
outputs = pipeline(prompt, max_new_tokens=2048, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
|
46 |
print(outputs[0]["generated_text"])
|
47 |
```
|
48 |
|