Instructions to use VMware/vbert-2021-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VMware/vbert-2021-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="VMware/vbert-2021-large")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("VMware/vbert-2021-large") model = AutoModelForMaskedLM.from_pretrained("VMware/vbert-2021-large") - Notebooks
- Google Colab
- Kaggle
Commit ·
b1370b9
1
Parent(s): 2c132b0
Modified architectures field in config.json to ""BertForMaskedLM" from "BertForPreTraning"
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "vbert_2021_large",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "vbert_2021_large",
|
| 3 |
"architectures": [
|
| 4 |
+
"BertForMaskedLM"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|