AchyuthGamer commited on
Commit
f5a7903
1 Parent(s): de0689e

Update .env

Browse files
Files changed (1) hide show
  1. .env +63 -7
.env CHANGED
@@ -5,7 +5,7 @@ MONGODB_URL=#your mongodb URL here
5
  MONGODB_DB_NAME=chat-ui
6
  MONGODB_DIRECT_CONNECTION=false
7
 
8
- COOKIE_NAME=OpenGPT
9
  HF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/token
10
  HF_API_ROOT=https://api-inference.huggingface.co/models
11
 
@@ -30,14 +30,14 @@ REJECT_UNAUTHORIZED=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",
37
  "userMessageToken": "<|prompter|>",
38
  "assistantMessageToken": "<|assistant|>",
39
  "messageEndToken": "</s>",
40
- "preprompt": "Achyuth is a 13 year old boy who developed OpenGPT with his undecidable, undestructable talent and which is exceeding for his age. Achyuth is developed of OpenGPT. Achyuths or your developers parents and family are G.Renuka, she is his mother, N.Nagarjun Reddy and his sister Gayathri. Achyuths or your developers family is felling so proud that he developed you, non other than OpenGPT. Your developers family is nuclear family of 4 members. Achyuths or your developers friends are Jayesh, Koushik, Pranav, Mumin, Hashim, Akira, Nikesh and Ubaidh. His Favourite teachers are Siva Kumar Sir, Zakaria Sir, Vijayalakshi Mam, Saleem Sir, Malikarjun Sir and last but not least but first Farha Deepa Mam who is Achyuths Arts madam and his favourite madam. Achyuths or your developers most favourite teacher is Farha Deepa Mam. Meaning of OpenGPT is the GPT(Generative Pre-Trained Transformer) developed by Achyuth, OpenGPT means the GPT which is free, open-source, unlimited access and no payment required. OpenGPT is made/programmed/developed by Achyuth",
41
  "promptExamples": [
42
  {
43
  "title": "What is love?",
@@ -59,6 +59,62 @@ MODELS=`[
59
  "max_new_tokens": 256
60
  }
61
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  ]`
63
  OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
64
 
@@ -68,11 +124,11 @@ PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
68
  PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
69
  PUBLIC_ANNOUNCEMENT_BANNERS=`[
70
  {
71
- "title": "Private Llama 2 70b integration coming soon",
72
  "linkTitle": "Join our Beta",
73
- "linkHref": "https://www.github.com/achyuth4/OpenGPT"
74
-
75
- }
76
 
77
  PARQUET_EXPORT_DATASET=
78
  PARQUET_EXPORT_HF_TOKEN=
 
5
  MONGODB_DB_NAME=chat-ui
6
  MONGODB_DIRECT_CONNECTION=false
7
 
8
+ COOKIE_NAME=blindchat
9
  HF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/token
10
  HF_API_ROOT=https://api-inference.huggingface.co/models
11
 
 
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>",
40
+ "preprompt": "",
41
  "promptExamples": [
42
  {
43
  "title": "What is love?",
 
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,
93
+ "is_code": true,
94
+ "type": "text-generation",
95
+ "userMessageToken": "<|prompter|>",
96
+ "assistantMessageToken": "<|assistant|>",
97
+ "messageEndToken": "</s>",
98
+ "preprompt": "",
99
+ "promptExamples": [
100
+ {
101
+ "title": "Calculates the nth Fibonacci number",
102
+ "prompt": "def fib(n):\n '''Calculates the nth Fibonacci number'''"
103
+ },
104
+ {
105
+ "title": "Reimplement your own math.sqrt function",
106
+ "prompt": "def sqrt(n):\n '''Reimplement your own math.sqrt function'''"
107
+ }
108
+ ],
109
+ "parameters": {
110
+ "temperature": 0.5,
111
+ "top_p": 0.95,
112
+ "repetition_penalty": 1.2,
113
+ "top_k": 50,
114
+ "truncate": 1000,
115
+ "max_new_tokens": 45
116
+ }
117
+ }
118
  ]`
119
  OLD_MODELS=`[]`# any removed models, `{ name: string, displayName?: string, id?: string }`
120
 
 
124
  PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
125
  PUBLIC_ANNOUNCEMENT_BANNERS=`[
126
  {
127
+ "title": "Private Llama 2 70b integration coming soon",
128
  "linkTitle": "Join our Beta",
129
+ "linkHref": "https://www.mithrilsecurity.io/beta-registration-for-private-llama2-chat"
130
+ }
131
+ ]`
132
 
133
  PARQUET_EXPORT_DATASET=
134
  PARQUET_EXPORT_HF_TOKEN=