Instructions to use Laurie/phi2_DPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Laurie/phi2_DPO with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Laurie/phi2_DPO", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Laurie/phi2_DPO: direct link, hf CLI and curl.
- Browser
- Download file 798 kB
-
https://huggingface.co/Laurie/phi2_DPO/resolve/main/vocab.json
- Command line
-
hf download hf://Laurie/phi2_DPO/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Laurie/phi2_DPO/resolve/main/vocab.json
798 kB
File too large to display, you can check the raw version instead.