Downloads · 30 days
2
10% of all-time downloads
igemugm/mistral-athaliana-stress-predictor
mistral-athaliana-stress-predictor is a machine learning model from igemugm. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of Mistral for stress region prediction in DNA sequences. It was developed by the iGEM UGM-Indonesia team as part of the 2025 iGEM project.
Downloads · 30 days
2
10% of all-time downloads
All-time downloads
20
Public
Repo size
3.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.7 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Mistral for stress region prediction in DNA sequences.
It was developed by the iGEM UGM-Indonesia team as part of the 2025 iGEM project.
The Mistral-Stress-Predictor is designed to classify DNA sequences into stress and non-stress regions.
This model leverages the Mistral architecture and has been fine-tuned on a custom dataset curated by the iGEM UGM team.
| Metric | Value |
|---|---|
| Accuracy | 73.76% |
| Precision | 76.86% |
| Recall | 67.70% |
| F1-score | 71.99% |
You can use this model for DNA stress prediction tasks with Hugging Face Transformers.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
tokenizer = AutoTokenizer.from_pretrained("igemugm/mistral-athaliana-stress-predictor", trust_remote_code=True)
model = AutoModelForSequenceClassification.from_pretrained("igemugm/mistral-athaliana-stress-predictor", trust_remote_code=True)
sequence = "ACGTAGCATCGGATCTATCTATCGACACTTGGTTATCGATCTACGAGCATCTCGTTAGC"
inputs = tokenizer(sequence, return_tensors="pt")
if 'token_type_ids' in inputs:
inputs.pop('token_type_ids')
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.softmax(outputs.logits, dim=-1)
predicted_class = torch.argmax(predictions, dim=1).item()
print("Predicted class:", predicted_class)
print("Confidence scores:", predictions)