Code Monkey home page Code Monkey logo

stamir36 / cursusai-chatbot Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 45 KB

Chatbot based on artificial intelligence (AI) for communication, image generation and text translation.

Home Page: https://unesell.com/app/cursus/

License: Apache License 2.0

PHP 55.23% Python 39.90% Batchfile 0.28% JavaScript 4.59%
ai blenderbot chatbot cloud gpt gpt-2 huggingface python pytorch torch transformers translation web facabook colab-notebook openjourney stable-diffusion text-generation

cursusai-chatbot's Introduction

CursusBot - AI chat script

Chatbot based on Python and Transformers ๐Ÿค—, with support for working in the terminal and on the Cursus Messenger website.

CursusBot Banner

Supports Russian and English.

Features

  • Carry on a light dialogue ๐Ÿ’ฌ.
  • Translate text from Russian into English and vice versa.
  • Generate images from image description using "Openjourney" ๐Ÿ–ผ๏ธ.

Launch with Google Colab.

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.

What for and why?

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.

Guides

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.

Installation on a local machine

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

Image generation

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}

Screenshot of online mode

CursusBot Banner

License and Author

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: [email protected]

cursusai-chatbot's People

Contributors

stamir36 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ailfk

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.