mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Better default for chat output length
Ideally, generation should stop at '\n', but this feature is brand new on transformers (https://github.com/huggingface/transformers/pull/20727)
This commit is contained in:
parent
b801e0d50d
commit
b871f76aac
@ -181,7 +181,7 @@ elif args.chat:
|
||||
with gr.Column():
|
||||
with gr.Row(equal_height=True):
|
||||
with gr.Column():
|
||||
length_slider = gr.Slider(minimum=1, maximum=2000, step=1, label='max_length', value=200)
|
||||
length_slider = gr.Slider(minimum=1, maximum=2000, step=1, label='max_length', value=100)
|
||||
preset_menu = gr.Dropdown(choices=available_presets, value="NovelAI-Sphinx Moth", label='Preset')
|
||||
with gr.Column():
|
||||
temp_slider = gr.Slider(minimum=0.0, maximum=1.0, step=0.01, label='Temperature', value=0.7)
|
||||
|
Loading…
Reference in New Issue
Block a user