ehristoforu commited on
Commit
02e6e11
1 Parent(s): d3bd704

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -8,7 +8,7 @@ from threading import Thread
8
 
9
 
10
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
- MODEL_ID = "ehristoforu/RQwen-v0.1"
12
  MODELS = os.environ.get("MODELS")
13
  MODEL_NAME = MODELS.split("/")[-1]
14
 
@@ -97,7 +97,7 @@ with gr.Blocks(css=CSS) as demo:
97
  minimum=0,
98
  maximum=1,
99
  step=0.1,
100
- value=0.8,
101
  label="Temperature",
102
  render=False,
103
  ),
@@ -105,7 +105,7 @@ with gr.Blocks(css=CSS) as demo:
105
  minimum=128,
106
  maximum=4096,
107
  step=1,
108
- value=1024,
109
  label="Max new tokens",
110
  render=False,
111
  ),
@@ -113,7 +113,7 @@ with gr.Blocks(css=CSS) as demo:
113
  minimum=0.0,
114
  maximum=1.0,
115
  step=0.1,
116
- value=0.8,
117
  label="top_p",
118
  render=False,
119
  ),
@@ -129,7 +129,7 @@ with gr.Blocks(css=CSS) as demo:
129
  minimum=0.0,
130
  maximum=2.0,
131
  step=0.1,
132
- value=1.0,
133
  label="Repetition penalty",
134
  render=False,
135
  ),
 
8
 
9
 
10
  HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
+ MODEL_ID = "ehristoforu/RQwen-v0.2"
12
  MODELS = os.environ.get("MODELS")
13
  MODEL_NAME = MODELS.split("/")[-1]
14
 
 
97
  minimum=0,
98
  maximum=1,
99
  step=0.1,
100
+ value=0.1,
101
  label="Temperature",
102
  render=False,
103
  ),
 
105
  minimum=128,
106
  maximum=4096,
107
  step=1,
108
+ value=4096,
109
  label="Max new tokens",
110
  render=False,
111
  ),
 
113
  minimum=0.0,
114
  maximum=1.0,
115
  step=0.1,
116
+ value=1,
117
  label="top_p",
118
  render=False,
119
  ),
 
129
  minimum=0.0,
130
  maximum=2.0,
131
  step=0.1,
132
+ value=1.2,
133
  label="Repetition penalty",
134
  render=False,
135
  ),