How to use from the
Use from the
PEFT library
from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-128k-instruct")
model = PeftModel.from_pretrained(base_model, "Mortadha/Phi-Ed-25072024")

Model Card for Model ID

Model Details

LORA adapters trained on educational data

Model Description

  • Model type: [Phi-3-Mini]
  • Language(s) (NLP): [English]
  • Finetuned from model [optional]: [Phi-3-Mini-128k-instruct]

Model Sources [optional]

Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Mortadha/Phi-Ed-25072024

Adapter
(391)
this model