Update README.md
Browse files
README.md
CHANGED
@@ -35,7 +35,8 @@ input_sentence = "๏ สัมผัสเส้นขอบฟ้าชลา
|
|
35 |
generated_text = generate(input_sentence,
|
36 |
max_length=140,
|
37 |
top_k=25,
|
38 |
-
temperature=1)
|
|
|
39 |
|
40 |
print(f"Input: {text}")
|
41 |
print(f"Output:\n {generated_text[0]['generated_text']}")
|
|
|
35 |
generated_text = generate(input_sentence,
|
36 |
max_length=140,
|
37 |
top_k=25,
|
38 |
+
temperature=1)
|
39 |
+
# generation parameters can be varied
|
40 |
|
41 |
print(f"Input: {text}")
|
42 |
print(f"Output:\n {generated_text[0]['generated_text']}")
|