Instructions to use datafreak/hate-phi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use datafreak/hate-phi with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "datafreak/hate-phi") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 4797a3c828a23df16a8e4ad76b0b0d3b0f5ac8cc15380412d06aaeb09e83f1dc
- Size of remote file:
- 2.69 MB
- SHA256:
- da022dcbd1489e36dc0f1bf17c2c399ce3df742c6bfb821af295f54bd39e7d14
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.