Instructions to use google/switch-c-2048 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-c-2048 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("google/switch-c-2048", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
#6
by Karim-Gamal - opened
- config.json +1 -0
config.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
| 11 |
"expert_capacity": 64,
|
| 12 |
"feed_forward_proj": "relu",
|
| 13 |
"initializer_factor": 1.0,
|
|
|
|
| 14 |
"is_encoder_decoder": true,
|
| 15 |
"is_full_sparse": true,
|
| 16 |
"is_gated_act": false,
|
|
|
|
| 11 |
"expert_capacity": 64,
|
| 12 |
"feed_forward_proj": "relu",
|
| 13 |
"initializer_factor": 1.0,
|
| 14 |
+
"decoder_start_token_id": 0,
|
| 15 |
"is_encoder_decoder": true,
|
| 16 |
"is_full_sparse": true,
|
| 17 |
"is_gated_act": false,
|