You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo sets up a server-client for interacting with GPT-3. It does everything we need, but I'd like to strip down the interface to reveal more of the parameters you can use with GPT-3. So right now it looks like this:
I want to remove the "examples" bit and add all the interface elements that you see on OpenAI's playground:
So we'd add these sliders: response length, temperature, frequency penalty, presence penalty (all of them are floats between 0 and 1 except response length which we'd bound from 0 to say 500). The other element to add is "stop sequences" which is a list of strings the user can add (we can do this simple and make it a comma-separated list in a single text box, i can parse it when it gets submitted). The other stuff (presets, inject text, etc) is a bit trickier and we can think about adding later, but for now, these are the important bits.
The React GUI is setup in src/App.js. Besides or the GUI elements, we need to pass their values to handleClick(e) (I think) which grabs the text body and sends it to the server. If we get those values along with the prompt to the python server, we should be good to go.
@fernand0aguilar great! although i talked with jesse and we decided not to use this but to instead build it from scratch. i'm going to start this asap and will update on the discord.
This repo sets up a server-client for interacting with GPT-3. It does everything we need, but I'd like to strip down the interface to reveal more of the parameters you can use with GPT-3. So right now it looks like this:
I want to remove the "examples" bit and add all the interface elements that you see on OpenAI's playground:
So we'd add these sliders: response length, temperature, frequency penalty, presence penalty (all of them are floats between 0 and 1 except response length which we'd bound from 0 to say 500). The other element to add is "stop sequences" which is a list of strings the user can add (we can do this simple and make it a comma-separated list in a single text box, i can parse it when it gets submitted). The other stuff (presets, inject text, etc) is a bit trickier and we can think about adding later, but for now, these are the important bits.
The React GUI is setup in
src/App.js
. Besides or the GUI elements, we need to pass their values tohandleClick(e)
(I think) which grabs the text body and sends it to the server. If we get those values along with the prompt to the python server, we should be good to go.cc @lazaruslarue
The text was updated successfully, but these errors were encountered: