Downloads · 30 days
0
Pritish92/final_model-finetuned-20250514-162048
final_model-finetuned-20250514-162048 is a machine learning model from Pritish92. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Base Model: mistralai/Mistral-7B-Instruct-v0.2 - Fine-tuned on: MIMIC clinical data with instruction tuning - Upload date: 2025-05-14 - Framework: PyTorch + Unsloth
Downloads · 30 days
0
Access
Public
Updated May 14, 2025
Repo size
493 KB
Likes
0
Public
Click a slice to open those files.
.json3.5 MB · 88%
From the Hugging Face model README
This model has been fine-tuned on MIMIC medical data with instruction tuning to improve clinical NLP capabilities such as ICD code extraction and medical information processing.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "Pritish92/final_model-finetuned-20250514-162048" # This will be the HF repo ID like 'username/model-name'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
# For simple text generation
inputs = tokenizer("Extract ICD-10 codes from this clinical note: ", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))