Instructions to use zhihan1996/DNA_bert_4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhihan1996/DNA_bert_4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="zhihan1996/DNA_bert_4", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("zhihan1996/DNA_bert_4", trust_remote_code=True) model = AutoModelForMaskedLM.from_pretrained("zhihan1996/DNA_bert_4", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Commit ·
668946a
1
Parent(s): 8773b70
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -55,5 +55,5 @@
|
|
| 55 |
"torchscript": false,
|
| 56 |
"type_vocab_size": 2,
|
| 57 |
"use_bfloat16": false,
|
| 58 |
-
"vocab_size":
|
| 59 |
}
|
|
|
|
| 55 |
"torchscript": false,
|
| 56 |
"type_vocab_size": 2,
|
| 57 |
"use_bfloat16": false,
|
| 58 |
+
"vocab_size": 261
|
| 59 |
}
|