Downloads · 30 days
43
3% of all-time downloads
tmberooney/medllama-merged
medllama-merged is a text generation model from tmberooney. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Model Card for "medllama" ---------------------------
Downloads · 30 days
43
3% of all-time downloads
All-time downloads
1.5K
Public
Parameters
1.1B
4.4 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
Model Name: medllama
Library Name: peft (Python library for Efficient Tuning)
Base Model: TinyLlama 1.1B (A pretrained language model with 7 billion parameters, fine-tuned for chat applications.)
License: Apache-2.0 License
For usage, use this code block, with GPU recommended
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("tmberooney/medllama-merged")
model = AutoModelForCausalLM.from_pretrained("tmberooney/medllama-merged")
The medllama model is a fine-tuned version of the base model specifically adapted for medical conversations between patients and doctors. This model can be used in various healthcare settings to assist professionals during their interactions with patients, providing relevant suggestions or answering questions related to health conditions, treatments, medications, and other medical topics. The goal is to improve communication efficiency and ensure accurate information exchange while maintaining privacy and confidentiality standards.
This model was trained using data from the sid6i7/patient-doctor dataset, which contains deidentified medical dialogues between patients and physicians covering diverse medical domains like internal medicine, pediatrics, neurology, psychiatry, and more. These conversations are designed to simulate real-life clinical scenarios, allowing the model to understand context, generate responses that reflect appropriate levels of empathy, and provide reliable medical information based on user queries.
Evaluations were conducted on several benchmark datasets tailored towards measuring performance in medical dialogue systems. Metrics such as perplexity, BLEU score, ROUGE score, and F1 score have been reported to assess the quality and relevance of generated responses compared to reference answers. Detailed evaluation results will be provided separately upon request.
To maintain ethical guidelines when deploying this model, it's crucial to consider the following aspects:
For further details on these guidelines, please refer to our project documentation.