All Projects → kinni → keras-with-google-cloud-ml-engine

kinni / keras-with-google-cloud-ml-engine

Licence: other
Build A Chinese Movie Sentiment Classifier with Keras and Google Cloud ML Engine

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to keras-with-google-cloud-ml-engine

Text-Classification-PyTorch
Implementation of papers for text classification task on SST-1/SST-2
Stars: ✭ 57 (+256.25%)
Mutual labels:  sentiment-classification
banglabert
This repository contains the official release of the model "BanglaBERT" and associated downstream finetuning code and datasets introduced in the paper titled "BanglaBERT: Language Model Pretraining and Benchmarks for Low-Resource Language Understanding Evaluation in Bangla" accpeted in Findings of the Annual Conference of the North American Chap…
Stars: ✭ 186 (+1062.5%)
Mutual labels:  sentiment-classification
Text tone analyzer
Система, анализирующая тональность текстов и высказываний.
Stars: ✭ 15 (-6.25%)
Mutual labels:  sentiment-classification
empythy
Automated NLP sentiment predictions- batteries included, or use your own data
Stars: ✭ 17 (+6.25%)
Mutual labels:  sentiment-classification
german-sentiment-lib
An easy to use python package for deep learning-based german sentiment classification.
Stars: ✭ 33 (+106.25%)
Mutual labels:  sentiment-classification
arabic-sentiment-analysis
Sentiment Analysis in Arabic tweets
Stars: ✭ 64 (+300%)
Mutual labels:  sentiment-classification
Sentiment-analysis-amazon-Products-Reviews
NLP with NLTK for Sentiment analysis amazon Products Reviews
Stars: ✭ 37 (+131.25%)
Mutual labels:  sentiment-classification
Deep-learning-And-Paper
【仅作为交流学习使用】机器智能--相关书目及经典论文包括AutoML、情感分类、语音识别、声纹识别、语音合成实验代码等
Stars: ✭ 62 (+287.5%)
Mutual labels:  sentiment-classification
german-sentiment
A data set and model for german sentiment classification.
Stars: ✭ 37 (+131.25%)
Mutual labels:  sentiment-classification
HierarchicalAttentionNetworks
Hierarchical Attention Networks for Document Classification in Keras
Stars: ✭ 70 (+337.5%)
Mutual labels:  sentiment-classification
sentiment analysis dict
sentiment analysis、情感分析、文本分类、基于字典、python、classification
Stars: ✭ 111 (+593.75%)
Mutual labels:  sentiment-classification
brand-sentiment-analysis
Scripts utilizing Heartex platform to build brand sentiment analysis from the news
Stars: ✭ 21 (+31.25%)
Mutual labels:  sentiment-classification
cnn-text-classification
Text classification with Convolution Neural Networks on Yelp, IMDB & sentence polarity dataset v1.0
Stars: ✭ 108 (+575%)
Mutual labels:  sentiment-classification
Senti4SD
An emotion-polarity classifier specifically trained on developers' communication channels
Stars: ✭ 41 (+156.25%)
Mutual labels:  sentiment-classification
Dataset-Sentimen-Analisis-Bahasa-Indonesia
Repositori ini merupakan kumpulan dataset terkait analisis sentimen Berbahasa Indonesia. Apabila Anda menggunakan dataset-dataset yang ada pada repositori ini untuk penelitian, maka cantumkanlah/kutiplah jurnal artikel terkait dataset tersebut. Dataset yang tersedia telah diimplementasikan dalam beberapa penelitian dan hasilnya telah dipublikasi…
Stars: ✭ 38 (+137.5%)
Mutual labels:  sentiment-classification
levheimcube
No description or website provided.
Stars: ✭ 11 (-31.25%)
Mutual labels:  sentiment-classification
StockerBot
Twitter Bot to follow financial trends in publicly traded companies
Stars: ✭ 77 (+381.25%)
Mutual labels:  sentiment-classification
bert-movie-reviews-sentiment-classifier
Build a Movie Reviews Sentiment Classifier with Google's BERT Language Model
Stars: ✭ 12 (-25%)
Mutual labels:  sentiment-classification
COVID-19-Tweet-Classification-using-Roberta-and-Bert-Simple-Transformers
Rank 1 / 216
Stars: ✭ 24 (+50%)
Mutual labels:  sentiment-classification
ACAN
Code for NAACL 2019 paper: Adversarial Category Alignment Network for Cross-domain Sentiment Classification
Stars: ✭ 23 (+43.75%)
Mutual labels:  sentiment-classification

Build A Chinese Movie Sentiment Classifier with Keras and Google Cloud ML Engine

This is source project for my sharing on GDG HK DevFest 2017. This project will show how we can run Keras cloud on both local development machine and Google Cloud ML Engine. A simple character level CNN model is built using Keras.

Slides

You may want to check out my slides at https://goo.gl/KVm52V.

Prerequisites

  • Install gcloud
  • Install the python dependencies. pip install --upgrade -r requirements.txt

Scripts

Train, TensorBoard and Predict

  • gcloud-train-*.sh
    • Scripts for training the model locally or on Google Cloud ML Engine
  • gcloud-tensorboard-*.sh
    • Scripts for visualizing the training process locally or on Google Cloud ML Engine
  • gcloud-predict-*.sh
    • Scripts for making prediction locally or on Google Cloud ML Engine

Billing

If you concern how much money will be burned using Google Cloud ML Engine, the answer is less than US$1 for this project. The model is simple and we don't have much dataset. So it is very safe to play around and have fun.

For you to try out

  • Change the model hidden_dims to larger (64) or even larger value
  • Use one-hot encoding instead of the embedding layer
  • Change CNN to LSTM model

Reference

https://github.com/GoogleCloudPlatform/cloudml-samples/tree/master/census/keras

Changes

  • Predicting income => predicting Movie Sentiment
  • Added multiple runs support for TensorBoard
  • Fixed for "You must feed a value for placeholder tensor keras_learning_phase with dtype uint8"
  • Packed commands into shell scripts
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].