- Notifications
You must be signed in to change notification settings - Fork11
Multi Class Text (Feedback) Classification using CNN, GRU Network and pre trained Word2Vec embedding, word embeddings on TensorFlow.
License
NotificationsYou must be signed in to change notification settings
pabitralenka/Customer-Feedback-Analysis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Our goal is to determine what class(es) the customer feedback sentences should be annotated with five-plus-one-classes categorization (comment, request, bug, complaint, meaningless and undetermined) as in four languages i.e. English, French, Japanese and Spanish.
- This is one of the shared tasks ofIJCNLP - 2017. For more details about the task, please visithere.
If you are using this code for any sort of research, please cite our paper
tag | consumer_complaint_narrative |
---|---|
comment | Rooms and sitting area was always immaculate. |
request | :) Deberían abrir vacantes para beta-testers :) |
meaningless | il beug tou le temp |
complaint | シャンプーが泡立たない |
id | consumer_complaint_narrative |
---|---|
en-test-0002 | You can't go wrong!!! |
es-test-0004 | La habitación súper grande! muy cómoda.. |
fr-test-0006 | La salle de bains est splendide. |
jp-test-0016 | 日々の忙しさを忘れて、娘が優しくされると優しくなれるね |
Category | Descript |
---|---|
comment | Rooms and sitting area was always immaculate. |
request | :) Deberían abrir vacantes para beta-testers :) |
meaningless | il beug tou le temp |
complaint | シャンプーが泡立たない |
id | Descript |
---|---|
en-test-0002 | You can't go wrong!!! |
es-test-0004 | La habitación súper grande! muy cómoda.. |
fr-test-0006 | La salle de bains est splendide. |
jp-test-0016 | 日々の忙しさを忘れて、娘が優しくされると優しくなれるね |
- Command :
python3 train.py training.tsv parameters.json
- A directory will be created during training, and the best model will be saved in this directory.
- Provide the model directory (created when running
train.py
) and test data topredict.py
- Command :
python3 predict.py trained_model_1505467324/ test.tsv
- Command :
python3 train.py training.tsv training_config.json
- A directory will be created during training, and the best model will be saved in this directory.
- Provide the model directory (created when running
train.py
) and test data topredict.py
- Command :
python3 predict.py trained_results_1505468375/ test.tsv
- For any queries, please drop me an email atpabitra.lenka18@gmail.com.
- Please refer to the publication for detailed results and model performances.
- I would like to thankJie Zhang andDenny Britz for sharing their code.
- We have used their code and modified according to our need by incorporating pre-trained
Word2Vec
embedding. - Deepak Gupta has also contributed to this code repository.
About
Multi Class Text (Feedback) Classification using CNN, GRU Network and pre trained Word2Vec embedding, word embeddings on TensorFlow.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.