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