Instructions to use apple/DCLM-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apple/DCLM-7B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("apple/DCLM-7B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
"attn_seq_scalar": null,
|
| 11 |
"attn_seq_scalar_alpha": null,
|
| 12 |
"dim": 4096,
|
| 13 |
-
"ffn_type": "
|
| 14 |
"model": "open_lm_7b",
|
| 15 |
"norm_type": "gain_only_lp_layer_norm",
|
| 16 |
"moe_capacity_factor": 1.25,
|
|
|
|
| 10 |
"attn_seq_scalar": null,
|
| 11 |
"attn_seq_scalar_alpha": null,
|
| 12 |
"dim": 4096,
|
| 13 |
+
"ffn_type": "swiglu_torch",
|
| 14 |
"model": "open_lm_7b",
|
| 15 |
"norm_type": "gain_only_lp_layer_norm",
|
| 16 |
"moe_capacity_factor": 1.25,
|