CoolFace
Modelpublic

timinar/baby-llama-58m

sourceHugging Faceunknownupdated 3y agoView on Hugging Face
11likes2.5kdownloads
Model Card

Baby Llama

Our submission to the strict-small track of the BabyLM challenge.

Baby Llama is a 58M-parameter model, distilled from an ensemble consisting of LLaMA-360M and GPT2-705M, both trained on the babylm_10M dataset.

See the associated paper for a detailed discussion of the training procedure and of the model performance. The training code is available at https://github.com/timinar/BabyLlama.

Hyperparameters for the tasks that require fine-tuning

When evaluating the model on the tasks that require fine-tuning, we noticed that the default hyperparameters suggested by the BabyLM organizers lead to severe overfitting in a number of tasks. To avoid this issue, we have re-tuned those hyperparameters. The sets of hyperparameters selected for each task are listed in the table below.

TaskMaximum learning rateBatch sizeMaximum epochsPatienceEvaluate every (steps)Random seed
CoLA4e-5643102012
SST-25e-56461020012
MRPC3e-5643102012
QQP4e-5641010100012
MNLI5e-56461020012
MNLI-mm5e-56461020012
QNLI5e-56461020012
RTE5e-56461020012
BoolQ3e-41610101012
MultiRC1e-464710100042
WSC5e-71101000200012
CR (Control)5e-564101010012
LC (Control)1e-364121012
MV (Control)5e-56461020012
RP (Control)1e-3641101012
SC (Control)1e-3642101012
CR\_LC1e-3642101012
CR\_RTP5e-56461020012
MV\_LC5e-56461020012
MV\_RTP5e-56461020012
SC\_LC1e-3642101012
SC\_RP1e-3642101012