Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 25720d0

Browse files
authored
Get ptb script change for licensing issues (#8899)
* Print license notification before downloading dataset * Print license notification before downloading dataset
1 parent 8149b34 commit 25720d0

File tree

6 files changed

+54
-24
lines changed

6 files changed

+54
-24
lines changed

example/gluon/word_language_model/get_ptb_data.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20+
echo ""
21+
echo "NOTE: Please review the licensing of the datasets in this script before proceeding"
22+
echo "See https://catalog.ldc.upenn.edu/ldc99t42 for the licensing"
23+
echo "Once that is done, please uncomment the wget commands in this script"
24+
echo ""
2025

2126
RNN_DIR=$(cd `dirname $0`; pwd)
2227
DATA_DIR="${RNN_DIR}/data/"
@@ -26,7 +31,7 @@ if [[ ! -d "${DATA_DIR}" ]]; then
2631
mkdir -p ${DATA_DIR}
2732
fi
2833

29-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
30-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
31-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
32-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;
34+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
35+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
36+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
37+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;

example/model-parallel-lstm/get_ptb_data.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20+
echo ""
21+
echo "NOTE: Please review the licensing of the datasets in this script before proceeding"
22+
echo "See https://catalog.ldc.upenn.edu/ldc99t42 for the licensing"
23+
echo "Once that is done, please uncomment the wget commands in this script"
24+
echo ""
2025

2126
RNN_DIR=$(cd `dirname $0`; pwd)
2227
DATA_DIR="${RNN_DIR}/data/"
@@ -26,7 +31,7 @@ if [[ ! -d "${DATA_DIR}" ]]; then
2631
mkdir -p ${DATA_DIR}
2732
fi
2833

29-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
30-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
31-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
32-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;
34+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
35+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
36+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
37+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;

example/rnn-time-major/get_ptb_data.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20+
echo ""
21+
echo "NOTE: Please review the licensing of the datasets in this script before proceeding"
22+
echo "See https://catalog.ldc.upenn.edu/ldc99t42 for the licensing"
23+
echo "Once that is done, please uncomment the wget commands in this script"
24+
echo ""
2025

2126
RNN_DIR=$(cd `dirname $0`; pwd)
2227
DATA_DIR="${RNN_DIR}/data/"
@@ -26,7 +31,7 @@ if [[ ! -d "${DATA_DIR}" ]]; then
2631
mkdir -p ${DATA_DIR}
2732
fi
2833

29-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
30-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
31-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
32-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;
34+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
35+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
36+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
37+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;

example/rnn/get_ptb_data.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20+
echo ""
21+
echo "NOTE: Please review the licensing of the datasets in this script before proceeding"
22+
echo "See https://catalog.ldc.upenn.edu/ldc99t42 for the licensing"
23+
echo "Once that is done, please uncomment the wget commands in this script"
24+
echo ""
2025

2126
RNN_DIR=$(cd `dirname $0`; pwd)
2227
DATA_DIR="${RNN_DIR}/data/"
@@ -26,7 +31,7 @@ if [[ ! -d "${DATA_DIR}" ]]; then
2631
mkdir -p ${DATA_DIR}
2732
fi
2833

29-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
30-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
31-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
32-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;
34+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
35+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
36+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
37+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;

example/rnn/old/get_ptb_data.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20+
echo ""
21+
echo "NOTE: Please review the licensing of the datasets in this script before proceeding"
22+
echo "See https://catalog.ldc.upenn.edu/ldc99t42 for the licensing"
23+
echo "Once that is done, please uncomment the wget commands in this script"
24+
echo ""
2025

2126
RNN_DIR=$(cd `dirname $0`; pwd)
2227
DATA_DIR="${RNN_DIR}/data/"
@@ -26,7 +31,7 @@ if [[ ! -d "${DATA_DIR}" ]]; then
2631
mkdir -p ${DATA_DIR}
2732
fi
2833

29-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
30-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
31-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
32-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;
34+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
35+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
36+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
37+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;

perl-package/AI-MXNet/examples/get_ptb_data.sh

+9-4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
# specific language governing permissions and limitations
1818
# under the License.
1919

20+
echo ""
21+
echo "NOTE: Please review the licensing of the datasets in this script before proceeding"
22+
echo "See https://catalog.ldc.upenn.edu/ldc99t42 for the licensing"
23+
echo "Once that is done, please uncomment the wget commands in this script"
24+
echo ""
2025

2126
RNN_DIR=$(cd `dirname $0`; pwd)
2227
DATA_DIR="${RNN_DIR}/data/"
@@ -26,7 +31,7 @@ if [[ ! -d "${DATA_DIR}" ]]; then
2631
mkdir -p ${DATA_DIR}
2732
fi
2833

29-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
30-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
31-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
32-
wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;
34+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.train.txt;
35+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.valid.txt;
36+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/ptb/ptb.test.txt;
37+
#wget -P ${DATA_DIR} https://raw.githubusercontent.com/dmlc/web-data/master/mxnet/tinyshakespeare/input.txt;

0 commit comments

Comments
 (0)