Instructions to use tjruesch/xlm-roberta-base-ner-hrl-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use tjruesch/xlm-roberta-base-ner-hrl-onnx with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'tjruesch/xlm-roberta-base-ner-hrl-onnx');
XLM-RoBERTa NER (ONNX)
ONNX export of Davlan/xlm-roberta-base-ner-hrl for use with ONNX Runtime, Transformers.js, and bridge-anonymization.
Models
| Model | Size | Description |
|---|---|---|
| onnx/model.onnx | 1059 MB | Full precision FP32 |
| onnx/model_quantized.onnx | 265 MB | Quantized INT8 (~4x smaller) |
Supported Entity Types
- PER - Person names
- ORG - Organizations
- LOC - Locations
- DATE - Dates (if supported by base model)
Supported Languages
English, German, Spanish, French, Italian, Portuguese, Dutch, and more.
Usage with bridge-anonymization
See the bridge-anonymization documentation for usage instructions.
License
MIT License - see the base model Davlan/xlm-roberta-base-ner-hrl for original model license.
Credits
- Original model by Davlan
- ONNX export by ELAN Languages
- Downloads last month
- 1,165
Model tree for tjruesch/xlm-roberta-base-ner-hrl-onnx
Base model
Davlan/xlm-roberta-base-ner-hrl