Spaces:
Runtime error
Runtime error
Commit
·
5cf76a1
1
Parent(s):
f5a7903
Update .env
Browse files
.env
CHANGED
@@ -30,7 +30,7 @@ REJECT_UNAUTHORIZED=true
|
|
30 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
31 |
MODELS=`[
|
32 |
{
|
33 |
-
"name": "
|
34 |
"is_local": true,
|
35 |
"is_code": false,
|
36 |
"type": "text2text-generation",
|
@@ -59,34 +59,6 @@ MODELS=`[
|
|
59 |
"max_new_tokens": 256
|
60 |
}
|
61 |
},
|
62 |
-
{
|
63 |
-
"name": "microsoft/phi-1_5",
|
64 |
-
"is_local": true,
|
65 |
-
"is_phi": true,
|
66 |
-
"type": "text-generation",
|
67 |
-
"userMessageToken": "<|prompter|>",
|
68 |
-
"assistantMessageToken": "<|assistant|>",
|
69 |
-
"messageEndToken": "</s>",
|
70 |
-
"preprompt": "",
|
71 |
-
"promptExamples": [
|
72 |
-
{
|
73 |
-
"title": "What is love?",
|
74 |
-
"prompt": "Describe what love is in a few sentences."
|
75 |
-
},
|
76 |
-
{
|
77 |
-
"title": "What does end-to-end protected mean?",
|
78 |
-
"prompt": "Describe what does end-to-end protected mean in a few sentences."
|
79 |
-
}
|
80 |
-
],
|
81 |
-
"parameters": {
|
82 |
-
"temperature": 0.5,
|
83 |
-
"top_p": 0.95,
|
84 |
-
"repetition_penalty": 1.2,
|
85 |
-
"top_k": 50,
|
86 |
-
"truncate": 1000,
|
87 |
-
"max_new_tokens": 256
|
88 |
-
}
|
89 |
-
},
|
90 |
{
|
91 |
"name": "Xenova/codegen-350M-mono",
|
92 |
"is_local": true,
|
|
|
30 |
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
31 |
MODELS=`[
|
32 |
{
|
33 |
+
"name": "meta-llama/Llama-2-7b-chat-hf",
|
34 |
"is_local": true,
|
35 |
"is_code": false,
|
36 |
"type": "text2text-generation",
|
|
|
59 |
"max_new_tokens": 256
|
60 |
}
|
61 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
{
|
63 |
"name": "Xenova/codegen-350M-mono",
|
64 |
"is_local": true,
|