Instructions to use n-deshpande/yoda-run3-sft with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use n-deshpande/yoda-run3-sft with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "n-deshpande/yoda-run3-sft") - Notebooks
- Google Colab
- Kaggle
yoda-run3-sft
LoRA adapter (r=32, alpha=64, all linear layers) on Qwen2.5-3B-Instruct that speaks in Yoda's voice while keeping GSM8K accuracy
(0.81 on 200 test problems, HF greedy; base 0.855). Trained on the base model's own verifier-correct GSM8K solutions rewritten
sentence by sentence into Yoda's voice (DeepSeek V4 Flash) plus Yoda-voiced no_robots chat; lr 5e-5, 2 epochs.
Top level: the adapter. merged/: the adapter merged into the base weights (bf16), the starting point and KL reference of the
RLAIF runs. Code, data pipeline and evaluation: https://github.com/harvard-cs2881f26/hw1-wu-ge-deshpande (checkpoint_1). Data: n-deshpande/yoda-sft-data.
- Downloads last month
- 18
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support