Download model_config.json from aramkris/mini-llm-chat: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/aramkris/mini-llm-chat/resolve/main/model_config.json
- Command line
-
hf download hf://aramkris/mini-llm-chat/model_config.json
-
curl -L -o model_config.json https://huggingface.co/aramkris/mini-llm-chat/resolve/main/model_config.json
1.31 kB
| { | |
| "model": { | |
| "block_size": 512, | |
| "vocab_size": 50257, | |
| "n_layer": 12, | |
| "n_head": 12, | |
| "n_embd": 768, | |
| "dropout": 0.0, | |
| "bias": false, | |
| "pos_encoding": "rope", | |
| "rope_theta": 10000.0, | |
| "norm": "layernorm", | |
| "mlp": "swiglu", | |
| "qk_norm": true, | |
| "n_kv_head": 0, | |
| "block_repeat": 1, | |
| "n_experts": 1, | |
| "moe_top_k": 1, | |
| "moe_aux_weight": 0.01, | |
| "gelu_approx": "none", | |
| "causal": true, | |
| "mtp_heads": 1 | |
| }, | |
| "name": "mini-llm-chat", | |
| "chat": true, | |
| "stage": 4, | |
| "params": 123552768, | |
| "datasets": [ | |
| "BaoMinhTran/mini-fineweb-edu", | |
| "HuggingFaceTB/cosmopedia", | |
| "HuggingFaceTB/smol-smoltalk" | |
| ], | |
| "base_model": "mini-llm-chat-sft", | |
| "training": { | |
| "preference tuning (DPO)": { | |
| "data": "1,891 pairs from smol-smoltalk questions: the reference answer preferred to the model's own greedy answer; 100 pairs held out", | |
| "updates": 946, | |
| "pairs_per_update": 4, | |
| "epochs": 2, | |
| "learning_rate": 2e-06, | |
| "beta": 0.1, | |
| "likelihood_weight": 0.2, | |
| "hardware": "Apple M5 (MPS), float32", | |
| "time": "19 min" | |
| } | |
| }, | |
| "tokenizer": "gpt2 (tiktoken)", | |
| "source_id": "chat-mini-fineweb-ed-202611152150-2746ba", | |
| "code": "https://github.com/a-ramakrishnan/mini_llm", | |
| "chat_format": "smoltalk-plain-v1" | |
| } |