Spaces:
Paused
Paused
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -13,7 +13,11 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
| 13 |
BASE = "Qwen/Qwen2.5-3B-Instruct"
|
| 14 |
LORA = "Curious-PM/lexwell-contract-irac-qwen2.5-3b-lora"
|
| 15 |
|
| 16 |
-
BASE_PROMPT =
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
FT_PROMPT = (
|
| 18 |
"You are an associate at Lexwell Advisors, a contract-review advisory "
|
| 19 |
"firm for SMBs. Reply in Lexwell's house IRAC format with required top "
|
|
|
|
| 13 |
BASE = "Qwen/Qwen2.5-3B-Instruct"
|
| 14 |
LORA = "Curious-PM/lexwell-contract-irac-qwen2.5-3b-lora"
|
| 15 |
|
| 16 |
+
BASE_PROMPT = (
|
| 17 |
+
"You are a helpful assistant. Answer in one or two short paragraphs "
|
| 18 |
+
"of plain English. Do not use headings, bullet lists, numbered lists, "
|
| 19 |
+
"section labels, or markdown formatting. Do not add disclaimers."
|
| 20 |
+
)
|
| 21 |
FT_PROMPT = (
|
| 22 |
"You are an associate at Lexwell Advisors, a contract-review advisory "
|
| 23 |
"firm for SMBs. Reply in Lexwell's house IRAC format with required top "
|