Instructions to use TRI-ML/DCLM-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TRI-ML/DCLM-1B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("TRI-ML/DCLM-1B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"params": null,
|
| 7 |
"apply_qk_norm": true,
|
| 8 |
"attn_activation": null,
|
| 9 |
-
"attn_name": "
|
| 10 |
"attn_seq_scalar": null,
|
| 11 |
"attn_seq_scalar_alpha": null,
|
| 12 |
"dim": 2048,
|
|
|
|
| 6 |
"params": null,
|
| 7 |
"apply_qk_norm": true,
|
| 8 |
"attn_activation": null,
|
| 9 |
+
"attn_name": "torch_attn",
|
| 10 |
"attn_seq_scalar": null,
|
| 11 |
"attn_seq_scalar_alpha": null,
|
| 12 |
"dim": 2048,
|