timorobrecht commited on
Commit
eebe8da
Β·
verified Β·
1 Parent(s): 705de19

Upload config.yaml

Browse files
Files changed (1) hide show
  1. config.yaml +67 -0
config.yaml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ─────────────────────────────────────────────
2
+ # Chinese BabyLM Evaluation Pipeline Config
3
+ # ─────────────────────────────────────────────
4
+
5
+ # Models to evaluate.
6
+ # Each entry needs:
7
+ # path β€” HuggingFace repo ID or local directory path
8
+ # backend β€” one of: causal, mlm, mntp, enc_dec_mask, enc_dec_prefix
9
+ models:
10
+ - path: timorobrecht/full_chinese_gpu3.1
11
+ backend: causal
12
+ # - path: /path/to/local/model
13
+ # backend: mlm
14
+
15
+ # Tasks to run. Comment out any group or individual task to skip it.
16
+ tasks:
17
+ # NLU Track β€” zero-shot minimal pairs
18
+ zero_shot:
19
+ - zhoblimp
20
+ - hanzi_structure
21
+ - hanzi_pinyin
22
+
23
+ # Cog Track β€” fMRI brain encoding
24
+ cogbench:
25
+ - word_fmri
26
+ - fmri
27
+
28
+ # Fine-tuning Track β€” CLUE tasks
29
+ finetune:
30
+ - afqmc
31
+ - ocnli
32
+ - tnews
33
+ - cluewsc2020
34
+
35
+ # Directories
36
+ eval_dir: evaluation_data # where prepare_chinese_data.py puts data
37
+ results_dir: results # where eval results are written
38
+
39
+ # Save items containing UNK tokens for hanzi track tasks
40
+ save_item_with_unk: true
41
+
42
+ # Fine-tuning hyperparameters
43
+ # Global defaults are applied first; per-task overrides are merged on top.
44
+ finetune_hparams:
45
+ lr: 3.0e-5
46
+ batch_size: 32
47
+ max_epochs: 10
48
+ sequence_length: 128
49
+ seed: 42
50
+
51
+ task_overrides:
52
+ afqmc:
53
+ lr: 3.0e-5
54
+ batch_size: 32
55
+ max_epochs: 10
56
+ ocnli:
57
+ lr: 3.0e-5
58
+ batch_size: 32
59
+ max_epochs: 10
60
+ tnews:
61
+ lr: 3.0e-5
62
+ batch_size: 32
63
+ max_epochs: 10
64
+ cluewsc2020:
65
+ lr: 3.0e-5
66
+ batch_size: 32
67
+ max_epochs: 30