Update README.md
Browse files
README.md
CHANGED
|
@@ -76,8 +76,10 @@ prompt = f"Domanda: {question}, contesto: {context}"
|
|
| 76 |
output = llm(
|
| 77 |
f"[INST] {prompt} [/INST]", # Prompt
|
| 78 |
max_tokens=128,
|
| 79 |
-
stop=["
|
| 80 |
-
echo=True
|
|
|
|
|
|
|
| 81 |
)
|
| 82 |
|
| 83 |
# Chat Completion API
|
|
|
|
| 76 |
output = llm(
|
| 77 |
f"[INST] {prompt} [/INST]", # Prompt
|
| 78 |
max_tokens=128,
|
| 79 |
+
stop=["\n"],
|
| 80 |
+
echo=True,
|
| 81 |
+
temperature=0.1,
|
| 82 |
+
top_p=0.95
|
| 83 |
)
|
| 84 |
|
| 85 |
# Chat Completion API
|