Spaces:
Build error
Build error
File size: 555 Bytes
6c25ddb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
#!/usr/bin/env bash
set -e
set -x
CKPT_NAME='gen-KAIROS'
rm -rf checkpoints/${CKPT_NAME}
# does not use informative mentions
python train.py --model=constrained-gen --ckpt_name=${CKPT_NAME} \
--dataset=KAIROS \
--train_file=data/wikievents/train.jsonl \
--val_file=data/wikievents/dev.jsonl \
--test_file=data/wikievents/test.jsonl \
--train_batch_size=2 \
--eval_batch_size=4 \
--learning_rate=3e-5 \
--accumulate_grad_batches=8 \
--num_train_epochs=3 \
--mark_trigger \
--coref_dir=data/wikievents/coref
|