JLTastet commited on
Commit
8b2dfe9
1 Parent(s): e89883a

Add a short description and the fine-tuning hyperparameters

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md CHANGED
@@ -1,3 +1,48 @@
1
  ---
2
  license: unknown
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: unknown
3
+ language:
4
+ - en
5
  ---
6
+
7
+ # Baby Llama
8
+
9
+ Our submission to the `strict-small` track of the [BabyLM challenge](https://babylm.github.io/index.html).
10
+
11
+ Baby Llama is a 58-million-parameter model, distilled from an ensemble consisting of LLaMA-360M and GPT2-705M, both trained on the `babylm_10M` dataset.
12
+
13
+ See the associated paper (arXiv number **TBA**) for a detailed discussion of the training procedure and of the model performance.
14
+
15
+ ### Hyperparameters for the tasks requiring fine-tuning
16
+
17
+ When evaluating the model on the [tasks that require fine-tuning](https://github.com/babylm/evaluation-pipeline/tree/main#fine-tuning),
18
+ we noticed that the [default hyperparameters](https://github.com/babylm/evaluation-pipeline/tree/main#hyperparameters)
19
+ suggested by the BabyLM organizers lead to severe overfitting in a number of tasks.
20
+ To avoid this issue, we have re-tuned those hyperparameters.
21
+
22
+ The sets of hyperparameters selected for each task are listed in the table below.
23
+ A star (*) indicates that the early-stopping criterion was triggered before the specified number of epochs was reached.
24
+
25
+ | Task | Initial learning rate | Batch size | Maximum epochs | Patience | Evaluate every (steps) | Random seed |
26
+ | ---- | ------------- | ---------- | -------- | -------- | ---------- | ---- |
27
+ | CoLA | | | | | | |
28
+ | SST-2 | | | | | | |
29
+ | MRPC | | | | | | |
30
+ | QQP | | | | | | |
31
+ | MNLI | | | | | | |
32
+ | MNLI-mm | | | | | | |
33
+ | QNLI | | | | | | |
34
+ | RTE | 5e-5 | 64 | 6 | 10 | 200 | 12 |
35
+ | BoolQ | 3e-4 | 16 | 10* | 10 | 10 | 12 |
36
+ | MultiRC | 1e-4 | 64 | 7 | 10 | 1000 | 42 |
37
+ | WSC | 5e-7 | 1 | 10 | 1000 | 2000 | 12 |
38
+ | CR (Control) | | | | | | |
39
+ | LC (Control) | | | | | | |
40
+ | MV (Control) | | | | | | |
41
+ | RP (Control) | | | | | | |
42
+ | SC (Control) | | | | | | |
43
+ | CR\_LC | | | | | | |
44
+ | CR\_RTP | | | | | | |
45
+ | MV\_LC | | | | | | |
46
+ | MV\_RTP | | | | | | |
47
+ | SC\_LC | | | | | | |
48
+ | SC\_RP | | | | | | |