Instructions to use SummerSigh/Safety-Policy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SummerSigh/Safety-Policy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SummerSigh/Safety-Policy")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SummerSigh/Safety-Policy") model = AutoModelForSequenceClassification.from_pretrained("SummerSigh/Safety-Policy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from SummerSigh/Safety-Policy: direct link, hf CLI and curl.
- Browser
- Download file 738 MB
-
https://huggingface.co/SummerSigh/Safety-Policy/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://SummerSigh/Safety-Policy/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/SummerSigh/Safety-Policy/resolve/main/pytorch_model.bin
738 MB
- Xet hash:
- 37ad432c63e495bb87dd4812d9790158fc2f128a9a99cf3fa307d02c4c6e2fdc
- Size of remote file:
- 738 MB
- SHA256:
- d2c3e94835d3550eb9a7c3ce1f88a2c197c78074f38f76b9abc3ade727798282
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.