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 lines74757677777879804 unmodified lines858687888889909169 unmodified lines16116216316416416516616773 unmodified lines
Use the code below to get started with the model.
```markdown```pythonfrom transformers import AutoModelForCausalLMfrom peft import PeftModel
4 unmodified lines
Run the model with a quantization configuration
```markdown```pythonimport torch, accelerate, peftfrom transformers import AutoModelForCausalLM, BitsAndBytesConfig, pipelinefrom peft import PeftModel69 unmodified lines
#### Training Hyperparameters
```markdown```pythonper_device_train_batch_size=16 per_device_eval_batch_size=32 gradient_accumulation_steps=2README.md+3-3