Instructions to use ansulev/OpenAI-Privacy-Filter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ansulev/OpenAI-Privacy-Filter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="ansulev/OpenAI-Privacy-Filter")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("ansulev/OpenAI-Privacy-Filter") model = AutoModelForTokenClassification.from_pretrained("ansulev/OpenAI-Privacy-Filter", device_map="auto") - Transformers.js
How to use ansulev/OpenAI-Privacy-Filter with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'ansulev/OpenAI-Privacy-Filter'); - Notebooks
- Google Colab
- Kaggle
Download onnx/model_fp16.onnx_data from ansulev/OpenAI-Privacy-Filter: direct link, hf CLI and curl.
- Browser
- Download file 2.08 GB
-
https://huggingface.co/ansulev/OpenAI-Privacy-Filter/resolve/main/onnx/model_fp16.onnx_data
- Command line
-
hf download hf://ansulev/OpenAI-Privacy-Filter/onnx/model_fp16.onnx_data
-
curl -L -o model_fp16.onnx_data https://huggingface.co/ansulev/OpenAI-Privacy-Filter/resolve/main/onnx/model_fp16.onnx_data
2.08 GB
- Xet hash:
- 10eddd2580a3814f5d0c08a30f493c4ece668881b4c3bc7cfe14a745e3d8ead0
- Size of remote file:
- 2.08 GB
- SHA256:
- 744ef21b5311bf8f2e6500c4ef013a23d65277ac79a28679c0ddba964552f084
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.