weaigc / gradio-chatbot

A tool that can automatically convert 🤗 Huggingface Spaces,魔搭创空间 and Gradio ChatBot into free APIs. Supports GPT4Free,ChatGPT,Llama2,MPT,Falcon Chat,ChatGLM,通义千问 and many other chatbot like spaces.
https://weaigc.github.io/gradio-chatbot-ui/
Apache License 2.0
151 stars 23 forks source link

Temperature option #2

Open MoshiKiwi opened 1 year ago

MoshiKiwi commented 1 year ago

i haven't looked way toooo deep into the code, but as far as i know, there is no real way to change the temperature used by the chatbot? would be a nice thing to add, and if added, i'll definitively be using this package all the time

weaigc commented 1 year ago

i haven't looked way toooo deep into the code, but as far as i know, there is no real way to change the temperature used by the chatbot? would be a nice thing to add, and if added, i'll definitively be using this package all the time

Temperature is not a parameter with a clear identifier, if you need it, I can add it to the supported built-in models, this will take some time.

Alternatively, you can also set it by manually configuring args, if you are using the chatgpt model, then args is ["", 1, 0.7, 1, [], null]