Instructions to use InstaDeepAI/segment_nt_multi_species with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use InstaDeepAI/segment_nt_multi_species with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="InstaDeepAI/segment_nt_multi_species", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("InstaDeepAI/segment_nt_multi_species", trust_remote_code=True) model = AutoModel.from_pretrained("InstaDeepAI/segment_nt_multi_species", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_bias_fnn": false, | |
| "architectures": [ | |
| "SegmentNT" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "segment_nt_config.SegmentNTConfig", | |
| "AutoModel": "modeling_segment_nt.SegmentNT" | |
| }, | |
| "emb_layer_norm_before": false, | |
| "esmfold_config": null, | |
| "features": [ | |
| "protein_coding_gene", | |
| "lncRNA", | |
| "exon", | |
| "intron", | |
| "splice_donor", | |
| "splice_acceptor", | |
| "5UTR", | |
| "3UTR", | |
| "CTCF-bound", | |
| "polyA_signal", | |
| "enhancer_Tissue_specific", | |
| "enhancer_Tissue_invariant", | |
| "promoter_Tissue_specific", | |
| "promoter_Tissue_invariant" | |
| ], | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 1024, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "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": 29, | |
| "num_layers_head": 2, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "rotary", | |
| "rescaling_factor": 2.44140625, | |
| "tie_word_embeddings": false, | |
| "token_dropout": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.33.2", | |
| "use_cache": false, | |
| "vocab_list": null, | |
| "vocab_size": 4107 | |
| } | |