drewvid commited on
Commit
66f9911
·
1 Parent(s): 4951d1c

max_tokens

Browse files
Files changed (2) hide show
  1. Makefile +8 -0
  2. app.py +1 -1
Makefile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+
2
+ all:
3
+
4
+ update:
5
+ git add . --all
6
+ git commit -a
7
+ git push
8
+
app.py CHANGED
@@ -70,7 +70,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
70
  demo = gr.ChatInterface(
71
  respond,
72
  additional_inputs=[
73
- gr.Slider(minimum=1, maximum=8192, value=6144, step=1, label="Max new tokens"),
74
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
75
  gr.Slider(
76
  minimum=0.1,
 
70
  demo = gr.ChatInterface(
71
  respond,
72
  additional_inputs=[
73
+ gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
74
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
75
  gr.Slider(
76
  minimum=0.1,