Instructions to use Shivenys/phi3-mini-lora-tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Shivenys/phi3-mini-lora-tutorial 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, "Shivenys/phi3-mini-lora-tutorial") - Transformers
How to use Shivenys/phi3-mini-lora-tutorial with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Shivenys/phi3-mini-lora-tutorial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from Shivenys/phi3-mini-lora-tutorial: direct link, hf CLI and curl.
- Browser
- Download file 5.65 kB
-
https://huggingface.co/Shivenys/phi3-mini-lora-tutorial/resolve/main/training_args.bin
- Command line
-
hf download hf://Shivenys/phi3-mini-lora-tutorial/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Shivenys/phi3-mini-lora-tutorial/resolve/main/training_args.bin
5.65 kB
- Xet hash:
- f71d9d9fd3d706189f2dfc2cb9f7826eec9bbdab7310154e8ed4fec70b72e588
- Size of remote file:
- 5.65 kB
- SHA256:
- 9b83fc75ff391b29c0d29e57dd7512afa27fc43cb5af79c94338622050d9202f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.