Nicolas Iglesias
commited on
Commit
•
c72a93e
1
Parent(s):
4ab4475
Update README.md
Browse files
README.md
CHANGED
@@ -46,11 +46,11 @@ input_ids = inputs["input_ids"].to(model.device)
|
|
46 |
attention_mask = inputs["attention_mask"].to(model.device)
|
47 |
|
48 |
generation_config = GenerationConfig(
|
49 |
-
temperature=0.
|
50 |
-
top_p=0.
|
51 |
top_k=40,
|
52 |
num_beams=1,
|
53 |
-
repetition_penalty=1.
|
54 |
do_sample=True
|
55 |
)
|
56 |
|
|
|
46 |
attention_mask = inputs["attention_mask"].to(model.device)
|
47 |
|
48 |
generation_config = GenerationConfig(
|
49 |
+
temperature=0.2,
|
50 |
+
top_p=0.8,
|
51 |
top_k=40,
|
52 |
num_beams=1,
|
53 |
+
repetition_penalty=1.3,
|
54 |
do_sample=True
|
55 |
)
|
56 |
|