Instructions to use microsoft/deberta-xlarge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/deberta-xlarge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/deberta-xlarge")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/deberta-xlarge", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Pengcheng He commited on
Commit ·
db3bb9d
1
Parent(s): 9fb94ec
Add model type
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"attention_probs_dropout_prob": 0.1,
|
| 3 |
"hidden_act": "gelu",
|
| 4 |
"hidden_dropout_prob": 0.1,
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "deberta",
|
| 3 |
"attention_probs_dropout_prob": 0.1,
|
| 4 |
"hidden_act": "gelu",
|
| 5 |
"hidden_dropout_prob": 0.1,
|