Update README.md
Browse files
README.md
CHANGED
@@ -46,11 +46,11 @@ text = "write a function that takes in print out each individual characters in a
|
|
46 |
sequences = pipe(
|
47 |
text,
|
48 |
do_sample=True,
|
49 |
-
temperature=0.
|
50 |
top_p=0.7,
|
51 |
num_return_sequences=1,
|
52 |
eos_token_id=tokenizer.eos_token_id,
|
53 |
-
max_length=
|
54 |
)
|
55 |
for seq in sequences:
|
56 |
print(f"Result: {seq['generated_text']}")
|
|
|
46 |
sequences = pipe(
|
47 |
text,
|
48 |
do_sample=True,
|
49 |
+
temperature=0.1,
|
50 |
top_p=0.7,
|
51 |
num_return_sequences=1,
|
52 |
eos_token_id=tokenizer.eos_token_id,
|
53 |
+
max_length=70,
|
54 |
)
|
55 |
for seq in sequences:
|
56 |
print(f"Result: {seq['generated_text']}")
|