Instructions to use Chiaki111/phi4-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Chiaki111/phi4-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/Phi-4-mini-instruct") model = PeftModel.from_pretrained(base_model, "Chiaki111/phi4-lora") - Transformers
How to use Chiaki111/phi4-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Chiaki111/phi4-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-552/tokenizer.json from Chiaki111/phi4-lora: direct link, hf CLI and curl.
- Browser
- Download file 15.5 MB
-
https://huggingface.co/Chiaki111/phi4-lora/resolve/main/checkpoint-552/tokenizer.json
- Command line
-
hf download hf://Chiaki111/phi4-lora/checkpoint-552/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Chiaki111/phi4-lora/resolve/main/checkpoint-552/tokenizer.json
15.5 MB
- Xet hash:
- 499a8e15730789a2238b48848c6d20e3d27f2cdb147a9af0e95aa257fb4bd89d
- Size of remote file:
- 15.5 MB
- SHA256:
- 7ea8bdf68c3e7549a3fb4342523288ce628f6ab56a618f9a4dfb234a0b4d46a8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.