🚧 This project is a work in progress. For a more complete solution, please use next-token-prediction.
Large language and image models in pure JavaScript.
npm i llimo
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();
LM Chat (Paris dataset):