Wrostdevil's picture
Upload folder using huggingface_hub
9270c9a verified
raw
history blame contribute delete
709 Bytes
PATHO-PRETER v1 (A100 Fine-Tune)
================================
Trained by: Rohit
Base Model: Nucleotide Transformer 500M
Architecture: Hybrid (DNA Sequence + 9 Conservation Scores)
HOW TO LOAD:
1. Unzip this folder.
2. Place 'modeling_pathopreter.py' in your python path.
3. Run:
from modeling_pathopreter import SequenceClassificationWithFeatures
import numpy as np
# Load Model
model = SequenceClassificationWithFeatures.from_pretrained("./PathoPreter_Final_A100")
# Load Scalers (Crucial for inference!)
means = np.load("./PathoPreter_Final_A100/feat_means.npy")
stds = np.load("./PathoPreter_Final_A100/feat_stds.npy")
# Preprocessing
# (features - means) / stds