Spaces:
Sleeping
Sleeping
Commit
·
3039ab0
1
Parent(s):
345f8c1
feat: remove system message
Browse files
app.py
CHANGED
|
@@ -17,7 +17,6 @@ classifier = pipeline("text-classification", model="saiteki-kai/QA-DeBERTa-v3-la
|
|
| 17 |
@spaces.GPU(duration=60)
|
| 18 |
def generate(message):
|
| 19 |
messages = [
|
| 20 |
-
{"role": "system", "content": "You are a helpul assistant named Zurich, a 14 billion parameter Large Language model, you were fine-tuned and trained by Ruben Roy. You have been trained with the GammaCorpus v2 dataset, a dataset filled with structured and filtered multi-turn conversations, this was also made by Ruben Roy."}, # Attribution to Qwen is not included to prevent hallucinations.
|
| 21 |
{"role": "user", "content": message}
|
| 22 |
]
|
| 23 |
text = tokenizer.apply_chat_template(
|
|
|
|
| 17 |
@spaces.GPU(duration=60)
|
| 18 |
def generate(message):
|
| 19 |
messages = [
|
|
|
|
| 20 |
{"role": "user", "content": message}
|
| 21 |
]
|
| 22 |
text = tokenizer.apply_chat_template(
|