Instructions to use XiaoY1/Qwen2-7B-Instruct-DPO-code-beta0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use XiaoY1/Qwen2-7B-Instruct-DPO-code-beta0.5 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/xpfs/public/models/models--Qwen--Qwen2-VL-7B-Instruct/snapshots/3ca981c995b0ce691d85d8408216da11ff92f690") model = PeftModel.from_pretrained(base_model, "XiaoY1/Qwen2-7B-Instruct-DPO-code-beta0.5") - Notebooks
- Google Colab
- Kaggle
Upload adapter_model.safetensors with huggingface_hub
Browse files
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d26526785961463ee18f14f0dddf376095709804fdeb219598f4fa000c05b45
|
| 3 |
+
size 645976488
|