Transformers
Safetensors
t5
text2text-generation
protein-language-model
fastplms
custom_code
text-generation-inference
Instructions to use Synthyra/ANKH2_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ANKH2_large with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Synthyra/ANKH2_large", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("Synthyra/ANKH2_large", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,131 Bytes
7266936 729167c 7266936 729167c 7266936 729167c 7266936 729167c 7266936 729167c ff54ea5 729167c 7266936 729167c 7266936 729167c 7266936 729167c 7266936 729167c 7266936 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | {
"_name_or_path": "agemagician/protx-large-1gspan-partreconst-15mlmp-encl48-decl24-ramd128-ranb64-dmodel1536-silu-seq768-tpuv4",
"architectures": [
"T5ForConditionalGeneration"
],
"auto_map": {
"AutoConfig": "modeling_fastplms.FastAnkhConfig",
"AutoModel": "modeling_fastplms.FastAnkhModel",
"AutoModelForMaskedLM": "modeling_fastplms.FastAnkhForMaskedLMExtension",
"AutoModelForSeq2SeqLM": "modeling_fastplms.FastAnkhForConditionalGeneration",
"AutoModelForSequenceClassification": "modeling_fastplms.FastAnkhForSequenceClassification",
"AutoModelForTokenClassification": "modeling_fastplms.FastAnkhForTokenClassification"
},
"d_ff": 3840,
"d_kv": 64,
"d_model": 1536,
"decoder_start_token_id": 0,
"dense_act_fn": "silu",
"dropout_rate": 0.0,
"eos_token_id": 1,
"fastplms_checkpoint_hash": "ca31eec9942e836d0b557a94d3b50e642af3738627a348d6526a6968b8646f8c",
"fastplms_checkpoint_repo_id": "ElnaggarLab/ankh2-ext2",
"fastplms_checkpoint_revision": "aa9b9fa72288c47d9f618ce80c011e24b54e17a8",
"fastplms_model_id": "ankh2_large",
"fastplms_release_tool_revision": "e6dd397a9ad368c998d714f6bd64d40b533d1ed1",
"fastplms_release_tool_sha256": "6d335c05aa49a232086a816deb25d248d1490529e5783acc3355b9bc6f03e0c2",
"fastplms_runtime_bundle_sha256": "437c5f5dcc809678e99b8e36d962e78b7960170c81d0b6289d2baeef7920e40f",
"fastplms_runtime_revision": "e6dd397a9ad368c998d714f6bd64d40b533d1ed1",
"fastplms_source_tree_sha256": "44f108a32fffbe0e689434fbff109aea7d03a7085a550ed5771f2eac434f130d",
"fastplms_weights_revision": "aa9b9fa72288c47d9f618ce80c011e24b54e17a8",
"feed_forward_proj": "gated-silu",
"initializer_factor": 1.0,
"is_encoder_decoder": true,
"is_gated_act": true,
"layer_norm_epsilon": 1e-06,
"model_type": "t5",
"num_decoder_layers": 24,
"num_heads": 16,
"num_layers": 48,
"output_past": true,
"pad_token_id": 0,
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 64,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.26.1",
"use_cache": true,
"vocab_size": 144
}
|