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 files73 unmodified lines747576777879804 unmodified lines8586878889909169 unmodified lines16116216316416516616773 unmodified linesUse the code below to get started with the model.```markdownfrom transformers import AutoModelForCausalLMfrom peft import PeftModel4 unmodified linesRun the model with a quantization configuration```markdownimport torch, accelerate, peftfrom transformers import AutoModelForCausalLM, BitsAndBytesConfig, pipelinefrom peft import PeftModel69 unmodified lines#### Training Hyperparameters```markdownper_device_train_batch_size=16per_device_eval_batch_size=32gradient_accumulation_steps=273 unmodified lines747576777879804 unmodified lines8586878889909169 unmodified lines16116216316416516616773 unmodified linesUse the code below to get started with the model.```pythonfrom transformers import AutoModelForCausalLMfrom peft import PeftModel4 unmodified linesRun the model with a quantization configuration```pythonimport torch, accelerate, peftfrom transformers import AutoModelForCausalLM, BitsAndBytesConfig, pipelinefrom peft import PeftModel69 unmodified lines#### Training Hyperparameters```pythonper_device_train_batch_size=16per_device_eval_batch_size=32gradient_accumulation_steps=2
README.md+3-3