Skip to content

Commit

Permalink
Update extract_bert_features.sh
Browse files Browse the repository at this point in the history
fix small bug window-size --> window_size
  • Loading branch information
juntaoy authored Jul 1, 2020
1 parent 86aee83 commit 22ed5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extract_bert_features/extract_bert_features.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export BERT_MODEL_PATH="./cased_L-24_H-1024_A-16"
PYTHONPATH=. python extract_features.py --input_file="train.jsonlines;dev.jsonlines;test.jsonlines" --output_file=../bert_features.hdf5 --bert_config_file $BERT_MODEL_PATH/bert_config.json --init_checkpoint $BERT_MODEL_PATH/bert_model.ckpt --vocab_file $BERT_MODEL_PATH/vocab.txt --do_lower_case=False --stride 1 --window-size 129
PYTHONPATH=. python extract_features.py --input_file="train.jsonlines;dev.jsonlines;test.jsonlines" --output_file=../bert_features.hdf5 --bert_config_file $BERT_MODEL_PATH/bert_config.json --init_checkpoint $BERT_MODEL_PATH/bert_model.ckpt --vocab_file $BERT_MODEL_PATH/vocab.txt --do_lower_case=False --stride 1 --window_size 129

0 comments on commit 22ed5dc

Please sign in to comment.