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