-
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/huseinzol05/malaya
- Loading branch information
Showing
2 changed files
with
496 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
rm -rf /dev/shm/* | ||
WANDB_PROJECT=deberta-base \ | ||
~/.local/bin/torchrun --nproc_per_node 4 \ | ||
-m run-mlm \ | ||
--tokenizer_name malaysia-ai/bpe-tokenizer \ | ||
--config_name microsoft/deberta-v3-base \ | ||
--per_device_train_batch_size 75 \ | ||
--do_train \ | ||
--max_seq_len 512 \ | ||
--output_dir debertav2-base-malaysian-v2 \ | ||
--mlm_probability 0.15 \ | ||
--train_file "mosaic-combine-512" \ | ||
--logging_steps="1" \ | ||
--save_steps="1000" \ | ||
--bf16 \ | ||
--learning_rate 2e-4 \ | ||
--warmup_steps 10000 \ | ||
--do_train \ | ||
--do_eval false \ | ||
--num_train_epochs 10 \ | ||
--save_total_limit 2 |
Oops, something went wrong.