Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harshalmittal4/add_emoji
The LSTM model (in keras) predicts the instinct of any input sentence and associates an emoji to it accordingly.
https://github.com/harshalmittal4/add_emoji
emoji keras lstm-model
Last synced: 2 days ago
JSON representation
The LSTM model (in keras) predicts the instinct of any input sentence and associates an emoji to it accordingly.
- Host: GitHub
- URL: https://github.com/harshalmittal4/add_emoji
- Owner: harshalmittal4
- Created: 2018-03-07T17:26:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T07:04:06.000Z (over 6 years ago)
- Last Synced: 2024-11-19T09:49:54.541Z (2 months ago)
- Topics: emoji, keras, lstm-model
- Language: Jupyter Notebook
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Add_emoji
This project aims at predicting the instinct of any input sentence and then associates an emoji to it accordingly.
Two models are being used here : numpy model and LSTM implemented in Keras.## Steps involved:
1) Words in each input sentence are first replaced with their corresponding indices and padding is done to make the length of each input the same.
2) Embedding layer is used which associates a 50 dimensional Glove vector representation to each index(each word) in the sentence.
3) LSTM model(graph) is built in keras.
4) Model is compiled and than trained on the training set.
5) Model is tested against the test set.## Model (summarized using keras):
![alt text](https://github.com/harshalmittal4/Add_emoji/blob/master/model_lstm.png)The accuracy obtained was 82% using 50 epochs.