sourabhdattawad
commited on
Commit
•
31b35ff
1
Parent(s):
7012a36
Update README.md
Browse files
README.md
CHANGED
@@ -42,7 +42,7 @@ llm = Llama(
|
|
42 |
)
|
43 |
output = llm(
|
44 |
"Q: Name the planets in the solar system? A: ", # Prompt
|
45 |
-
max_tokens=
|
46 |
stop=["Q:", "\n"], # Stop generating just before the model would generate a new question
|
47 |
echo=True # Echo the prompt back in the output
|
48 |
)
|
|
|
42 |
)
|
43 |
output = llm(
|
44 |
"Q: Name the planets in the solar system? A: ", # Prompt
|
45 |
+
max_tokens=50, # Generate up to 32 tokens, set to None to generate up to the end of the context window
|
46 |
stop=["Q:", "\n"], # Stop generating just before the model would generate a new question
|
47 |
echo=True # Echo the prompt back in the output
|
48 |
)
|