max_tokens
Browse files
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=
|
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,
|