Instructions to use zhhan/adapter-Phi-3-mini-4k-instruct_code_writing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use zhhan/adapter-Phi-3-mini-4k-instruct_code_writing with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct") model = PeftModel.from_pretrained(base_model, "zhhan/adapter-Phi-3-mini-4k-instruct_code_writing") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.safetensors from zhhan/adapter-Phi-3-mini-4k-instruct_code_writing: direct link, hf CLI and curl.
- Browser
- Download file 50.4 MB
-
https://huggingface.co/zhhan/adapter-Phi-3-mini-4k-instruct_code_writing/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://zhhan/adapter-Phi-3-mini-4k-instruct_code_writing/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/zhhan/adapter-Phi-3-mini-4k-instruct_code_writing/resolve/main/adapter_model.safetensors
50.4 MB
- Xet hash:
- 13f19bad308bceba136f624dedfdfdb6651904196270d2b492800b5f087d0fe3
- Size of remote file:
- 50.4 MB
- SHA256:
- c08a77515fd3550480a9e99b1b413746417599cfb953ab75e681eb8454540e64
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.