Downloads · 30 days
379
1% of all-time downloads
genbio-ai/GB.RNA-650M
GB.RNA-650M is a machine learning model from genbio-ai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as other.
[](https://github.com/genbio-ai/ModelGenerator/blob/main/LICENSE)
Downloads · 30 days
379
1% of all-time downloads
All-time downloads
72K
Public
Parameters
648M
5.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin2.6 GB · 50%
From the Hugging Face model README
GB.RNA-650M is an RNA foundation model trained on 42 million non-coding RNA sequences at single-nucleotide resolution. For a more detailed description, refer to the SOTA model in this collection https://huggingface.co/genbio-ai/GB.RNA-1.6B
For more information, visit: Model Generator
mgen fit --model SequenceClassification --model.backbone aido_rna_650m --data SequenceClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
mgen test --model SequenceClassification --model.backbone aido_rna_650m --data SequenceClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
from modelgenerator.tasks import Embed
model = Embed.from_config({"model.backbone": "aido_rna_650m"}).eval()
transformed_batch = model.transform({"sequences": ["ACGT", "AGCT"]})
embedding = model(transformed_batch)
print(embedding.shape)
print(embedding)
import torch
from modelgenerator.tasks import SequenceClassification
model = SequenceClassification.from_config({"model.backbone": "aido_rna_650m", "model.n_classes": 2}).eval()
transformed_batch = model.transform({"sequences": ["ACGT", "AGCT"]})
logits = model(transformed_batch)
print(logits)
print(torch.argmax(logits, dim=-1))
import torch
from modelgenerator.tasks import TokenClassification
model = TokenClassification.from_config({"model.backbone": "aido_rna_650m", "model.n_classes": 3}).eval()
transformed_batch = model.transform({"sequences": ["ACGT", "AGCT"]})
logits = model(transformed_batch)
print(logits)
print(torch.argmax(logits, dim=-1))
from modelgenerator.tasks import SequenceRegression
model = SequenceRegression.from_config({"model.backbone": "aido_rna_650m"}).eval()
transformed_batch = model.transform({"sequences": ["ACGT", "AGCT"]})
logits = model(transformed_batch)
print(logits)
from genbio_finetune.tasks import Embed
model = Embed.from_config({"model.backbone": "aido_rna_650m"}).eval()
transformed_batch = model.transform({"sequences": ["ACGT", "ACGT"]})
embedding = model(transformed_batch)
print(embedding.shape)
print(embedding)