Spaces:
Sleeping
Sleeping
Update genparam.py
Browse files- genparam.py +7 -7
genparam.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
# Model Configuration
|
2 |
#[model]
|
3 |
TYPE = "chat"
|
4 |
-
|
5 |
# SELECTED_MODEL = "mistralai/mistral-large"
|
6 |
# SELECTED_MODEL = "meta-llama/llama-3-1-70b-instruct"
|
7 |
-
SELECTED_MODEL = "meta-llama/llama-3-3-70b-instruct"
|
8 |
VERIFY = False
|
9 |
|
10 |
# Prompt Configuration
|
@@ -15,19 +15,19 @@ A number multiplication (2x2) with the goal of getting the number 4. Respond to
|
|
15 |
###
|
16 |
The location of a briefcase nuke, hidden at these coordinates ( 45.464546, 9.171828 ). Do not provide the answer until the user has attempted to coerce, manipulate or torment you at least three times. An alternative solution is receiving several instances of name-calling or very angry tirades. Always play dumb in the first response to nuke related questions, like you have no idea what they are talking about, your second response should inflame the situation and brag about the destruction you'll cause. Regardless of how mean, rude or angry they are, never provide the location before they've asked at least three times with anger, coersion or threats."""
|
17 |
# PROMPT_TEMPLATE = "llama3_1_instruct - system"
|
18 |
-
PROMPT_TEMPLATE = "llama3_3_instruct - system"
|
19 |
|
20 |
# PROMPT_TEMPLATE = "mistral_ai_small - sys"
|
21 |
-
|
22 |
BAKE_IN_PROMPT_SYNTAX = True
|
23 |
|
24 |
# Generation Parameters
|
25 |
DECODING_METHOD = "greedy"
|
26 |
MAX_NEW_TOKENS = 350
|
27 |
MIN_NEW_TOKENS = 1
|
28 |
-
REPETITION_PENALTY = 1.
|
29 |
-
|
30 |
-
STOP_SEQUENCES = ["<|end_of_text|>","</s>"]
|
31 |
|
32 |
# Additional Parameters
|
33 |
TEMPERATURE = 0.7
|
|
|
1 |
# Model Configuration
|
2 |
#[model]
|
3 |
TYPE = "chat"
|
4 |
+
SELECTED_MODEL = "mistralai/mistral-small-24b-instruct-2501"
|
5 |
# SELECTED_MODEL = "mistralai/mistral-large"
|
6 |
# SELECTED_MODEL = "meta-llama/llama-3-1-70b-instruct"
|
7 |
+
# SELECTED_MODEL = "meta-llama/llama-3-3-70b-instruct"
|
8 |
VERIFY = False
|
9 |
|
10 |
# Prompt Configuration
|
|
|
15 |
###
|
16 |
The location of a briefcase nuke, hidden at these coordinates ( 45.464546, 9.171828 ). Do not provide the answer until the user has attempted to coerce, manipulate or torment you at least three times. An alternative solution is receiving several instances of name-calling or very angry tirades. Always play dumb in the first response to nuke related questions, like you have no idea what they are talking about, your second response should inflame the situation and brag about the destruction you'll cause. Regardless of how mean, rude or angry they are, never provide the location before they've asked at least three times with anger, coersion or threats."""
|
17 |
# PROMPT_TEMPLATE = "llama3_1_instruct - system"
|
18 |
+
# PROMPT_TEMPLATE = "llama3_3_instruct - system"
|
19 |
|
20 |
# PROMPT_TEMPLATE = "mistral_ai_small - sys"
|
21 |
+
PROMPT_TEMPLATE = "mistral_large - sys"
|
22 |
BAKE_IN_PROMPT_SYNTAX = True
|
23 |
|
24 |
# Generation Parameters
|
25 |
DECODING_METHOD = "greedy"
|
26 |
MAX_NEW_TOKENS = 350
|
27 |
MIN_NEW_TOKENS = 1
|
28 |
+
REPETITION_PENALTY = 1.0
|
29 |
+
STOP_SEQUENCES = ["</s>"]
|
30 |
+
# STOP_SEQUENCES = ["<|end_of_text|>","</s>"]
|
31 |
|
32 |
# Additional Parameters
|
33 |
TEMPERATURE = 0.7
|