forked from THUDM/GLM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
817 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
EXPERIMENT_NAME=${MODEL_TYPE}-cnndm_org | ||
TASK_NAME=cnn_dm_original | ||
DATA_PATH="/root/data/cnn_dm_original" | ||
|
||
TRAIN_ARGS="--epochs 15 \ | ||
--batch-size 8 \ | ||
--lr 3e-5 \ | ||
--lr-decay-style linear \ | ||
--warmup 0.06 \ | ||
--weight-decay 1.0e-1 | ||
--label-smoothing 0.1" | ||
|
||
COMMON_ARGS="--save-interval 10000 \ | ||
--log-interval 50 \ | ||
--eval-interval 1000 \ | ||
--eval-iters 100" | ||
|
||
TASK_ARGS="--src-seq-length 608 \ | ||
--tgt-seq-length 160 \ | ||
--min-tgt-length 55 \ | ||
--length-penalty 0.7 \ | ||
--no-repeat-ngram-size 3 \ | ||
--num-beams 5 \ | ||
--select-topk \ | ||
--eval-batch-size 4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.