Instructions to use kaanino/gpt-mha-SwiGLU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kaanino/gpt-mha-SwiGLU with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import GPT model = GPT.from_pretrained("kaanino/gpt-mha-SwiGLU", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 359 Bytes
7cec89c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"activation_type": "swiglu",
"architectures": [
"GPT"
],
"dropout": 0.1,
"dtype": "float32",
"max_seq_length": 128,
"model_type": "gpt",
"n_embd": 64,
"n_head": 4,
"n_kv_head": 4,
"n_layer": 6,
"norm_type": "rmsnorm",
"pos_enc_type": "relative",
"transformers_version": "5.5.4",
"use_cache": false,
"vocab_size": 50257
}
|