Instructions to use magicslabnu/OutEffHop_bert_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use magicslabnu/OutEffHop_bert_base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="magicslabnu/OutEffHop_bert_base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("magicslabnu/OutEffHop_bert_base", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("magicslabnu/OutEffHop_bert_base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -6
config.json
CHANGED
|
@@ -26,10 +26,4 @@
|
|
| 26 |
"use_cache": true,
|
| 27 |
"vocab_size": 30522,
|
| 28 |
"attn_implementation":"OutEffHop",
|
| 29 |
-
"auto_map":
|
| 30 |
-
{"AutoConfig": "configuration_bert.BertConfig",
|
| 31 |
-
"AutoModel": "modeling_bert.BertModel",
|
| 32 |
-
"AutoModelForMaskedLM": "modeling_bert.BertForMaskedLM",
|
| 33 |
-
"AutoModelForSequenceClassification": "modeling_bert.BertForSequenceClassification"
|
| 34 |
-
},
|
| 35 |
}
|
|
|
|
| 26 |
"use_cache": true,
|
| 27 |
"vocab_size": 30522,
|
| 28 |
"attn_implementation":"OutEffHop",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
}
|