Downloads · 30 days
69
42% of all-time downloads
RizFie/Eleuthia-v1
Eleuthia-v1 is a text classification model from RizFie. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
Eleuthia is a binary protein variant classifier that predicts whether a mutated protein sequence is likely Pathogenic or Benign. It is fine-tuned from ESM-2 and intended for research support in variant prioritization…
Downloads · 30 days
69
42% of all-time downloads
All-time downloads
163
Public
Parameters
33.5M
938 MB on disk
Likes
1
Trending 1
Click a slice to open those files.
.safetensors134 MB · 100%
From the Hugging Face model README
Eleuthia is a binary protein variant classifier that predicts whether a mutated protein sequence is likely Pathogenic or Benign. It is fine-tuned from ESM-2 and intended for research support in variant prioritization workflows.
Eleuthia takes an amino acid sequence containing a variant and returns class probabilities for:
Benign (label 0)Pathogenic (label 1)The model uses a maximum sequence length of 1022 tokens (ESM-2 limit). For longer sequences, inference applies a centered sliding window (optionally around the mutation position).
other)facebook/esm2_t12_35M_UR50DUse Eleuthia to score mutated protein sequences and obtain:
Pathogenic or Benign)Intended users include bioinformatics students, researchers, and developers building exploratory tools for variant analysis.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model_id = "RizFie/Eleuthia-v1"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id)
sequence = "MEEPQSDPSVEPPLSQETFSDLWKLLPENN..." # mutated protein sequence
inputs = tokenizer(sequence, return_tensors="pt", truncation=True, max_length=1022)
with torch.no_grad():
logits = model(**inputs).logits
probs = torch.softmax(logits, dim=-1).squeeze().tolist()
print({"benign": probs[0], "pathogenic": probs[1]})
threshold = 0.5
label = "Pathogenic" if probs[1] >= threshold else "Benign"
Training data was built from cancer-associated genes using EBI Proteins variation endpoints with ClinVar-style significance filtering. Variants were filtered to keep unambiguous single amino-acid substitutions with binary labels:
1: Pathogenic-only annotations0: Benign-only annotationsGenes included in data collection:
A dataset CSV is included in the project as Genetic_Variants_Dataset.csv.
test_size=0.25, random_state=42).AutoTokenizer from the base ESM-2 checkpoint.facebook/esm2_t30_150M_UR50D1e-58 (train), 8 (eval)150.013alpha=0.25, gamma=2.0)f1Please add your measured training wall-clock time, throughput, and final checkpoint size.
Held-out stratified test split from the collected variant dataset (25%), with 2864 total samples.
Current evaluation is aggregate binary classification. Subgroup analyses (by gene, protein length, mutation type, domain) are recommended and currently not fully reported.
Final evaluation on the held-out test set:
Per-class performance:
| Class | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| Benign (0) | 0.49 | 0.69 | 0.57 | 806 |
| Pathogenic (1) | 0.85 | 0.72 | 0.78 | 2058 |
Aggregate report:
Eleuthia demonstrates feasible discrimination between benign and pathogenic variants on a cancer-focused held-out split, with stronger precision on pathogenic calls and moderate overall calibration. External validation on independent datasets is still required for broader use.
Evaluation visualizations from the held-out test split:


Additional recommended analyses for future versions:
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Benign vs Pathogenic)Training/inference were run in a Python environment using PyTorch + Transformers. GPU acceleration was enabled when available.
Core stack:
torchtransformersdatasetsevaluatescikit-learnpandasfastapi (deployment API)If you publish a report/thesis/paper, add it here.
BibTeX:
@misc{eleuthia2026,
title={Eleuthia: Cancer-Associated Protein Variant Classification Using ESM-2},
author={RizFie},
year={2026},
howpublished={Hugging Face model repository},
note={\url{https://huggingface.co/RizFie/Eleuthia-v1}}
}
APA:
RizFie. (2026). Eleuthia: Cancer-Associated Protein Variant Classification Using ESM-2 [Model]. Hugging Face. https://huggingface.co/RizFie/Eleuthia-v1
For practical use, pair model output with domain constraints, curated databases, and expert interpretation.
RizFie