Downloads · 30 days
0
Fb56816/protein-classifier-model
protein-classifier-model is a machine learning model from Fb56816. 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 mit.
Modelo PyTorch MLP para clasificación de familias de proteínas Pfam.
Downloads · 30 days
0
Access
Public
Updated May 22, 2026
Repo size
10.6 MB
Likes
0
Public
Click a slice to open those files.
.pt10.5 MB · 99%
From the Hugging Face model README
Modelo PyTorch MLP para clasificación de familias de proteínas Pfam.
pfam_model_5513.pt — Modelo PyTorch (530→1024→512→256→5513), 92.01% accuracypfam_scaler.pkl — StandardScaler para normalización de featurespfam_encoder.pkl — LabelEncoder con 5,513 familias Pfamfrom huggingface_hub import hf_hub_download
import torch, pickle
model_path = hf_hub_download(repo_id="Fb56816/protein-classifier-model", filename="pfam_model_5513.pt")
scaler_path = hf_hub_download(repo_id="Fb56816/protein-classifier-model", filename="pfam_scaler.pkl")
encoder_path = hf_hub_download(repo_id="Fb56816/protein-classifier-model", filename="pfam_encoder.pkl")
model = torch.load(model_path, map_location="cpu", weights_only=False)
scaler = pickle.load(open(scaler_path, "rb"))
encoder = pickle.load(open(encoder_path, "rb"))