Downloads · 30 days
104
12% of all-time downloads
mlx-community/phi-2-dpo-7k
phi-2-dpo-7k is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
This is a finetuned version of microsoft/phi-2. Finetuned on a cocktail of 7k chat interaction from argilla latest DPO datase: orca pairs, ultrafeedback ratings, and capybara-dpo.
Downloads · 30 days
104
12% of all-time downloads
All-time downloads
864
Public
Repo size
5.6 GB
Likes
15
Public
Click a slice to open those files.
.safetensors5.6 GB · 100%
From the Hugging Face model README

This is a finetuned version of microsoft/phi-2. Finetuned on a cocktail of 7k chat interaction from argilla latest DPO datase: orca pairs, ultrafeedback ratings, and capybara-dpo.
Refer to the original model card for more details on the model.
pip install mlx
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/phi-2-dpo-7k")
response = generate(model, tokenizer, prompt="Similarity between pizza and quantum mechanics, in few words, use rhymes\nOutput: ", max_tokens=100, verbose=True)