All Projects → mzaradzki → neuralnets-semantics

mzaradzki / neuralnets-semantics

Licence: MIT License
Word semantics Deep Learning with Vanilla Python, Keras, Theano, TensorFlow, PyTorch

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to neuralnets-semantics

Datastories Semeval2017 Task4
Deep-learning model presented in "DataStories at SemEval-2017 Task 4: Deep LSTM with Attention for Message-level and Topic-based Sentiment Analysis".
Stars: ✭ 184 (+1126.67%)
Mutual labels:  sentiment-analysis, word-embeddings
Cnn Text Classification Keras
Text Classification by Convolutional Neural Network in Keras
Stars: ✭ 213 (+1320%)
Mutual labels:  theano, sentiment-analysis
Pytorch Sentiment Analysis
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Stars: ✭ 3,209 (+21293.33%)
Mutual labels:  sentiment-analysis, word-embeddings
Textblob Ar
Arabic support for textblob
Stars: ✭ 60 (+300%)
Mutual labels:  sentiment-analysis, word-embeddings
sentiment-analysis-of-tweets-in-russian
Sentiment analysis of tweets in Russian using Convolutional Neural Networks (CNN) with Word2Vec embeddings.
Stars: ✭ 51 (+240%)
Mutual labels:  sentiment-analysis, word-embeddings
Twitter Sent Dnn
Deep Neural Network for Sentiment Analysis on Twitter
Stars: ✭ 270 (+1700%)
Mutual labels:  theano, sentiment-analysis
Personality Detection
Implementation of a hierarchical CNN based model to detect Big Five personality traits
Stars: ✭ 338 (+2153.33%)
Mutual labels:  theano, sentiment-analysis
overview-and-benchmark-of-traditional-and-deep-learning-models-in-text-classification
NLP tutorial
Stars: ✭ 41 (+173.33%)
Mutual labels:  sentiment-analysis, word-embeddings
QuestionClustering
Clasificador de preguntas escrito en python 3 que fue implementado en el siguiente vídeo: https://youtu.be/qnlW1m6lPoY
Stars: ✭ 15 (+0%)
Mutual labels:  sentiment-analysis, word-embeddings
MorphologicalPriorsForWordEmbeddings
Code for EMNLP 2016 paper: Morphological Priors for Probabilistic Word Embeddings
Stars: ✭ 53 (+253.33%)
Mutual labels:  theano, word-embeddings
SentimentAnalysis
Sentiment Analysis: Deep Bi-LSTM+attention model
Stars: ✭ 32 (+113.33%)
Mutual labels:  sentiment-analysis, word-embeddings
NTUA-slp-nlp
💻Speech and Natural Language Processing (SLP & NLP) Lab Assignments for ECE NTUA
Stars: ✭ 19 (+26.67%)
Mutual labels:  sentiment-analysis, word-embeddings
textlytics
Text processing library for sentiment analysis and related tasks
Stars: ✭ 25 (+66.67%)
Mutual labels:  sentiment-analysis, word-embeddings
DeepSentiPers
Repository for the experiments described in the paper named "DeepSentiPers: Novel Deep Learning Models Trained Over Proposed Augmented Persian Sentiment Corpus"
Stars: ✭ 17 (+13.33%)
Mutual labels:  sentiment-analysis
amazon-rekognition-engagement-meter
The Engagement Meter calculates and shows engagement levels of an audience participating in a meeting
Stars: ✭ 49 (+226.67%)
Mutual labels:  sentiment-analysis
vista-net
Code for the paper "VistaNet: Visual Aspect Attention Network for Multimodal Sentiment Analysis", AAAI'19
Stars: ✭ 67 (+346.67%)
Mutual labels:  sentiment-analysis
Sentiment-Analysis-Play-Store-Reviews
Sentiment Analyser: Sentiment Analysis of user feedback in Play Store to improve app quality!
Stars: ✭ 22 (+46.67%)
Mutual labels:  sentiment-analysis
strtsmrt
Stock price trend prediction with news sentiment analysis using deep learning
Stars: ✭ 63 (+320%)
Mutual labels:  sentiment-analysis
NLP-Stuff
Programs with word vectors, RNN, NLP stuff, etc
Stars: ✭ 19 (+26.67%)
Mutual labels:  word-embeddings
sembei
🍘 単語分割を経由しない単語埋め込み 🍘
Stars: ✭ 14 (-6.67%)
Mutual labels:  word-embeddings

neuralnets-semantics

This repo is implementing Word representation as feature vectors in :

  • Python with numpy - DONE
  • Python with Theano - DONE (but need some clean-up)
  • Python with TensorFlow - DONE (but need some clean-up)
  • Python with Keras - DONE
  • Python with PyTorch - DONE

The model is based on a neural network that is trained on predicting the last word in a 4-gram. The plain Python version is based on an original Octave code from G Hinton.

AWS EC2 configuration

These scripts are run on AWS EC2 GPU "g2.2x" instance based on AMI (Ireland) :

cs231n_caffe_torch7_keras_lasagne_v2 ami-e8a1fe9b

At EC2 configuration time, to setup Jupyter web I follow this tutorial :

http://efavdb.com/deep-learning-with-jupyter-on-aws/

To re-use the same folder across multiple EC2 launches I use AWS EFS :

($ sudo apt-get update ?)
$ sudo apt-get -y install nfs-common
($ sudo reboot ?)
$ cd caffe
$ mkdir neuralnets
$ cd ..
$ sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 $(curl -s http://169.254.169.254/latest/meta-data/placement/availability-zone).YOUR_EFS_HERE.efs.YOUR_ZONE_HERE.amazonaws.com:/ caffe/neuralnets
($ clone Git repo in neuralnets directory ?)

Note : the security group of the EFS folder and EC2 instace needs to be configured correctly :

http://docs.aws.amazon.com/efs/latest/ug/accessing-fs-create-security-groups.html

The EC2 AMI comes with Theano but TensorFlow needs to be installed :

($ easy_install --upgrade pip ?)
$ pip install tensorflow

WARNING : With this setup Theano makes use of the GPU but TensorFlow only runs on the CPU

To run Theano script with GPU :

$ cd caffe/neuralnets/nb_theano
$ THEANO_FLAGS='floatX=float32,device=gpu' python dA.py

To run Keras you may have to un-install/re-install. You may have to edit the Keras json file to switch between Theano (th) and TensorFlow (tf) backends.

To unmount the EFS folder before closing down the EC2 instance :

$ sudo umount caffe/neuralnets
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].