Instructions to use microsoft/deberta-v2-xxlarge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/deberta-v2-xxlarge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/deberta-v2-xxlarge")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/deberta-v2-xxlarge", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Updates incorrect tokenizer configuration file
#4
by lysandre HF Staff - opened
- tokenizer_config.json +1 -4
tokenizer_config.json
CHANGED
|
@@ -1,4 +1 @@
|
|
| 1 |
-
{
|
| 2 |
-
"do_lower_case": false,
|
| 3 |
-
"vocab_type": "spm"
|
| 4 |
-
}
|
|
|
|
| 1 |
+
{"do_lower_case": false, "vocab_type": "spm", "model_max_length": 512}
|
|
|
|
|
|
|
|
|