remixer-dec / ru-gpt3-telegram-bot

a telegram bot based on russian gpt-3 model, proof of concept, LEGACY CODE, please use: github.com/remixer-dec/botality-ii

Home Page:https://github.com/remixer-dec/botality-ii

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RU-GPT3 Telegram bot

This is a simple bot for ru-GPT3 model. It has a few commands to interact with the model and a dialog/chat mode.

Configuration is stored in config.json file. First 7 configuration options are described in the original model repo.

Extra options:
tg_token - telegram bot token
role - AI personality biography
rod - word ending parameter [m/j/s]
admin_id - bot administrator ID
history [chat / user] With user-based history, the dialog is formed only on the messages with every user separately, otherwise, on all messages in group chat that are visible to the bot.

Usage:

pip install -r requirements.txt
python ruGPTtgBot.py

Links:

More about GPT-3
More about interactions with GPT-like models
P.S. I created this bot before watching this^ video.

About

a telegram bot based on russian gpt-3 model, proof of concept, LEGACY CODE, please use: github.com/remixer-dec/botality-ii

https://github.com/remixer-dec/botality-ii

License:Apache License 2.0


Languages

Language:Python 100.0%