Instructions to use tanoManzo/nucleotide-transformer-v2-250m-multi-species_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tanoManzo/nucleotide-transformer-v2-250m-multi-species_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tanoManzo/nucleotide-transformer-v2-250m-multi-species_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tanoManzo/nucleotide-transformer-v2-250m-multi-species_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("tanoManzo/nucleotide-transformer-v2-250m-multi-species_ft_BioS2_1kbpHG19_DHSs_H3K27AC_one_shot", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_name_or_path": "InstaDeepAI/nucleotide-transformer-v2-250m-multi-species", | |
| "add_bias_fnn": false, | |
| "architectures": [ | |
| "EsmForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "InstaDeepAI/nucleotide-transformer-v2-250m-multi-species--esm_config.EsmConfig", | |
| "AutoModelForMaskedLM": "InstaDeepAI/nucleotide-transformer-v2-250m-multi-species--modeling_esm.EsmForMaskedLM", | |
| "AutoModelForSequenceClassification": "InstaDeepAI/nucleotide-transformer-v2-250m-multi-species--modeling_esm.EsmForSequenceClassification", | |
| "AutoModelForTokenClassification": "InstaDeepAI/nucleotide-transformer-v2-250m-multi-species--modeling_esm.EsmForTokenClassification" | |
| }, | |
| "emb_layer_norm_before": false, | |
| "esmfold_config": null, | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "is_folding_model": false, | |
| "layer_norm_eps": 1e-12, | |
| "mask_token_id": 2, | |
| "max_position_embeddings": 2050, | |
| "model_type": "esm", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "rotary", | |
| "problem_type": "single_label_classification", | |
| "tie_word_embeddings": false, | |
| "token_dropout": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.46.0.dev0", | |
| "use_cache": false, | |
| "use_flash_attention": false, | |
| "vocab_list": null, | |
| "vocab_size": 4107 | |
| } | |