Coder Social home page Coder Social logo

telegram-assistance-bot's Introduction

mail_ru_llm_Nurmukhametov_Almir

Telegram bot assistant project

Примеры работы бота

GPT2 Answers Mistral Answers Ngram Model

Метрики на инструкционных моделях

Model Training Loss Validation Loss Rouge1 Rouge2 Rougel Rougelsum Bleu
GPT2 1.948600 1.965270 0.171252 0.088855 0.167642 0.168607 0.480183
Mistral 0.931100 0.835708 0.191417 0.123226 0.190067 0.189545 0.535177

Простая модель на основе статистик встречаемости ngram

  • training_notebooks/stat_lm_training.ipynb -- основной notebook по обучению модели.
  • Training Data: для обучения использовался датасет из диалогов собранных с Telegram чатов.

GPT2 Model Trained Using QLoRA: LoRA (Low Rank Adaptation) and 4bit quantization

  • training_notebooks/rugptlarge_lm_qlora_training.ipynb -- основной notebook по обучению модели
  • Training Data: для обучения использовался из датасет из инструкций, сгенерированных с помощью GPT4.

Mistral 7b Model Trained Using QLoRA: LoRA (Low Rank Adaptation) and 4bit quantization

  • training_notebooks/mistral_7b_v0.1.ipynb -- основной notebook по обучению модели
  • Training Data: для обучения использовался из датасет из инструкций, сгенерированных с помощью GPT4.

Установка

Веса моделей можно найти по ссылке

Для того, чтобы заработал весь функционал, архивы моделей необходимо распаковать в папку models.

Для корректного функционирования бота необходимо установить все пакеты из requirements.txt:

Бота можно запустить с помощью команды:

python llm_assistant_bot.py

telegram-assistance-bot's People

Contributors

imthatmage avatar

Watchers

 avatar

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.