Downloads · 30 days
9
0% of all-time downloads
aviici4cs/MedLam
MedLam is a machine learning model from aviici4cs. 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 peft. The card lists the license as mit.
This Llama 3.1 8B Instruct Model was obtained using the Unsloth library. It is fine-tuned using the LoRA PEFT approach to give better responses to medical questions.
Downloads · 30 days
9
0% of all-time downloads
All-time downloads
4.3K
Public
Repo size
185 MB
Likes
1
Public
Click a slice to open those files.
.safetensors168 MB · 91%
From the Hugging Face model README
This Llama 3.1 8B Instruct Model was obtained using the Unsloth library. It is fine-tuned using the LoRA PEFT approach to give better responses to medical questions.
MedLam explores the fine-tuning of LLMs using a Medical QA dataset to improve their performance for domain-specific tasks. By combining state-of-the-art natural language processing techniques and medical data, MedLam aims to deliver an effective and intuitive medical assistant.
This model was developed only for research and learning purposes and is not meant for commercialization as a final product.
Use the code below to get started with the model.
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit")
model = PeftModel.from_pretrained(base_model, "aviici4cs/MedLam")
Google Colab