Giter Club home page Giter Club logo

jd-generator's Introduction

gpt3-exp: Experimentation tool in Python for GPT3

tool-gif

Note: You can view the video at this location

This streamlit application is a personal tool to help and manage experimentation with GPT3 API. The original GPT3 playground is nice, but lacks version control and ability to save outputs for comparison.

I made a small streamlit application that helps to manage it. Right now one can add primes or small datasets needed to prime the Completion API. This repo contains these primes in src/gpt3_exp/datasets.

Setup

  • Add your OpenAI key to gpt3_exp/gpt3_config.yml in this format:
GPT3_API: ab-XXXXXXXXXXXXXXXXXXXXXXXX
  • Or you can add it via the streamlit app directly.
  • Install poetry. Follow the official site or this cookbook
  • Once poetry is installed, run poetry install. This will download all the packages needed (ideally in .venv) as well as setup the repository.
  • To run migrations: poetry run migrate

Running the application

  • To run the streamlit app: poetry run st-server
  • You will now be able to view the application @ localhost:8000

Adding new primes/dataset

  • Create a task.yml file in gpt3_exp/datasets, this file would be available in the streamlit app in the dropdown

dataset-dropdown

Roadmap

  • Experimentation dashboard
  • Save results to DB
  • Add search api to experimentation dashboard
  • Create overview dashboard based off DB

Other Resources

PRs are welcomed. Would be happy to help out with any issues :)

jd-generator's People

Stargazers

Roman avatar

Watchers

James Cloos avatar Srikanth Srungarapu avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.