-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexperiment_mini.sh
executable file
·39 lines (37 loc) · 1.33 KB
/
experiment_mini.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
python run.py \
--lm_type bert-tiny \
--run_name cpu-test-bert \
--dataset_names ag_news SetFit/amazon_counterfactual_en \
--num_subsamples 2 \
--num_train 10 \
--num_test 10 \
--num_train_epochs_classification 1 \
--num_train_epochs_pretrain 1 \
--per_device_train_batch_size_pretrain 4 \
--per_device_train_batch_size_classification 4 \
--per_device_eval_batch_size_classification 4
python run.py \
--lm_type gpt2-tiny \
--run_name cpu-test-gpt2 \
--dataset_names ag_news SetFit/amazon_counterfactual_en \
--num_subsamples 2 \
--num_train 10 \
--num_test 10 \
--num_train_epochs_classification 1 \
--num_train_epochs_pretrain 1 \
--per_device_train_batch_size_pretrain 4 \
--per_device_train_batch_size_classification 4 \
--per_device_eval_batch_size_classification 4
# python run.py \
# --lm_type mistral-lora-zero-shot-tiny \
# --run_name cpu-test-mistral-lora-zero-shot-tiny \
# --dataset_names ag_news SetFit/amazon_counterfactual_en \
# --num_subsamples 2 \
# --num_train 10 \
# --num_test 10 \
# --num_train_epochs_classification 1 \
# --num_train_epochs_pretrain 1 \
# --per_device_train_batch_size_pretrain 4 \
# --per_device_train_batch_size_classification 4 \
# --per_device_eval_batch_size_classification 4