Giter Site home page Giter Site logo

ashoknar / zubot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pistocop/pistobot

0.0 0.0 0.0 102 KB

Create an AI that chats like you

Home Page: https://pistocop.github.io/pistoBot-website/

License: GNU General Public License v3.0

Shell 3.75% Python 95.48% Dockerfile 0.78%

zubot's Introduction

๐Ÿค– pistoBot

Create an AI that chats like you.

Open In Collab Website shields.io

๐Ÿฅœ In a nutshell

  1. Get your whatsapp and telegram data
  2. Parse it using this
  3. Train one of the available models (gpt2 suggested)
  4. Chat with the model

๐Ÿ‘€ Example of chat

An example of GPT-2 model trained on my whatsapp and telegram messages.
See the website for more examples.

Chat:

โœ๏ธ come sei messo col pistobot?
๐Ÿค– ahaha male
โœ๏ธ chatta meglio di te? ๐Ÿ˜‚
๐Ÿค– si
โœ๏ธ non che ci volesse molto...
๐Ÿค– ma tu che dici
โœ๏ธ io dico che potevi impegnarti di piรน

โœ๏ธ โŸถ message that I have wrote
๐Ÿค– โŸถ message generated from the model

๐Ÿ‘‰ I want one

  • Create and chat with your model using this colab notebook
  • For more info visit the project website

โš ๏ธ Disclaimer

This project is only a personal playground build during the week-ends of Covid-19 quarantine.
Used mainly to:

  • Use interesting packages (like gpt-2-simple, tensorflow 2.0 etc.)
  • Gain experience

Due to this nature, this repository has probably:

  • ML naif approaches
  • For sure: not so good english text (sorry ๐Ÿ˜ข)

๐Ÿ“ Note

  • Thanks to Salvinator: Under Covid 19 quarantine I found this project, that had inspired me to start this repository.
  • Why pistoBot name?
    • ๐Ÿ”ฎ The answer could be handed down only by voice

Run Docker

  1. Go to the telegram bot directory

cd telegramBot

  1. Make sure you have the model files config.json and pytorch_model.bin in the model directory

  2. Docker build

docker build -t zubot:latest .

  1. Docker run

docker run -e BOT_TOKEN='add bot token' --name zubot zubot:latest

send messages to your telegram bot and enjoy

zubot's People

Contributors

akash1729 avatar pistocop avatar sginj 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.