Model Details

This model is a 1B llama3 model pretrained from scratch with torchtitan on fineweb-edu with C_AdamW optimizer. 20B tokens seen.

How to use

import torch
from transformers import pipeline


pipe = pipeline(
    "text-generation",
    model="kz919/llama3_1b_cautious_chinchilla_8232025",
)

print(pipe("The key to life is"))

Downstream Eval

ARC, Hellaswag, Lambda_OpenAI, OpenbookQA, PIQA

lm_eval --model hf --model_args pretrained=kz919/llama3_1b_cautious_chinchilla_8232025,dtype="bfloat16",add_bos_token=True --tasks lambada_openai,hellaswag,piqa,arc_easy,arc_challenge,openbookqa --device cuda:7 --batch_size 8
Tasks Version Filter n-shot Metric Value Stderr
arc_challenge 1 none 0 acc ↑ 0.2688 ± 0.0130
none 0 acc_norm ↑ 0.2978 ± 0.0134
arc_easy 1 none 0 acc ↑ 0.6090 ± 0.0100
none 0 acc_norm ↑ 0.5362 ± 0.0102
hellaswag 1 none 0 acc ↑ 0.3473 ± 0.0048
none 0 acc_norm ↑ 0.4193 ± 0.0049
lambada_openai 1 none 0 acc ↑ 0.3229 ± 0.0065
none 0 perplexity ↓ 42.2319 ± 1.7220
openbookqa 1 none 0 acc ↑ 0.2360 ± 0.0190
none 0 acc_norm ↑ 0.3380 ± 0.0212
piqa 1 none 0 acc ↑ 0.6779 ± 0.0109
none 0 acc_norm ↑ 0.6768 ± 0.0109

MMLU

Groups Version Filter n-shot Metric Value Stderr
mmlu 2 none acc ↑ 0.2535 ± 0.0037
- humanities 2 none acc ↑ 0.2578 ± 0.0064
- other 2 none acc ↑ 0.2446 ± 0.0077
- social sciences 2 none acc ↑ 0.2610 ± 0.0079
- stem 2 none acc ↑ 0.2487 ± 0.0077
Downloads last month
19
Safetensors
Model size
1.4B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train kz919/llama3_1b_cautious_chinchilla_8232025