Instructions to use AhmedCodes64/Base_Model_DPO_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AhmedCodes64/Base_Model_DPO_v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2-1.5b-bnb-4bit") model = PeftModel.from_pretrained(base_model, "AhmedCodes64/Base_Model_DPO_v2") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
42de3e1 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b74b0f6dff6b0c639c991c6fa63b41b2333341917f9aafac8d76cfb4b1a7e0df
size 150487412
|