Token Classification
Transformers.js
ONNX
Transformers
English
Russian
Ukrainian
xlm-roberta
ner
pii
Eval Results (legacy)
Instructions to use onnx-community/pii-ner-nemotron-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/pii-ner-nemotron-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'onnx-community/pii-ner-nemotron-ONNX'); - Transformers
How to use onnx-community/pii-ner-nemotron-ONNX with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="onnx-community/pii-ner-nemotron-ONNX")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("onnx-community/pii-ner-nemotron-ONNX") model = AutoModelForTokenClassification.from_pretrained("onnx-community/pii-ner-nemotron-ONNX", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!