Instructions to use monsoon-nlp/dna-blockdiff with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use monsoon-nlp/dna-blockdiff with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="monsoon-nlp/dna-blockdiff", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("monsoon-nlp/dna-blockdiff", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8158986
1
Parent(s): 0a77499
eos
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
-
"eos_token":
|
| 4 |
"model_max_length": 1024,
|
| 5 |
"tokenizer_class": "EsmTokenizer"
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
+
"eos_token": "<eos>",
|
| 4 |
"model_max_length": 1024,
|
| 5 |
"tokenizer_class": "EsmTokenizer"
|
| 6 |
}
|