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