Views
No views yet
⭐ Best overall model on the GoldSet by F1 and Accuracy.
U and related events R).BAAI/bge-reranker-v2-m3lyutovad/TradeNewsEventDedup — SilverSet (16,097 LLM-labeled pairs, fine-tuning only)| Metric | Value |
|---|---|
| PR-AUC | 0.9348 |
| F1 | 0.9012 |
| Accuracy | 0.9149 |
| Recall | 0.9314 |
1import torch
2from transformers import AutoTokenizer, AutoModelForSequenceClassification
3
4repo = "afafos/trade-news-dedup-bge-reranker-v2-m3"
5tok = AutoTokenizer.from_pretrained(repo)
6model = AutoModelForSequenceClassification.from_pretrained(repo).eval()
7
8a = "Iraq and Lebanon signed an agreement and seven MoUs on trade and investment."
9b = "Iraq and Lebanon announced a new partnership framework, including seven MoUs."
10
11with torch.no_grad():
12 logits = model(**tok(a, b, return_tensors="pt", truncation=True)).logits
13 p_duplicate = torch.sigmoid(logits)[0, 0].item() # single-logit head (BCE)
14print(p_duplicate) # > threshold (tuned on GoldSet) => duplicate1@misc{tradenews_event_dedup,
2 title = {Event-Level Duplicate Detection in Trade News under Hard-Negative Supervision},
3 author = {Liutova, Daria and Kamalov, Said and Afanasev, Andrew and Mukhtarov, Timerlan},
4 year = {2026},
5 note = {Dataset: lyutovad/TradeNewsEventDedup; Code: https://github.com/SaidKamalov/trade-news-duplicates}
6}