Spaces:
Sleeping
Sleeping
alpcansoydas
commited on
Commit
•
2517fcf
1
Parent(s):
3543ab2
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ llm = HuggingFaceEndpoint(
|
|
10 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
11 |
task="text-generation",
|
12 |
max_new_tokens=128,
|
13 |
-
temperature=0.
|
14 |
do_sample=False,
|
15 |
)
|
16 |
|
@@ -19,7 +19,7 @@ You are a topic detector bot. Your task is to determine the main topic of given
|
|
19 |
|
20 |
Answer general main topic not specific words.
|
21 |
Your answer does not contain specific information from given text.
|
22 |
-
Answer just one general main topic.
|
23 |
Answer shortly with two or three word phrase. Do not answer with long sentence.
|
24 |
If you do not know the topic just answer as General.
|
25 |
|
|
|
10 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
11 |
task="text-generation",
|
12 |
max_new_tokens=128,
|
13 |
+
temperature=0.4,
|
14 |
do_sample=False,
|
15 |
)
|
16 |
|
|
|
19 |
|
20 |
Answer general main topic not specific words.
|
21 |
Your answer does not contain specific information from given text.
|
22 |
+
Answer just one general main topic. Do not answer two or more topic.
|
23 |
Answer shortly with two or three word phrase. Do not answer with long sentence.
|
24 |
If you do not know the topic just answer as General.
|
25 |
|