Instructions to use openai/privacy-filter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openai/privacy-filter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="openai/privacy-filter")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("openai/privacy-filter") model = AutoModelForTokenClassification.from_pretrained("openai/privacy-filter") - Transformers.js
How to use openai/privacy-filter with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'openai/privacy-filter'); - Notebooks
- Google Colab
- Kaggle
GGUF wen?
#2
by AaryanK - opened
:)
yes need
need
This comment has been hidden (marked as Resolved)
Maybe mihaimaruseac will close this discussion too? Why hold back? It's strange that you didn't comment on it at all. The only discussion that shows the model in a purely positive light.
I recommend everyone check out the closed discussions and mihaimaruseac's position: https://huggingface.co/openai/privacy-filter/discussions?status=closed&sort=recently-created
Literally, any discussion that claims the model isn't that good gets closed. And that's OpenAI for you.
