Instructions to use toxiclanguageproject/toxic_language_model_phi-3_mini_fine_tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use toxiclanguageproject/toxic_language_model_phi-3_mini_fine_tuned with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("toxiclanguageproject/toxic_language_model_phi-3_mini_fine_tuned", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -7,6 +7,7 @@
|
|
| 7 |
"inference_mode": false,
|
| 8 |
"init_lora_weights": true,
|
| 9 |
"layer_replication": null,
|
|
|
|
| 10 |
"layers_pattern": null,
|
| 11 |
"layers_to_transform": null,
|
| 12 |
"loftq_config": {},
|
|
|
|
| 7 |
"inference_mode": false,
|
| 8 |
"init_lora_weights": true,
|
| 9 |
"layer_replication": null,
|
| 10 |
+
"model_type": "phi3",
|
| 11 |
"layers_pattern": null,
|
| 12 |
"layers_to_transform": null,
|
| 13 |
"loftq_config": {},
|