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 optimizer.pt from SummerSigh/Safety-Policy: direct link, hf CLI and curl.
- Browser
- Download file 1.48 GB
-
https://huggingface.co/SummerSigh/Safety-Policy/resolve/main/optimizer.pt
- Command line
-
hf download hf://SummerSigh/Safety-Policy/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/SummerSigh/Safety-Policy/resolve/main/optimizer.pt
1.48 GB
- Xet hash:
- e807228718108c9e7a4c43c9fbed11accdeb72f9eca2ffda88752442a3426f3c
- Size of remote file:
- 1.48 GB
- SHA256:
- d8fc924383558f847f6d923d15af325638b36608a31a699c0018483652f4ebbf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.