#!/usr/bin/env bash
export MAX_LENGTH=128
export BERT_MODEL=bert-base-cased
export BATCH_SIZE=32
export NUM_EPOCHS=5
export SEED=1
export OUTPUT_DIR_NAME=output-model
export CURRENT_DIR=${PWD}
export OUTPUT_DIR=${CURRENT_DIR}/${OUTPUT_DIR_NAME}
mkdir -p $OUTPUT_DIR
python run_pl_ner.py --data_dir ../zh_data2/
--labels ../zh_data2/labels.txt
--model_name_or_path $BERT_MODEL
--output_dir $OUTPUT_DIR
--max_seq_length $MAX_LENGTH
--num_train_epochs $NUM_EPOCHS
--train_batch_size $BATCH_SIZE
--seed $SEED
--gpus 0
--do_train
--do_predict