[go: nahoru, domu]

Skip to content

Large language and image models in pure JavaScript.

Notifications You must be signed in to change notification settings

bennyschmidt/llimo

Repository files navigation

🚧 This project is a work in progress. For a more complete solution, please use next-token-prediction.

llimo

Large language and image models in pure JavaScript.

llimo

Install

npm i llimo

Usage

Put this /training/ directory in the root of your project.

Now you just need to create your app's index.js file and run it. Your model will start training on the .txt files located in /training/documents/. After training is complete it will run these 3 queries:

const { Conversation: ChatModel } = require('llimo');

const MyChatBot = async () => {
  const agent = await ChatModel({
    bootstrap: true
  });

  // Chat with LLM

  agent.ask('what is Thai food?');
};

MyChatBot();

Demo

LM Chat (Paris dataset):

paris.mp4

A work in progress. Things needed:

  1. A lot more training data - this directly translates to what it accurately "knows"

  2. Better parts-of-speech parsing - to allow for more flexible, even misspelled inputs

About

Large language and image models in pure JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published