JoFrost commited on
Commit
4f5033f
1 Parent(s): 6e8146a

chore: flan as default model

Browse files
Files changed (1) hide show
  1. .env +18 -18
.env CHANGED
@@ -30,10 +30,10 @@ REJECT_UNAUTHORIZED=true
30
  # 'name', 'userMessageToken', 'assistantMessageToken' are required
31
  MODELS=`[
32
  {
33
- "name": "microsoft/phi-1_5",
34
  "is_local": true,
35
- "is_phi": true,
36
- "type": "text-generation",
37
  "userMessageToken": "<|prompter|>",
38
  "assistantMessageToken": "<|assistant|>",
39
  "messageEndToken": "</s>",
@@ -41,15 +41,17 @@ MODELS=`[
41
  "promptExamples": [
42
  {
43
  "title": "What is love?",
44
- "prompt": "Describe what love is in a few sentences."
45
- },
46
- {
 
 
47
  "title": "What does end-to-end protected mean?",
48
- "prompt": "Describe what does end-to-end protected mean in a few sentences."
49
  }
50
  ],
51
  "parameters": {
52
- "temperature": 0.5,
53
  "top_p": 0.95,
54
  "repetition_penalty": 1.2,
55
  "top_k": 50,
@@ -58,10 +60,10 @@ MODELS=`[
58
  }
59
  },
60
  {
61
- "name": "Xenova/LaMini-Flan-T5-783M",
62
  "is_local": true,
63
- "is_code": false,
64
- "type": "text2text-generation",
65
  "userMessageToken": "<|prompter|>",
66
  "assistantMessageToken": "<|assistant|>",
67
  "messageEndToken": "</s>",
@@ -69,17 +71,15 @@ MODELS=`[
69
  "promptExamples": [
70
  {
71
  "title": "What is love?",
72
- "prompt": "What is love?"
73
- }, {
74
- "title": "Who is Ada Lovelace?",
75
- "prompt": "Who is Ada Lovelace?"
76
- }, {
77
  "title": "What does end-to-end protected mean?",
78
- "prompt": "What does end-to-end protected mean?"
79
  }
80
  ],
81
  "parameters": {
82
- "temperature": 0.8,
83
  "top_p": 0.95,
84
  "repetition_penalty": 1.2,
85
  "top_k": 50,
 
30
  # 'name', 'userMessageToken', 'assistantMessageToken' are required
31
  MODELS=`[
32
  {
33
+ "name": "Xenova/LaMini-Flan-T5-783M",
34
  "is_local": true,
35
+ "is_code": false,
36
+ "type": "text2text-generation",
37
  "userMessageToken": "<|prompter|>",
38
  "assistantMessageToken": "<|assistant|>",
39
  "messageEndToken": "</s>",
 
41
  "promptExamples": [
42
  {
43
  "title": "What is love?",
44
+ "prompt": "What is love?"
45
+ }, {
46
+ "title": "Who is Ada Lovelace?",
47
+ "prompt": "Who is Ada Lovelace?"
48
+ }, {
49
  "title": "What does end-to-end protected mean?",
50
+ "prompt": "What does end-to-end protected mean?"
51
  }
52
  ],
53
  "parameters": {
54
+ "temperature": 0.8,
55
  "top_p": 0.95,
56
  "repetition_penalty": 1.2,
57
  "top_k": 50,
 
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>",
 
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,