masanorihirano commited on
Commit
737268c
·
2 Parent(s): e89200e 42a7cb3

Merge branch 'main' of https://huggingface.co/spaces/izumi-lab/llama-13b-japanese-lora-v0-1ep

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -194,7 +194,7 @@ def evaluate(
194
  )
195
  input_ids = inputs["input_ids"].to(device)
196
  generation_config = GenerationConfig(
197
- do_sample=True,
198
  temperature=temperature,
199
  top_p=top_p,
200
  top_k=top_k,
@@ -288,7 +288,7 @@ with gr.Blocks(
288
  maximum=1.0,
289
  value=0.7,
290
  step=0.05,
291
- interactive=True,
292
  label="Temperature",
293
  )
294
  max_tokens = gr.Slider(
 
194
  )
195
  input_ids = inputs["input_ids"].to(device)
196
  generation_config = GenerationConfig(
197
+ do_sample=False,
198
  temperature=temperature,
199
  top_p=top_p,
200
  top_k=top_k,
 
288
  maximum=1.0,
289
  value=0.7,
290
  step=0.05,
291
+ interactive=False,
292
  label="Temperature",
293
  )
294
  max_tokens = gr.Slider(