Download model_config.yaml from ferjorosa/tiny-lm-swallow-code-8k-ibis-16: direct link, hf CLI and curl.
- Browser
- Download file 778 Bytes
-
https://huggingface.co/ferjorosa/tiny-lm-swallow-code-8k-ibis-16/resolve/main/model_config.yaml
- Command line
-
hf download hf://ferjorosa/tiny-lm-swallow-code-8k-ibis-16/model_config.yaml
-
curl -L -o model_config.yaml https://huggingface.co/ferjorosa/tiny-lm-swallow-code-8k-ibis-16/resolve/main/model_config.yaml
778 Bytes
| # Ibis: ~18M param Llama3-style model inspired by PleIAs/Monad (56M, 64 layers). | |
| # We use 16 layers instead of 64 to explore how depth vs. width trade-offs affect | |
| # a model of this scale. Monad uses context_length=2048; we start at 1024 to | |
| # reduce training cost and memory, but 2048 is worth trying if budget allows. | |
| # Reference: https://huggingface.co/PleIAs/Monad | |
| model_type: llama3 | |
| vocab_size: 8192 | |
| context_length: 1024 | |
| d_model: 256 | |
| n_layers: 16 | |
| n_heads: 4 | |
| n_kv_heads: 4 | |
| ffn_hidden_dim: null | |
| multiple_of: 256 | |
| rope_theta: 10000.0 | |
| norm_eps: 1.0e-5 # Same as Llama3 and thus Monad | |
| qkv_bias: false | |
| ffn_bias: false | |
| attn_backend: "sdp" | |
| # Dropout is not encouraged for small models trained on large datasets. | |
| emb_dropout: 0.0 | |
| attn_dropout: 0.0 | |
| resid_dropout: 0.0 | |
| ffn_dropout: 0.0 |