Skip to content

jyslop/jabba.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to use

the training data is one array and the prediction generates "branches" of input output links, using an array of scored outputs to derive the next most fitting phrase

right now the model has one way to prompt, which takes your prompt and predicts the next most fitting phrases for a given amount of iterations. this model does not use proper training methods or artificial neurons, and does not work on a token level but instead phrase-by-phrase. it also includes some stuff to remember what you prompted it and save it for the duration of the page.

window.Jabba.predict(prompt,outputLength); //returns the jabba.js prediction of next words as a string

//output length is 5 by default, which makes a decent sized chunk of text
window.Jabba.prompt(prompt); //prompts jabba.js to respond and save your messages to its memory.
//returns the result as a string
//"""example"""
console.log(window.Jabba.predict("hello"));

About

synthesize jabba speeches with the power of Java Script Technologies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors