Instructions to use hyoo14/DNABERT2_PD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use hyoo14/DNABERT2_PD with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("zhihan1996/DNABERT-2-117M") model = PeftModel.from_pretrained(base_model, "hyoo14/DNABERT2_PD") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse files- tokenizer.json +0 -0
- tokenizer_config.json +2 -1
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
CHANGED
|
@@ -41,8 +41,9 @@
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
-
"clean_up_tokenization_spaces":
|
| 45 |
"cls_token": "[CLS]",
|
|
|
|
| 46 |
"mask_token": "[MASK]",
|
| 47 |
"model_max_length": 512,
|
| 48 |
"pad_token": "[PAD]",
|
|
|
|
| 41 |
"special": true
|
| 42 |
}
|
| 43 |
},
|
| 44 |
+
"clean_up_tokenization_spaces": false,
|
| 45 |
"cls_token": "[CLS]",
|
| 46 |
+
"extra_special_tokens": {},
|
| 47 |
"mask_token": "[MASK]",
|
| 48 |
"model_max_length": 512,
|
| 49 |
"pad_token": "[PAD]",
|