Instructions to use sumith2425/dpo-prefix-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sumith2425/dpo-prefix-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2-medium") model = PeftModel.from_pretrained(base_model, "sumith2425/dpo-prefix-model") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5898368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49333a075f63b4442011a2d041464f53171bf1dffcb40cd94d152601fe123453
|
| 3 |
size 5898368
|