Machine Learning, Fine Tuning, Kids And Tech, Language Model, Kids Education.
Load PEFT Model and Push to Hub : from peft import PeftModel model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2", trust_remote_code=True, torch_dtype=torch.float32) peft_model = PeftModel.from_pretrained(model, "Simple-Learner/aniket-math-small-gpt", from_transformers=True) model =