nicholasKluge
commited on
Commit
•
c00e618
1
Parent(s):
d835879
Update README.md
Browse files
README.md
CHANGED
@@ -109,7 +109,7 @@ from transformers import pipeline
|
|
109 |
|
110 |
generator = pipeline("text-generation", model="nicholasKluge/Teeny-tiny-llama-162m")
|
111 |
|
112 |
-
completions = generator("Astronomia é a ciência", num_return_sequences=
|
113 |
|
114 |
for comp in completions:
|
115 |
print(f"🤖 {comp['generated_text']}")
|
|
|
109 |
|
110 |
generator = pipeline("text-generation", model="nicholasKluge/Teeny-tiny-llama-162m")
|
111 |
|
112 |
+
completions = generator("Astronomia é a ciência", num_return_sequences=2, max_new_tokens=100)
|
113 |
|
114 |
for comp in completions:
|
115 |
print(f"🤖 {comp['generated_text']}")
|