Instructions to use mineself2016/GeneMamba with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mineself2016/GeneMamba with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mineself2016/GeneMamba", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mineself2016/GeneMamba", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Remove stale file: 48l-768d/config.json
Browse files- 48l-768d/config.json +0 -28
48l-768d/config.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"model_type": "genemamba",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"GeneMambaModel"
|
| 5 |
-
],
|
| 6 |
-
"vocab_size": 25426,
|
| 7 |
-
"max_position_embeddings": 2048,
|
| 8 |
-
"hidden_size": 768,
|
| 9 |
-
"num_hidden_layers": 48,
|
| 10 |
-
"intermediate_size": 2048,
|
| 11 |
-
"hidden_dropout_prob": 0.1,
|
| 12 |
-
"initializer_range": 0.02,
|
| 13 |
-
"mamba_mode": "gate",
|
| 14 |
-
"embedding_pooling": "mean",
|
| 15 |
-
"num_labels": 2,
|
| 16 |
-
"pad_token_id": 1,
|
| 17 |
-
"eos_token_id": 2,
|
| 18 |
-
"bos_token_id": 0,
|
| 19 |
-
"use_cache": true,
|
| 20 |
-
"torch_dtype": "float32",
|
| 21 |
-
"transformers_version": "4.40.2",
|
| 22 |
-
"auto_map": {
|
| 23 |
-
"AutoConfig": "configuration_genemamba.GeneMambaConfig",
|
| 24 |
-
"AutoModel": "modeling_genemamba.GeneMambaModel",
|
| 25 |
-
"AutoModelForMaskedLM": "modeling_genemamba.GeneMambaForMaskedLM",
|
| 26 |
-
"AutoModelForSequenceClassification": "modeling_genemamba.GeneMambaForSequenceClassification"
|
| 27 |
-
}
|
| 28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|