Bertug1911 commited on
Commit
46bbfe3
·
verified ·
1 Parent(s): 24136f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -41,14 +41,14 @@ arayuz = gr.Interface(
41
  inputs=[
42
  gr.Textbox(lines=3, placeholder="Your prompt..."),
43
  gr.Slider(minimum=0.01, maximum=1.0, value=0.5, step=0.01, label="Temperature"),
44
- gr.Slider(minimum=1, maximum=50, value=1, step=10, label="Top-K"),
45
- gr.Slider(minimum=1, maximum=100, value=3, step=15, label="Max New Tokens"),
46
  ],
47
  outputs="text",
48
  title="BrtGPT-124m-Base",
49
  description="""
50
- Adjust the parameters, select the model, and generate text. (0.7 Temp and Top-k = 10 is good for CREATIVITY, 0.1/0.15 Temp. and Top-k = 1-5 is good for ACCURACY
51
- Model Page: 'https://huggingface.co/Bertug1911/BrtGPT-124m-Base' """
52
  )
53
 
54
  arayuz.launch()
 
41
  inputs=[
42
  gr.Textbox(lines=3, placeholder="Your prompt..."),
43
  gr.Slider(minimum=0.01, maximum=1.0, value=0.5, step=0.01, label="Temperature"),
44
+ gr.Slider(minimum=1, maximum=50, value=10, step=1, label="Top-K"),
45
+ gr.Slider(minimum=1, maximum=50, value=15, step=1, label="Max New Tokens"),
46
  ],
47
  outputs="text",
48
  title="BrtGPT-124m-Base",
49
  description="""
50
+ Adjust the parameters, select the model, and generate text. (0.7 Temp and Top-k = 10 is good for CREATIVITY, 0.1/0.15 Temp. and Top-k = 1-5 is good for ACCURACY.
51
+ Model Page: 'https://huggingface.co/Bertug1911/BrtGPT-124m-Base' (And if you download or like the model I be happy so much!, And don't forget look at our COMMUNITY from model page!) """
52
  )
53
 
54
  arayuz.launch()