Instructions to use xx9056/privacy-filter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xx9056/privacy-filter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="xx9056/privacy-filter")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("xx9056/privacy-filter") model = AutoModelForTokenClassification.from_pretrained("xx9056/privacy-filter") - Transformers.js
How to use xx9056/privacy-filter with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'xx9056/privacy-filter'); - Notebooks
- Google Colab
- Kaggle
| { | |
| "operating_points": { | |
| "default": { | |
| "biases": { | |
| "transition_bias_background_stay": 0.0, | |
| "transition_bias_background_to_start": 0.0, | |
| "transition_bias_end_to_background": 0.0, | |
| "transition_bias_end_to_start": 0.0, | |
| "transition_bias_inside_to_continue": 0.0, | |
| "transition_bias_inside_to_end": 0.0 | |
| } | |
| } | |
| } | |
| } | |