All Projects β†’ siyuanzhao β†’ automated-essay-grading

siyuanzhao / automated-essay-grading

Licence: MIT License
Source code for the paper A Memory-Augmented Neural Model for Automated Grading

Programming Languages

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

Projects that are alternatives of or similar to automated-essay-grading

Quora QuestionPairs DL
Kaggle Competition: Using deep learning to solve quora's question pairs problem
Stars: ✭ 54 (-46.53%)
Mutual labels:  kaggle-competition
NLP-paper
🎨 🎨NLP θ‡ͺ焢语言倄理教程 🎨🎨 https://dataxujing.github.io/NLP-paper/
Stars: ✭ 23 (-77.23%)
Mutual labels:  glove
Hello-Kaggle-Guide-KOR
Kaggle을 처음 μ ‘ν•˜λŠ” μ‚¬λžŒλ“€μ„ μœ„ν•œ λ¬Έμ„œ
Stars: ✭ 140 (+38.61%)
Mutual labels:  kaggle-competition
digit recognizer
CNN digit recognizer implemented in Keras Notebook, Kaggle/MNIST (0.995).
Stars: ✭ 27 (-73.27%)
Mutual labels:  kaggle-competition
fer
Facial Expression Recognition
Stars: ✭ 32 (-68.32%)
Mutual labels:  kaggle-competition
audiotagging2019
6th place solution to Freesound Audio Tagging 2019 kaggle competition
Stars: ✭ 21 (-79.21%)
Mutual labels:  kaggle-competition
StoreItemDemand
(117th place - Top 26%) Deep learning using Keras and Spark for the "Store Item Demand Forecasting" Kaggle competition.
Stars: ✭ 24 (-76.24%)
Mutual labels:  kaggle-competition
BossNet
BossNet: Disentangling Language and Knowledge in Task Oriented Dialogs
Stars: ✭ 16 (-84.16%)
Mutual labels:  memory-networks
open-solution-ship-detection
Open solution to the Airbus Ship Detection Challenge
Stars: ✭ 54 (-46.53%)
Mutual labels:  kaggle-competition
datastories-semeval2017-task6
Deep-learning model presented in "DataStories at SemEval-2017 Task 6: Siamese LSTM with Attention for Humorous Text Comparison".
Stars: ✭ 20 (-80.2%)
Mutual labels:  glove
argus-tgs-salt
Kaggle | 14th place solution for TGS Salt Identification Challenge
Stars: ✭ 73 (-27.72%)
Mutual labels:  kaggle-competition
Kaggle
Kaggle Kernels (Python, R, Jupyter Notebooks)
Stars: ✭ 26 (-74.26%)
Mutual labels:  kaggle-competition
Bike-Sharing-Demand-Kaggle
Top 5th percentile solution to the Kaggle knowledge problem - Bike Sharing Demand
Stars: ✭ 33 (-67.33%)
Mutual labels:  kaggle-competition
kuzushiji-recognition
5th place solution for the Kaggle Kuzushiji Recognition Challenge
Stars: ✭ 41 (-59.41%)
Mutual labels:  kaggle-competition
Apartment-Interest-Prediction
Predict people interest in renting specific NYC apartments. The challenge combines structured data, geolocalization, time data, free text and images.
Stars: ✭ 17 (-83.17%)
Mutual labels:  kaggle-competition
word2vec-movies
Bag of words meets bags of popcorn in Python 3 中文教程
Stars: ✭ 54 (-46.53%)
Mutual labels:  kaggle-competition
sarcasm-detection-for-sentiment-analysis
Sarcasm Detection for Sentiment Analysis
Stars: ✭ 21 (-79.21%)
Mutual labels:  glove
essaysense
An experiment on Automated Essay Scoring
Stars: ✭ 26 (-74.26%)
Mutual labels:  automated-essay-scoring
kaggle
Kaggle solutions
Stars: ✭ 17 (-83.17%)
Mutual labels:  kaggle-competition
navec
Compact high quality word embeddings for Russian language
Stars: ✭ 118 (+16.83%)
Mutual labels:  glove

Automated Essay Grading

Source code for the paper A Memory-Augmented Neural Model for Automated Grading in L@S 2017. Note that recent check-in updates the python from python 2.5 to python 3.7. Model Structure

The dataset comes from Kaggle ASAP competition. You can download the data from the link below.

https://www.kaggle.com/c/asap-aes/data

Glove embeddings are used in this work. Specifically, 42B 300d is used to get the best results. You can download the embeddings from the link below.

https://nlp.stanford.edu/projects/glove/

Get Started

git clone https://github.com/siyuanzhao/automated-essay-grading.git
  • Download training data file 'training_set_rel3.tsv' from Kaggle and put it under the root folder of this repo.

  • Download 'glove.42B.300d.zip' from https://nlp.stanford.edu/projects/glove/ and unzip all files into 'glove/' folder.

Requirements

  • Tensorflow 1.10
  • scikit-learn 0.19
  • six 1.10.0
  • python 3.7

Usage

# Train the model on an essay set <essay_set_id>
python cv_train.py --essay_set_id <eassy_set_id>

There are serval flags within cv_train.py. Below is an example of training the model on essay set 1 with specific learning rate, and epochs.

python cv_train.py --essay_set_id 1 --learning_rate 0.005 --epochs 200

Check all avaiable flags with the following command.

python cv_train.py -h

Note: The model is trained on the training data with 5-fold cross validation. By default, the output layer of the model is a classification layer. There is another model whose output layer is a regression layer in memn2n_kv_regression.py. To train the model with the regression output layer, set flag is_regression to True. For example,

python cv_train.py --essay_set_id 1 --learning_rate 0.005 --epochs 200 --is_regression True
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].