Skip to content

Commit 16ac740

Browse files
committed
Limit the number of lines
1 parent 7444f3a commit 16ac740

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .github/workflows/train.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
curl -o knbc.tar.bz2 https://nlp.ist.i.kyoto-u.ac.jp/kuntt/KNBC_v1.0_090925_utf8.tar.bz2
3838
tar -xf knbc.tar.bz2
3939
python ./scripts/prepare_knbc.py KNBC_v1.0_090925_utf8 -o source_knbc.txt
40-
python ./scripts/encode_data.py source_knbc.txt -o encoded_data.txt
40+
top -n 100 source_knbc.txt > source.txt
41+
python ./scripts/encode_data.py source.txt -o encoded_data.txt
4142
python ./scripts/train.py encoded_data.txt -o weights.txt
4243
python ./scripts/build_model.py weights.txt -o mymodel.json

0 commit comments

Comments
 (0)