Downloads · 30 days
0
exafluence/EXF-Medistral-Nemo-12B-4bit
EXF-Medistral-Nemo-12B-4bit is a machine learning model from exafluence. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
EXF-Medistral-Nemo-12B is a fine-tuned version of the Mistral-Nemo-12B model, optimized for tasks in the medical domain. It has been trained on the Open-Nexus-MedQA dataset, which integrates a wide range of medical kn…
Downloads · 30 days
0
Access
Public
Updated Oct 19, 2024
Repo size
228 MB
Likes
0
Public
Click a slice to open those files.
.safetensors228 MB · 96%
From the Hugging Face model README
EXF-Medistral-Nemo-12B is a fine-tuned version of the Mistral-Nemo-12B model, optimized for tasks in the medical domain. It has been trained on the Open-Nexus-MedQA dataset, which integrates a wide range of medical knowledge from public datasets like ChatDoctor, icliniq, and others, to enhance the model’s ability to answer medical questions accurately and reliably. This model is designed to assist in clinical decision support, medical coding, and patient care by generating responses based on comprehensive medical knowledge.
The model was fine-tuned on the Open-Nexus-MedQA dataset, which aggregates data from multiple medical QA sources such as:
The dataset contains medical queries ranging from simple conditions to complex diagnoses, accompanied by accurate, domain-specific responses, making it a robust training source for real-world medical applications.
EXF-Medistral-Nemo-12B is ideal for:
The model has been fine-tuned for precision in the medical domain, demonstrating high accuracy in understanding and generating responses to complex medical queries. It excels in:
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("exafluence/EXF-Medistral-Nemo-12B-4bit")
model = AutoModelForCausalLM.from_pretrained("exafluence/EXF-Medistral-Nemo-12B-4bit")
input_text = "What are the symptoms of type 2 diabetes?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs, skip_special_tokens=True))
This model is provided under a proprietary license. Usage is restricted to non-commercial purposes unless explicit permission is granted.
Citation If you use this model, please cite:
@inproceedings{exafluence2024EXFMedistralNemo12B,
title={EXF-Medistral-Nemo-12B: A Fine-Tuned Medical Language Model for Healthcare Applications},
author={Exafluence Inc.},
year={2024},
url={https://huggingface.co/exafluence/EXF-Medistral-Nemo-12B}
doi={https://doi.org/10.57967/hf/3284}
}
For any questions or inquiries regarding usage, licensing, or access, please contact Exafluence Inc.
This mistral model was trained 2x faster with Unsloth and Huggingface's TRL library.