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.
1from transformers import AutoTokenizer, AutoModelForSequenceClassification
2import torch
3
4model_id = "samerzaher80/AetherMind_SRL"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6model = AutoModelForSequenceClassification.from_pretrained(model_id).cuda()
7
8premise = "The patient scored 28 on the MMSE last year."
9hypothesis = "The patient shows signs of cognitive decline."
10
11inputs = tokenizer(premise, hypothesis, return_tensors="pt").to("cuda")
12with torch.no_grad():
13 logits = model(**inputs).logits
14 predicted = torch.argmax(logits, dim=-1).item()
15
16labels = ["entailment", "neutral", "contradiction"]
17print("Prediction:", labels[predicted])
1{
2 "tags": [
3 "natural-language-inference",
4 "knowledge-distillation",
5 "biomedical-nlp",
6 "aethermind",
7 "nli",
8 "self-reflective-learning",
9 "transformers"
10 ]
11}