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:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Shivenys/phi3-mini-lora-tutorial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!