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