1.1.3 • Published 9 months ago

llimo v1.1.3

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

🚧 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):

https://github.com/bennyschmidt/llimo/assets/45407493/6ba6d0fe-c7b9-47d8-9b81-fa567faa89e0

Benefits:

  • Faster than conventional training and inference, thus:
  • Instant answers
  • No hallucinations

Differences from conventional language models:

  • Simpler take on embeddings (just bigrams stored in JSON format), thus:
  • Not as generative as conventional LLMs
  • Better suited for completion (prediction) type work
1.0.8

10 months ago

1.0.5

10 months ago

1.1.3

9 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago