Instructions to use rasyosef/phi-2-apo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rasyosef/phi-2-apo with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("rasyosef/phi-2-sft-openhermes-128k-v2-merged") model = PeftModel.from_pretrained(base_model, "rasyosef/phi-2-apo") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from rasyosef/phi-2-apo: direct link, hf CLI and curl.
- Browser
- Download file 2.12 MB
-
https://huggingface.co/rasyosef/phi-2-apo/resolve/main/tokenizer.json
- Command line
-
hf download hf://rasyosef/phi-2-apo/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/rasyosef/phi-2-apo/resolve/main/tokenizer.json
2.12 MB
File too large to display, you can check the raw version instead.