Skip to content

Commit 90ef82b

Browse files
author
chongjiu.jin
committed
a2
1 parent 94d7ba8 commit 90ef82b

14 files changed

+1470
-0
lines changed
444 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rm -f assignment2.zip
2+
zip -r assignment2.zip *.py *.png saved_params_40000.npy
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
DATASETS_DIR="utils/datasets"
4+
mkdir -p $DATASETS_DIR
5+
6+
cd $DATASETS_DIR
7+
8+
# Get Stanford Sentiment Treebank
9+
if hash wget 2>/dev/null; then
10+
wget http://nlp.stanford.edu/~socherr/stanfordSentimentTreebank.zip
11+
else
12+
curl -L http://nlp.stanford.edu/~socherr/stanfordSentimentTreebank.zip -o stanfordSentimentTreebank.zip
13+
fi
14+
unzip stanfordSentimentTreebank.zip
15+
rm stanfordSentimentTreebank.zip

0 commit comments

Comments
 (0)