Transformers
Safetensors
t5
text2text-generation
protein-language-model
fastplms
custom_code
text-generation-inference
Instructions to use Synthyra/ANKH_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ANKH_base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Synthyra/ANKH_base", trust_remote_code=True) model = AutoModelForSeq2SeqLM.from_pretrained("Synthyra/ANKH_base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architecture": "ANKH", | |
| "artifact_checkpoint": { | |
| "files": { | |
| "config.json": "git-sha1:abd44a36b5469e9a7cb019e4059b5ac1392d8422", | |
| "pytorch_model.bin": "sha256:9b2a886374f0ff4a893f4e7a989deed76bb2458c8998bd5202ea8e97d92ddcc3", | |
| "special_tokens_map.json": "git-sha1:55b145827029ae9672e50d4bb368540daacce791", | |
| "tokenizer.json": "git-sha1:212c5ef08819fa2463c6289ba4ef7db30e715c0a", | |
| "tokenizer_config.json": "git-sha1:a8a872ae3441e7cc85ce19210dff1e4c5d2d7bd0" | |
| }, | |
| "repo_id": "ElnaggarLab/ankh-base", | |
| "revision": "d99cb6b966530dfc2ae96bc69d9255c2a07308b0", | |
| "unresolved_files": [] | |
| }, | |
| "artifact_source": "official", | |
| "attestations": { | |
| "complete_artifact": { | |
| "redistributable": true, | |
| "release_tool_revision": "1b9ce023f1e06571cf3e6324be0610ffa53e0a4a", | |
| "release_tool_sha256": "1459b5d7d13d9b07bd97b3eee764f2ce73623e15e32d07ddf6825c2a9509afb9", | |
| "runtime_revision": "1b9ce023f1e06571cf3e6324be0610ffa53e0a4a", | |
| "scope": "weights+runtime", | |
| "weights_license_status": "resolved", | |
| "weights_revision": "d99cb6b966530dfc2ae96bc69d9255c2a07308b0" | |
| }, | |
| "runtime_update": { | |
| "path": "runtime-attestation.json", | |
| "redistributable": true, | |
| "release_tool_revision": "1b9ce023f1e06571cf3e6324be0610ffa53e0a4a", | |
| "release_tool_sha256": "1459b5d7d13d9b07bd97b3eee764f2ce73623e15e32d07ddf6825c2a9509afb9", | |
| "scope": "runtime-only", | |
| "weights_license_status": "resolved", | |
| "weights_repo_id": "Synthyra/ANKH_base", | |
| "weights_revision": "7ec329aae8e3e174bf22a1eb9e0e9fcc12b53092" | |
| } | |
| }, | |
| "auto_map": { | |
| "AutoConfig": "fastplms.models.ankh.modeling_ankh.FastAnkhConfig", | |
| "AutoModel": "fastplms.models.ankh.modeling_ankh.FastAnkhModel", | |
| "AutoModelForMaskedLM": "fastplms.models.ankh.modeling_ankh.FastAnkhForMaskedLMExtension", | |
| "AutoModelForSeq2SeqLM": "fastplms.models.ankh.modeling_ankh.FastAnkhForConditionalGeneration", | |
| "AutoModelForSequenceClassification": "fastplms.models.ankh.modeling_ankh.FastAnkhForSequenceClassification", | |
| "AutoModelForTokenClassification": "fastplms.models.ankh.modeling_ankh.FastAnkhForTokenClassification" | |
| }, | |
| "bf16_execution": "static_parameters", | |
| "canonical_weights": { | |
| "format": "safetensors", | |
| "index": "model.safetensors.index.json", | |
| "index_digest": "sha256:e4930167d0800ef0bc06234bb265cbb021d93f0561c23fa48dfa6c7a4373bf79", | |
| "max_shard_bytes": 5368709120, | |
| "shards": { | |
| "model-00001-of-00001.safetensors": "sha256:c943d25cacdafd2c8e3518a74450b5f90f715becf30ceb24c327f1c5a0bc8b5d" | |
| }, | |
| "source_schema": "official", | |
| "state_digest": { | |
| "algorithm": "sha256", | |
| "schema_version": 1, | |
| "sha256": "cdd8d30d88e5bf41f44e1eef4470d8e46607aba5f7c7c805b06c035b89c8c16f" | |
| }, | |
| "state_transform": "ankh_t5_to_fastplms_v1", | |
| "tensor_count": 776, | |
| "total_size": 2946699264 | |
| }, | |
| "checkpoint_license": "CC-BY-NC-SA-4.0", | |
| "conversion": { | |
| "id": "ankh_t5_to_fastplms_v1", | |
| "record": "Input: the pinned official ANKH T5 checkpoint. Transformation: apply ankh_t5_to_fastplms_v1 to the official encoder and sequence-to-sequence heads. Output: the pinned Synthyra ANKH checkpoint. Validation: release parity compares exact mapped state, tokenizer behavior, official heads, and inference. Limitation: the separately named FastPLMs masked-language-model extension is not an official ANKH head." | |
| }, | |
| "conversion_equality_attestation": { | |
| "attestation_sha256": "a7573abbf6c7946555b64af1b5efcf6f384b4d645af4da4b1e5535dd69d38aa1", | |
| "canonical_state": { | |
| "algorithm": "sha256", | |
| "schema_version": 1, | |
| "sha256": "cdd8d30d88e5bf41f44e1eef4470d8e46607aba5f7c7c805b06c035b89c8c16f" | |
| }, | |
| "conversion_record_sha256": "34015dc5c07465d93b54349e6ac3b68179101bb231d7bac41af308287d69dc7d", | |
| "model_id": "ankh_base", | |
| "schema_version": 1, | |
| "source_checkpoint": { | |
| "identity_sha256": "5b82812134aeb215463b6dcc5f0fb6659717dc8b94b73cad00a11c122a70a32b", | |
| "repo_id": "ElnaggarLab/ankh-base", | |
| "revision": "d99cb6b966530dfc2ae96bc69d9255c2a07308b0" | |
| }, | |
| "state_transform": "ankh_t5_to_fastplms_v1" | |
| }, | |
| "fast_checkpoint": { | |
| "files": { | |
| "config.json": "git-sha1:7e1cbce6d08f9bb64eee4410899b1c6b4054f418", | |
| "model.safetensors": "sha256:b0d3473cac1bda90e39cde54f2abe86da1fc84f872c833ca3415672776dccb95", | |
| "special_tokens_map.json": "git-sha1:a2d8d626c31389a935e197fb94072e2414a6e7d1", | |
| "tokenizer.json": "git-sha1:0734d752d12d0f46ac96467fbceb1c4bfbeee0be", | |
| "tokenizer_config.json": "git-sha1:db0b80de72d3b16242b9eda74ed4663e39c65bcf" | |
| }, | |
| "repo_id": "Synthyra/ANKH_base", | |
| "revision": "7ec329aae8e3e174bf22a1eb9e0e9fcc12b53092", | |
| "unresolved_files": [] | |
| }, | |
| "fastplms_version": "1.0.0", | |
| "generator": { | |
| "name": "tools.artifacts.build", | |
| "version": 3 | |
| }, | |
| "hub_license_metadata": { | |
| "license": "cc-by-nc-sa-4.0" | |
| }, | |
| "legal_files": { | |
| "LICENSE": "sha256:2d2b50c7b1414bff1189a1db1f0cfb92e3e064b50f4c2b1019827b683e1b629a", | |
| "THIRD_PARTY_NOTICES.md": "sha256:25704b3c76404696cae52e7fca13088d329f70f412687340351259e86cd62baa" | |
| }, | |
| "model_id": "ankh_base", | |
| "official_checkpoint": { | |
| "files": { | |
| "config.json": "git-sha1:abd44a36b5469e9a7cb019e4059b5ac1392d8422", | |
| "pytorch_model.bin": "sha256:9b2a886374f0ff4a893f4e7a989deed76bb2458c8998bd5202ea8e97d92ddcc3", | |
| "special_tokens_map.json": "git-sha1:55b145827029ae9672e50d4bb368540daacce791", | |
| "tokenizer.json": "git-sha1:212c5ef08819fa2463c6289ba4ef7db30e715c0a", | |
| "tokenizer_config.json": "git-sha1:a8a872ae3441e7cc85ce19210dff1e4c5d2d7bd0" | |
| }, | |
| "repo_id": "ElnaggarLab/ankh-base", | |
| "revision": "d99cb6b966530dfc2ae96bc69d9255c2a07308b0", | |
| "unresolved_files": [] | |
| }, | |
| "oracle_assets": [], | |
| "redistributable": true, | |
| "release_tool_revision": "1b9ce023f1e06571cf3e6324be0610ffa53e0a4a", | |
| "release_tool_sha256": "1459b5d7d13d9b07bd97b3eee764f2ce73623e15e32d07ddf6825c2a9509afb9", | |
| "runtime_assets": [], | |
| "runtime_bundle_sha256": "17b8f83a33e63d941e3edfb8db2d8381286046b572f94194e576ca394d997597", | |
| "runtime_revision": "1b9ce023f1e06571cf3e6324be0610ffa53e0a4a", | |
| "schema_version": 4, | |
| "source_tree_sha256": "5eb598fd991b5447e3bb6a18c92bd2300be1d94a1e169504725bc56127c1d6bc", | |
| "state_transform": "ankh_t5_to_fastplms_v1", | |
| "tokenizer_auto_map": null, | |
| "tokenizer_checkpoint": { | |
| "files": { | |
| "special_tokens_map.json": "git-sha1:55b145827029ae9672e50d4bb368540daacce791", | |
| "tokenizer.json": "git-sha1:212c5ef08819fa2463c6289ba4ef7db30e715c0a", | |
| "tokenizer_config.json": "git-sha1:a8a872ae3441e7cc85ce19210dff1e4c5d2d7bd0" | |
| }, | |
| "repo_id": "ElnaggarLab/ankh-base", | |
| "revision": "d99cb6b966530dfc2ae96bc69d9255c2a07308b0", | |
| "unresolved_files": [] | |
| }, | |
| "tokenizer_class": null, | |
| "upstreams": [ | |
| { | |
| "canonical_license_files": { | |
| "LICENSE.md": "sha256:cd041d7f9f52936e8824ac3f754e9c67410763205fc8a7020ba74fc8b6edc088" | |
| }, | |
| "distribution_files": { | |
| "LICENSE.md": "sha256:cd041d7f9f52936e8824ac3f754e9c67410763205fc8a7020ba74fc8b6edc088" | |
| }, | |
| "id": "ankh", | |
| "license": "CC-BY-NC-SA-4.0", | |
| "path": "vendor/upstream/ankh", | |
| "revision": "02b4e25ce5389b9e771c9df6e546c62af1216f8e", | |
| "url": "https://github.com/agemagician/Ankh.git" | |
| } | |
| ], | |
| "weights_license_status": "resolved", | |
| "weights_revision": "d99cb6b966530dfc2ae96bc69d9255c2a07308b0" | |
| } | |