Code Monkey home page Code Monkey logo

web-app's Introduction

Web App

How to get started

  1. Folllow the instructions in the model-server repository to setup the model server.
  2. Clone this repository.
git clone https://github.com/snipaid-nlg/demo.git
  1. Change directory to project directory.
cd demo
  1. Create a file with the name ".env".
  2. Insert the following content into the ".env" file. Replace Your-Personal-Banana-Api-Key, Your-Personal-Banana-Model-Key and Your-Strong-Secret-Key-For-Django with your own secret keys.
# Secret key for Django (at least 6 characters)
SECRET_KEY=Your-Strong-Secret-Key-For-Django

# API Key for Banana (copy from Banana)
BANANA_API_KEY=Your-Personal-Banana-Api-Key

# API Key for Model (copy from Banana)
BANANA_MODEL_KEY=Your-Personal-Banana-Model-Key
  1. Build and run with docker.
docker compose up --build
  1. Visit http://localhost:8000 to see if SnipAId is running.
  2. Copy a text and generate some titles and teasers!

Snippet Quality

SnipAId is build on GPT-J, an Open Source Model from the GPT family. The core functionality of GPT models is taking a string of text and predicting the next token. When generating text with SnipAId please keep in mind, that the statistically most likely next token is often not the token that produces the most "accurate" text. Never depend upon those models to produce factually accurate output!

We recommend having a human curate or filter the outputs before releasing them,
both to censor undesirable content and to improve the quality of the results.

See also limitations and biases of GPT-J.

web-app's People

Contributors

hagreven avatar matthmeyer avatar

Stargazers

 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.