Instructions to use GenerTeam/GENERanno-eukaryote-0.5b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GenerTeam/GENERanno-eukaryote-0.5b-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="GenerTeam/GENERanno-eukaryote-0.5b-base", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("GenerTeam/GENERanno-eukaryote-0.5b-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update "auto_map"
Browse files- config.json +4 -2
config.json
CHANGED
|
@@ -5,7 +5,9 @@
|
|
| 5 |
"auto_map": {
|
| 6 |
"AutoConfig": "configuration_generanno.GenerannoConfig",
|
| 7 |
"AutoModel": "modeling_generanno.GenerannoModel",
|
| 8 |
-
"AutoModelForMaskedLM": "modeling_generanno.GenerannoForMaskedLM"
|
|
|
|
|
|
|
| 9 |
},
|
| 10 |
"attention_bias": false,
|
| 11 |
"attention_dropout": 0.0,
|
|
@@ -31,4 +33,4 @@
|
|
| 31 |
"torch_dtype": "float32",
|
| 32 |
"transformers_version": "4.44.0",
|
| 33 |
"vocab_size": 64
|
| 34 |
-
}
|
|
|
|
| 5 |
"auto_map": {
|
| 6 |
"AutoConfig": "configuration_generanno.GenerannoConfig",
|
| 7 |
"AutoModel": "modeling_generanno.GenerannoModel",
|
| 8 |
+
"AutoModelForMaskedLM": "modeling_generanno.GenerannoForMaskedLM",
|
| 9 |
+
"AutoModelForSequenceClassification": "modeling_generanno.GenerannoForSequenceClassification",
|
| 10 |
+
"AutoModelForTokenClassification": "modeling_generanno.GenerannoForTokenClassification"
|
| 11 |
},
|
| 12 |
"attention_bias": false,
|
| 13 |
"attention_dropout": 0.0,
|
|
|
|
| 33 |
"torch_dtype": "float32",
|
| 34 |
"transformers_version": "4.44.0",
|
| 35 |
"vocab_size": 64
|
| 36 |
+
}
|