Update app.py
Browse files
app.py
CHANGED
|
@@ -12,14 +12,14 @@ from peft import PeftModel
|
|
| 12 |
|
| 13 |
# ββ Configuration ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 14 |
BASE_MODEL = "microsoft/phi-2"
|
| 15 |
-
ADAPTER_REPO = "sourize/phi2-memory-
|
| 16 |
CONTEXT_TURNS = 7
|
| 17 |
MAX_NEW_TOKENS = 128
|
| 18 |
OFFLOAD_DIR = "offload"
|
| 19 |
|
| 20 |
SYSTEM = (
|
| 21 |
"You are a helpful assistant for DeepTalks with base Phi-2\n"
|
| 22 |
-
"
|
| 23 |
"Answer **only** using the conversation context below.\n"
|
| 24 |
"Do NOT output any lines beginning with 'User:' or 'Assistant:'.\n"
|
| 25 |
"If you don't know, say \"I don't know.\"\n"
|
|
|
|
| 12 |
|
| 13 |
# ββ Configuration ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 14 |
BASE_MODEL = "microsoft/phi-2"
|
| 15 |
+
ADAPTER_REPO = "sourize/phi2-memory-deeptalks"
|
| 16 |
CONTEXT_TURNS = 7
|
| 17 |
MAX_NEW_TOKENS = 128
|
| 18 |
OFFLOAD_DIR = "offload"
|
| 19 |
|
| 20 |
SYSTEM = (
|
| 21 |
"You are a helpful assistant for DeepTalks with base Phi-2\n"
|
| 22 |
+
"Fine-tuned by Sourish for making personal conversations.\n"
|
| 23 |
"Answer **only** using the conversation context below.\n"
|
| 24 |
"Do NOT output any lines beginning with 'User:' or 'Assistant:'.\n"
|
| 25 |
"If you don't know, say \"I don't know.\"\n"
|