• Stars
    star
    682
  • Rank 66,258 (Top 2 %)
  • Language
    Jupyter Notebook
  • Created about 6 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Build a bot that speaks like you!

Me_Bot

A simple tool to make a bot that speaks like you, simply learning from your WhatsApp Chats.

Instructions:-

  1. From WhatsApp on your phone, go to any chat and export it by going into the settings. Move the txt file that you receive inside the Me_Bot folder.

  2. Run the clean_whatsapp_chats.py script using the command. Before running, change the names of the people by changing YOUR_NAME and OTHER_NAME in the scripts according to the txt file you have for your chats.

python clean_whatsapp_chats.py whatsapp_chat.txt

  1. Run the prepare_files.ipynb ipython notebook.

  2. Run the Me_Bot.ipynb file and you can play with the bot at the bottom!

NOTE - Actively seeking collaborators for fun side projects like this. If you're itnerested, please drop me a mail at [email protected]

For wechat user:

Wechat chat history is save in SQLite Database, therefore you need to export from you Phone. Basically, if you have a iPhone, there are the steps to get the database file:

  1. Use iTunes to backup your phone (unselect encrypt backup)
  2. Use iTools to open the backup file and get a copy of your database file named MM.sqlite
  3. run python clean_wechat_chats.py YOUR_DATABASE_PATH YOUR_FRIEND_ID

Find more detail information about this here

MM.sqlite

This is the database, each table starts with 'Chat_' corresponding to a chat history with a friend, you need to find the table id you want to generate the chat robot to run the script above. Currently only English chat is supported, Chinese version is under constructing.

More Repositories

1

DeepLearningProject

An in-depth machine learning tutorial introducing readers to a whole machine learning pipeline from scratch.
HTML
4,756
star
2

A-Collection-of-important-tasks-in-pytorch

Everyday things people use in Pytorch. No need to spend hours reading Pytorch forums trying to find them!
HTML
279
star
3

Pytorch_fine_tuning_Tutorial

A short tutorial on performing fine tuning or transfer learning in PyTorch.
Python
276
star
4

NLP-Intuition-and-Applications-of-word-embeddings

UPCOMING TUTORIAL on Word Representations and how they are important for NLP applications.
32
star
5

lectures_and_talks

Collection of lectures and talks I've given on Computer Vision and Deep Learning
28
star
6

generalization_to_OOD_category_viewpoint_combinations

Source code for the Nature Machine Intelligence paper: When and how convolutional neural networks generalize to out-of-distribution category-viewpoint combinations.
Python
21
star
7

Spotify

Repo for spotify project for capstone
Jupyter Notebook
8
star
8

End_to_end_image_classification_pipeline

In-depth look at an image classification pipeline for your own dataset. https://goo.gl/BuL267
HTML
7
star
9

in_distribution_adversarial_examples

Source code for the paper: "Adversarial examples within the training distribution: A widespread challenge"
Jupyter Notebook
6
star
10

flask_example

Simple example for passing information around using flask. Shows how to accept input from user and use the input for something else.
HTML
4
star
11

pytorch_data_loader_tutorial

Python
4
star
12

online_tutorials

Collection of good online tutorials I keep running into while learning new things.
4
star
13

python_for_people_with_no_background

Basic Python
3
star
14

Statistical_Intuitions

A blog introducing some basics, and some less talked about ideas in statistics. To request an article on a topic, create an issue on this repo!
HTML
3
star
15

deep_learning_normalization

A personal pet project to explore different kinds of normalizations in Deep Learning research
3
star
16

Harvard_BAI

Repo for Harvard's Biological and Artificial Intelligence course (Neuro 140/240).
Jupyter Notebook
3
star
17

learning_to_speak_python

A course I am putting together to make the quarantine more productive for people from diverse backgrounds. The goal is to teach everyone to communicate with computers using python.
Jupyter Notebook
3
star
18

interpretability_reading_group

Storing meeting papers + notes + discussions
2
star
19

Probability_ML_Proofs

Collection of important proofs in basic probability and machine learning.
2
star
20

human_visual_diet

Jupyter Notebook
2
star
21

lit_review

Cross Referencing on steroids: Scripts to extract papers that you should read if you like a paper.
Python
1
star
22

pirate_bot

Pirate bot
Jupyter Notebook
1
star
23

GANs_vs_Humans

Jupyter Notebook
1
star