GithubHelp home page GithubHelp logo

inferkit's Introduction

inferkit

A wrapper for the InferKit api.

"InferKit offers an interface and API for custom AI–based text generators. Whether you're a novelist looking for inspiration, or an app developer, there's something for you."

From InferKit's website:

InferKit's text generation tool takes text you provide and generates what it thinks comes next, using a state-of-the-art neural network. It's configurable and can produce any length of text on practically any topic. An example:

Input:

While not normally known for his musical talent, Elon Musk is releasing a debut album

Completion:

While not normally known for his musical talent, Elon Musk is releasing a debut album. It's called "The Road to Re-Entry," and it features an astounding collection of songs... (continued)

usage

currently, this will allow you to generate text each time you call the function.

const inferkit = new InferKit(inferkit_api_key)

inferkit.process("hello world.  I am playing around with an AI.").then(console.log)
inferkit.process("hello world.  I am playing around with an AI.", {length: 100}).then(console.log)

/*
	The goal is to make it learn to write longer programs, 
	but I'm trying not to be too harsh on it for now. 
	Here are a few of the responses I got. 
	It learned to recognize / read basic symbols and strings 
	like numbers, booleans, strings and so on. 
	It has learned to recognize its own program and write...
*/

to do

  • add support for user custom generators
  • make a method for continuing generation from accumulating text

Inferkit was created by Adam Daniel King

inferkit's People

Contributors

ryanfarber avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

inferkit's Issues

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.