medalpaca/medical_meadow_medical_flashcards
Viewer • Updated • 34k • 8.2k • 49
How to use mrs83/FlowerTune-Mistral-7B-Instruct-v0.3-Medical-PEFT with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.3")
model = PeftModel.from_pretrained(base_model, "mrs83/FlowerTune-Mistral-7B-Instruct-v0.3-Medical-PEFT")This PEFT adapter has been trained by using Flower, a friendly federated AI framework.
The adapter and benchmark results have been submitted to the FlowerTune LLM Medical Leaderboard.
Please check the following GitHub project for model details and evaluation results:
https://github.com/mrs83/FlowerTune-Mistral-7B-Instruct-v0.3-Medical
The following bitsandbytes quantization config was used during training:
Base model
mistralai/Mistral-7B-v0.3