Views
No views yet
document → relevance gate → event-type router → evidence selection
→ NER → relation extraction → knowledge graph → structured event JSON| Base model | xlm-roberta-base |
| Task | event_type |
| Input | text |
| Max length | 256 |
| Format | ONNX INT8 (dynamic quantization), ~279 MB |
| Version | cf651b4757647 |
| Languages | Bengali (primary, ~96% of training corpus), English |
accidentdisastercrimeaccident: 0.675disaster: 0.75crime: 0.55p = sigmoid(logits); fired[i] = p[i] >= thresholds[labels[i]]model_manifest.json, so a serving process can
consume the model without hardcoding anything.| Metric | Value |
|---|---|
| macro-F1 | 0.8841 |
1from huggingface_hub import snapshot_download
2import onnxruntime as ort, numpy as np
3from transformers import AutoTokenizer
4
5d = snapshot_download("saidylive/newsintel-event-type", revision="cf651b4757647",
6 allow_patterns=["model_int8.onnx", "*.json", "*.model"])
7tok = AutoTokenizer.from_pretrained(d)
8sess = ort.InferenceSession(f"{d}/model_int8.onnx", providers=["CPUExecutionProvider"])
9
10enc = tok("সাভারে বাস-ট্রাকের সংঘর্ষে নিহত ২", return_tensors="np")
11logits = sess.run(None, {k: v for k, v in enc.items()
12 if k in {i.name for i in sess.get_inputs()}})[0]
13# decision rule (from model_manifest.json):
14# p = sigmoid(logits); fired[i] = p[i] >= thresholds[labels[i]]bd_eng_news_daily Kaggle corpus of Bangladeshi news (~713k articles,
~96% Bengali by character ratio). Labels are silver, not human-annotated: a teacher LLM
produced structured event annotations, which were distilled into these small models. No
manual annotation was performed at any stage.1@software{newsintel_ai,
2 title = {NewsIntel AI: distilled multilingual event extraction for Bangladeshi news},
3 author = {Md. Sheikh Saidy},
4 year = {2026},
5 url = {https://huggingface.co/saidylive/newsintel-event-type}
6}