Instructions to use fc91/phi3-mini-instruct-full_ethics-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fc91/phi3-mini-instruct-full_ethics-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fc91/phi3-mini-instruct-full_ethics-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files74 unmodified lines75767778798081828374 unmodified linesUse the code below to get started with the model.```markdownfrom transformers import AutoModelmodel = AutoModel.from_pretrained("fc91/phi3-mini-instruct-full_ethics-lora")tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-3-mini-4k-instruct")```## Training Details74 unmodified lines75767778798081828384858674 unmodified linesUse the code below to get started with the model.```markdownfrom transformers import AutoModelForCausalLMfrom peft import PeftModelbase_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct")peft_model_id = "fc91/phi3-mini-instruct-full_ethics-lora"model = PeftModel.from_pretrained(base_model, peft_model_id)```## Training Details
README.md+6-3