Chatbot based on Python and Transformers 🤗, with support for working in the terminal and on the Cursus Messenger website.
Supports Russian and English.
- Carry on a light dialogue 💬.
- Translate text from Russian into English and vice versa.
- Generate images from image description using "Openjourney" 🖼️.
To run a project based on Google computers, go to Official notepad, and run each code in turn. After that, return to CursusBot in the Cursus messenger and start chatting. To execute commands, enter "/" in the text box.
Anyone who is interested in artificial intelligence and wants to try different models, you are in the right place. This repository has a script for launching a neural model in two modes: in the console and in Cursus Messenger.
Those who want to try to communicate with the model without installing and running scripts, you can go to https://unesell.com/app/cursus/ and chat with the neural network.
Check out the following resources to help you get started with neural chatbots:
- Cursus Messenger - Try Chatbot Online (If the script is currently running on at least one computer)
- Unesell API - Instructions for running the script on the local computer.
- Hugging Face - Here you can find any other model to run.
Visit the Unesell API page for details.
Download the model launch script
wget https://api.unesell.com/AI/run.py
wget https://api.unesell.com/AI/run.1B.py
The first script with 400M model, the second one with 1B. Choose the one that your local machine can pull.
Install dependencies and run the script
python -m pip install torch transformers requests langdetect
To run in browser interface
python run.py online
To run in terminal
python run.py local
After running the script on Colab or the server, you need to go to the chat of the bot, and run the following command, entering prompts or a description of what you want to receive:
/imageline {prompt}
The source code of the program is open, distribution and modification is allowed only with the consent of the author.
Author: Stanislav Miroshnichenko (from Ukraine with ❤️)
Feedback: s.miroshnichenko.mail@gmail.com