Instructions to use WolfInk/SmolAlex-360M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use WolfInk/SmolAlex-360M with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("HuggingFaceTB/SmolLM2-360M") model = PeftModel.from_pretrained(base_model, "WolfInk/SmolAlex-360M") - Notebooks
- Google Colab
- Kaggle
Download config.json from WolfInk/SmolAlex-360M: direct link, hf CLI and curl.
- Browser
- Download file 727 Bytes
-
https://huggingface.co/WolfInk/SmolAlex-360M/resolve/main/config.json
- Command line
-
hf download hf://WolfInk/SmolAlex-360M/config.json
-
curl -L -o config.json https://huggingface.co/WolfInk/SmolAlex-360M/resolve/main/config.json
727 Bytes
| { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": 0, | |
| "eos_token_id": 0, | |
| "head_dim": 64, | |
| "hidden_act": "silu", | |
| "hidden_size": 960, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 2560, | |
| "is_llama_config": true, | |
| "max_position_embeddings": 8192, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "num_attention_heads": 15, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 5, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_interleaved": false, | |
| "rope_scaling": null, | |
| "rope_theta": 100000, | |
| "tie_word_embeddings": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.51.3", | |
| "use_cache": true, | |
| "vocab_size": 49152 | |
| } | |