Instructions to use microsoft/deberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/deberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="microsoft/deberta-base")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/deberta-base", dtype="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Updates incorrect tokenizer configuration file
#5
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": "gpt2"
|
| 4 |
-
}
|
|
|
|
| 1 |
+
{"do_lower_case": false, "vocab_type": "gpt2", "model_max_length": 512}
|
|
|
|
|
|
|
|
|