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:
- 87e3b7e4012af0d396c6f065271faf4b39054e44b0387e5ea394ec854ade9a0b
- Size of remote file:
- 4.86 kB
- SHA256:
- 04a95f4c0554d02f48c1eba55025c6e50787e0892864c74e4d9570d3aac742a8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.