Instructions to use matterinys/privacy-filter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matterinys/privacy-filter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="matterinys/privacy-filter")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("matterinys/privacy-filter") model = AutoModelForTokenClassification.from_pretrained("matterinys/privacy-filter", device_map="auto") - Transformers.js
How to use matterinys/privacy-filter with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'matterinys/privacy-filter'); - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 60e933884ada3bc98bb5e1d3660d98d192135c17ed05d647990aaa6f91f46d44
- Size of remote file:
- 166 kB
- SHA256:
- eaae4e83cf1345a60abe333ed882b55fe5775d1dfbf34b9b269e5e5416f45e5b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.