Instructions to use google/switch-base-8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-base-8 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/switch-base-8") model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-8") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
| 33 |
"router_bias": false,
|
| 34 |
"router_dtype": "float32",
|
| 35 |
"router_ignore_padding_tokens": false,
|
| 36 |
-
"router_jitter_noise": 0.
|
| 37 |
"router_type": "tokens_masked",
|
| 38 |
"task_specific_params": {
|
| 39 |
"summarization": {
|
|
|
|
| 33 |
"router_bias": false,
|
| 34 |
"router_dtype": "float32",
|
| 35 |
"router_ignore_padding_tokens": false,
|
| 36 |
+
"router_jitter_noise": 0.01,
|
| 37 |
"router_type": "tokens_masked",
|
| 38 |
"task_specific_params": {
|
| 39 |
"summarization": {
|