ontonotes/conll2012_ontonotesv5
Updated • 1.43k • 44
ONNX INT8 quantized export of rustemgareev/mdeberta-ner-ontonotes5 for browser-based inference via Transformers.js or ONNX Runtime Web.
pipeline('token-classification') in Transformers.jsimport { pipeline } from '@huggingface/transformers';
const ner = await pipeline('token-classification', 'Berk/mdeberta-ner-ontonotes5-onnx', {
quantized: true,
});
const result = await ner('I want to book best western in amsterdam');
// [{ word: 'best western', entity_group: 'ORGANIZATION' }, { word: 'amsterdam', entity_group: 'GPE' }]
| Input | Entities found |
|---|---|
| "best western in amsterdam" (lowercase) | best western (ORG), amsterdam (GPE) |
| "Louvre, Notre-Dame, Montmartre" | Louvre (FAC), Notre-Dame (FAC), Montmartre (FAC) |
| "Kilimanjaro Airport" | Kilimanjaro Airport (FAC) |
| "Falaise d'Aval" | Falaise d'Aval (LOCATION) |
MIT (same as original model)
Base model
microsoft/mdeberta-v3-base