Instructions to use enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - Notebooks
- Google Colab
- Kaggle
Download pipeline.skops from enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard: direct link, hf CLI and curl.
- Browser
- Download file 1.03 MB
-
https://huggingface.co/enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard/resolve/main/pipeline.skops
- Command line
-
hf download hf://enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard/pipeline.skops
-
curl -L -o pipeline.skops https://huggingface.co/enguard/tiny-guard-2m-en-prompt-safety-binary-polyguard/resolve/main/pipeline.skops
1.03 MB
- Xet hash:
- b9f99c3f68e75af7f4304c59a7f7f2fc59c36a2bf91c77a45d2a86e4bdbe4f0b
- Size of remote file:
- 1.03 MB
- SHA256:
- d3012af06941b8ad9f7e220b9fc7bff8b976b8cd82b20163b8afcdb56e93b191
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.