Downloads · 30 days
23
28% of all-time downloads
EscheWang/AIDO.RNA-1.6B-hf
AIDO.RNA-1.6B-hf is a fill-mask model from EscheWang. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as apache-2.0.
This repository re-packages the weights of genbio-ai/AIDO.RNA-1.6B (Apache-2.0) so that the model can be loaded directly via AutoModel.frompretrained(..., trustremotecode=True). The architecture and weights are unchan…
Downloads · 30 days
23
28% of all-time downloads
All-time downloads
81
Public
Parameters
1.6B
6.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.4 GB · 100%
From the Hugging Face model README
This repository re-packages the weights of genbio-ai/AIDO.RNA-1.6B (Apache-2.0) so that the model can be loaded directly via AutoModel.from_pretrained(..., trust_remote_code=True). The architecture and weights are unchanged — only the tokenizer plumbing and an auto_map entry in config.json have been added, along with a bundled modeling_aido.py / configuration_aido.py / tokenization_aido.py so HuggingFace's remote-code mechanism can discover them.
Source: https://github.com/genbio-ai/modelgenerator (Apache-2.0).
from transformers import AutoModel, AutoTokenizer
model = AutoModel.from_pretrained("EscheWang/AIDO.RNA-1.6B-hf", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("EscheWang/AIDO.RNA-1.6B-hf", trust_remote_code=True)
# NOTE: the tokenizer is a BertWordPieceLowerCase variant that expects
# space-separated RNA characters (one token per whitespace unit).
enc = tokenizer("A C G U A C G U", return_tensors="pt", add_special_tokens=True)
out = model(enc.input_ids.int(), attention_mask=enc.attention_mask)
print(out.last_hidden_state.shape) # (1, seq_len + 2, 2048)
"A C G U"), not a contiguous string.bert. prefix from the upstream checkpoint; the base_model_prefix in modeling_aido.py is set to "bert" so HuggingFace's from_pretrained auto-strip correctly loads them into AidoRnaModel.Apache-2.0, matching the upstream source release.