Add parameters reference #386 #331

This commit is contained in:
oobabooga 2023-03-17 20:19:04 -03:00
parent 9256e937d6
commit 20f5b455bf
2 changed files with 6 additions and 1 deletions

View file

@ -133,7 +133,7 @@ def create_settings_menus(default_preset):
with gr.Row():
with gr.Column():
with gr.Box():
gr.Markdown('Custom generation parameters')
gr.Markdown('Custom generation parameters ([reference](https://huggingface.co/docs/transformers/main_classes/text_generation#transformers.GenerationConfig))')
with gr.Row():
with gr.Column():
shared.gradio['temperature'] = gr.Slider(0.01, 1.99, value=generate_params['temperature'], step=0.01, label='temperature')