Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalizing GUI #1

Closed
genekogan opened this issue Nov 23, 2020 · 2 comments
Closed

Generalizing GUI #1

genekogan opened this issue Nov 23, 2020 · 2 comments

Comments

@genekogan
Copy link
Member

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:

Screen Shot 2020-11-23 at 12 38 08 PM

I want to remove the "examples" bit and add all the interface elements that you see on OpenAI's playground:

Screen Shot 2020-11-23 at 12 42 39 PM

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.

cc @lazaruslarue

@frclba
Copy link
Member

frclba commented Nov 24, 2020

Hi @genekogan I want to work on this.

@genekogan
Copy link
Member Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants