Instructions to use martincc98/bert_a3_new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use martincc98/bert_a3_new with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="martincc98/bert_a3_new")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("martincc98/bert_a3_new") model = AutoModelForMaskedLM.from_pretrained("martincc98/bert_a3_new", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "bert-base-uncased",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
|
@@ -142,7 +142,6 @@
|
|
| 142 |
"num_hidden_layers": 12,
|
| 143 |
"pad_token_id": 0,
|
| 144 |
"position_embedding_type": "absolute",
|
| 145 |
-
"torch_dtype": "float32",
|
| 146 |
"transformers_version": "4.44.2",
|
| 147 |
"type_vocab_size": 2,
|
| 148 |
"use_cache": true,
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "bert-base-uncased",
|
| 3 |
"architectures": [
|
| 4 |
+
"BertForMaskedLM"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
"classifier_dropout": null,
|
|
|
|
| 142 |
"num_hidden_layers": 12,
|
| 143 |
"pad_token_id": 0,
|
| 144 |
"position_embedding_type": "absolute",
|
|
|
|
| 145 |
"transformers_version": "4.44.2",
|
| 146 |
"type_vocab_size": 2,
|
| 147 |
"use_cache": true,
|