Downloads · 30 days
16
14% of all-time downloads
samerzaher80/AetherMind_SRL
AetherMind_SRL is a text classification model from samerzaher80. 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.
Author: Samer S. Najm (Sam) Organization: AetherMind Project Model Type: Knowledge-Distilled Transformer (Student Model) Domain: Natural Language Inference (NLI) + Medical Reasoning (ADNI SRL)
Downloads · 30 days
16
14% of all-time downloads
All-time downloads
116
Public
Parameters
184M
1.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors738 MB · 97%
From the Hugging Face model README
Author: Samer S. Najm (Sam)
Organization: AetherMind Project
Model Type: Knowledge-Distilled Transformer (Student Model)
Domain: Natural Language Inference (NLI) + Medical Reasoning (ADNI SRL)
AetherMind_SRL is the 12th-round refined version of AetherMind’s knowledge-distilled student model, trained using self-reflective learning (SRL), knowledge distillation, ADNI medical contradictions, and general-domain NLI datasets.
| Dataset | Accuracy | Macro F1 | Samples |
|---|---|---|---|
| SNLI | 89.64% | 89.55% | 9,824 |
| MNLI-M | 90.20% | 90.00% | 9,815 |
| MNLI-MM | 89.61% | 89.35% | 9,832 |
| ANLI R1 | 79.90% | 79.89% | 1,000 |
| ANLI R2 | 67.50% | 67.35% | 1,000 |
| ANLI R3 | 67.33% | 66.81% | 1,200 |
Teacher: microsoft/deberta-v3-base
Student: AetherMind_SRL
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model_id = "samerzaher80/AetherMind_SRL"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id).cuda()
premise = "The patient scored 28 on the MMSE last year."
hypothesis = "The patient shows signs of cognitive decline."
inputs = tokenizer(premise, hypothesis, return_tensors="pt").to("cuda")
with torch.no_grad():
logits = model(**inputs).logits
predicted = torch.argmax(logits, dim=-1).item()
labels = ["entailment", "neutral", "contradiction"]
print("Prediction:", labels[predicted])
{
"tags": [
"natural-language-inference",
"knowledge-distillation",
"biomedical-nlp",
"aethermind",
"nli",
"self-reflective-learning",
"transformers"
]
}