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 files
README.md
CHANGED
|
@@ -129,6 +129,7 @@ generation_args = {
|
|
| 129 |
"do_sample": False,
|
| 130 |
}
|
| 131 |
|
|
|
|
| 132 |
output = pipe(messages, **generation_args)
|
| 133 |
print(output[0]['generated_text'])
|
| 134 |
```
|
|
|
|
| 129 |
"do_sample": False,
|
| 130 |
}
|
| 131 |
|
| 132 |
+
# Run inference
|
| 133 |
output = pipe(messages, **generation_args)
|
| 134 |
print(output[0]['generated_text'])
|
| 135 |
```
|