Downloads · 30 days
0
koyelog/MediMind2
MediMind2 is a text generation model from koyelog. Use it when you need the model to write or continue text. It is set up for pytorch. The card lists the license as mit.
MediMind-411M is a custom medical language model trained from scratch for biomedical and clinical text generation.
Downloads · 30 days
0
Access
Public
Updated May 2, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.pt6.6 GB · 100%
From the Hugging Face model README
MediMind-411M is a custom medical language model trained from scratch for biomedical and clinical text generation.
This model was trained and uploaded by Koyeliya Ghosh under the Hugging Face account koyelog.
MediMind-411M is a 411M-parameter transformer-based language model designed to generate medical-style text.
It was trained on a large medical text collection and uses a custom tokenizer.
MediMind-411MThis model uses a decoder-only transformer architecture with:
medimind_final.pt — final trained model weightscheckpoint_latest.pt — latest training checkpointvocab.json — tokenizer vocabularymerges.txt — tokenizer mergesThe model was tested locally in a Kaggle notebook by:
vocab.json and merges.txtmedimind_final.ptPatient presents with fever and cough. Diagnosis:Symptoms of diabetes includeTreatment for hypertension includesThe model successfully generates medical-style text and terminology.
Outputs show that the model has learned domain vocabulary and sentence patterns, but generations can still be noisy, mixed-topic, or clinically unreliable.
This model is intended for:
This model is not intended for direct clinical deployment or patient-facing use.
from huggingface_hub import hf_hub_download
from tokenizers import ByteLevelBPETokenizer
import torch
model_path = hf_hub_download(repo_id="koyelog/MediMind-411M", filename="medimind_final.pt")
vocab_path = hf_hub_download(repo_id="koyelog/MediMind-411M", filename="vocab.json")
merges_path = hf_hub_download(repo_id="koyelog/MediMind-411M", filename="merges.txt")
tokenizer = ByteLevelBPETokenizer(vocab_path, merges_path)
print("Load tokenizer and model architecture, then run generation.")
Planned next improvements:
Created by Koyeliya Ghosh
Hugging Face: koyelog
This model is for research and educational purposes only.
It must not be used as a substitute for licensed medical advice or professional healthcare judgment.