wangrongsheng/HealthCareMagic-100k-en
Viewer • Updated • 112k • 809 • 22
How to use moriire/phi-2-healthcare with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
model = PeftModel.from_pretrained(base_model, "moriire/phi-2-healthcare")Configuration Parsing Warning:In adapter_config.json: "peft.base_model_name_or_path" must be a string
This model is a fine-tuned version of microsoft/phi-2 on an unknown dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
Base model
microsoft/phi-2