Instructions to use patrickvonplaten/bert2bert-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickvonplaten/bert2bert-tiny with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/bert2bert-tiny") model = AutoModelForSeq2SeqLM.from_pretrained("patrickvonplaten/bert2bert-tiny") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +3 -3
config.json
CHANGED
|
@@ -117,6 +117,6 @@
|
|
| 117 |
"xla_device": null
|
| 118 |
},
|
| 119 |
"is_encoder_decoder": true,
|
| 120 |
-
|
| 121 |
-
"
|
| 122 |
-
}
|
|
|
|
| 117 |
"xla_device": null
|
| 118 |
},
|
| 119 |
"is_encoder_decoder": true,
|
| 120 |
+
"model_type": "encoder-decoder",
|
| 121 |
+
"tie_encoder_decoder": true
|
| 122 |
+
}
|