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