Daemontatox commited on
Commit
b443e28
·
verified ·
1 Parent(s): 37bc594

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -14,13 +14,13 @@ import gradio as gr
14
  from threading import Thread
15
 
16
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
17
- MODEL = "Daemontatox/Sphinx"
18
 
19
  TITLE = "<h1><center>Reason</center></h1>"
20
 
21
  PLACEHOLDER = """
22
  <center>
23
- <p>Hi! Lets start thinking !!</p>
24
  </center>
25
  """
26
 
@@ -163,7 +163,7 @@ If you need a new Tag create on and use it .""",
163
  minimum=0,
164
  maximum=1,
165
  step=0.1,
166
- value=0.8,
167
  label="Temperature",
168
  render=False,
169
  ),
@@ -171,7 +171,7 @@ If you need a new Tag create on and use it .""",
171
  minimum=128,
172
  maximum=128000,
173
  step=1,
174
- value= 128000,
175
  label="Max new tokens",
176
  render=False,
177
  ),
@@ -195,16 +195,15 @@ If you need a new Tag create on and use it .""",
195
  minimum=0.0,
196
  maximum=2.0,
197
  step=0.1,
198
- value=1.2,
199
  label="Repetition penalty",
200
  render=False,
201
  ),
202
  ],
203
- examples=[
204
- ["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
205
- ["What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter."],
206
- ["Tell me a random fun fact about the Roman Empire."],
207
- ["Show me a code snippet of a website's sticky header in CSS and JavaScript."],
208
  ],
209
  cache_examples=False,
210
  )
 
14
  from threading import Thread
15
 
16
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
17
+ MODEL = "Daemontatox/SphinX"
18
 
19
  TITLE = "<h1><center>Reason</center></h1>"
20
 
21
  PLACEHOLDER = """
22
  <center>
23
+ <p>Ask me Anything !!</p>
24
  </center>
25
  """
26
 
 
163
  minimum=0,
164
  maximum=1,
165
  step=0.1,
166
+ value=1.0,
167
  label="Temperature",
168
  render=False,
169
  ),
 
171
  minimum=128,
172
  maximum=128000,
173
  step=1,
174
+ value= 8192,
175
  label="Max new tokens",
176
  render=False,
177
  ),
 
195
  minimum=0.0,
196
  maximum=2.0,
197
  step=0.1,
198
+ value=0.0,
199
  label="Repetition penalty",
200
  render=False,
201
  ),
202
  ],
203
+ examples=["What is meant by a Singularity? "],
204
+ ["Explain the theory of Relativty"],
205
+ ["Explain how do you think"],
206
+ ["Explain how mamba2 structure LLMs work and how do they differ from transformers? "],
 
207
  ],
208
  cache_examples=False,
209
  )