Instructions to use ciphermosaic/phi-3.5-oasst1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ciphermosaic/phi-3.5-oasst1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3.5-mini-instruct") model = PeftModel.from_pretrained(base_model, "ciphermosaic/phi-3.5-oasst1") - Transformers
How to use ciphermosaic/phi-3.5-oasst1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ciphermosaic/phi-3.5-oasst1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ciphermosaic/phi-3.5-oasst1: direct link, hf CLI and curl.
- Browser
- Download file 3.62 MB
-
https://huggingface.co/ciphermosaic/phi-3.5-oasst1/resolve/main/tokenizer.json
- Command line
-
hf download hf://ciphermosaic/phi-3.5-oasst1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ciphermosaic/phi-3.5-oasst1/resolve/main/tokenizer.json
3.62 MB
File too large to display, you can check the raw version instead.