metadata
library_name: transformers.js
base_model:
- Isotonic/distilbert_finetuned_ai4privacy_v2
distilbert_finetuned_ai4privacy_v2 (ONNX)
This is an ONNX version of Isotonic/distilbert_finetuned_ai4privacy_v2. It was automatically converted and uploaded using this space.
Usage (Transformers.js)
If you haven't already, you can install the Transformers.js JavaScript library from NPM using:
npm i @huggingface/transformers
Example: Perform named entity recognition.
import { pipeline } from '@huggingface/transformers';
const classifier = await pipeline('token-classification', 'onnx-community/distilbert_finetuned_ai4privacy_v2-ONNX');
const output = await classifier('My name is Sarah and I live in London');