Downloads · 30 days
12
14% of all-time downloads
LookUpMark/sigext-wits-it-xlmr-5k-080t
sigext-wits-it-xlmr-5k-080t is a token classification model from LookUpMark. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
SigExt is a lightweight salient-information extractor: a Longformer fine-tuned for binary token classification that marks the sentences of a source document that should appear (in some form) in its summary. Extracted…
Downloads · 30 days
12
14% of all-time downloads
All-time downloads
85
Public
Parameters
280M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.1 GB · 99%
From the Hugging Face model README
SigExt is a lightweight salient-information extractor: a Longformer fine-tuned for binary token classification that marks the sentences of a source document that should appear (in some form) in its summary. Extracted keyphrases steer a frozen generator LLM — this is the extractor component of the SM-SIP pipeline (Semantic & Multilingual Salient Information Prompting).
markussagen/xlm-roberta-longformer-base-4096 (multilingual XLM-RoBERTa extended to 4096-token contexts)sentence-transformers/paraphrase-multilingual-mpnet-base-v2) reaches cosine similarity > 0.80 with any summary sentence. Semantic supervision replaces the fuzzy lexical matching of prior work, which is what makes this work multilingual.Generic LLM summarizers hallucinate and omit salient facts. SM-SIP decouples what to say (this extractor) from how to say it (a steered generator): keyphrases extracted by SigExt are injected into the generation prompt as hard constraints, grounding the LLM in the source's most informative content. On the 10k-sample WITS configuration the full pipeline reaches BERTScore 0.6245 / ROUGE-1 0.1772 / KIR 28.93% (Keyphrase Inclusion Rate, zero-shot steering of Llama-3-8B-Instruct).
sigext-<corpus>-<backbone>-<samples>-<threshold> — this model is one point of a grid swept over corpus (wits-it / arxiv-en), backbone (xlmr / allenai), training-set size (1k / 2500 / 5k) and S-BERT labeling threshold (0.60 / 0.70 / 0.80). See the collection for the other configurations.
-100 elsewhere)from transformers import AutoTokenizer, AutoModelForTokenClassification
import torch
name = "LookUpMark/sigext-wits-it-xlmr-5k-080t"
tok = AutoTokenizer.from_pretrained(name)
model = AutoModelForTokenClassification.from_pretrained(name)
inputs = tok(document, return_tensors="pt", truncation=True, max_length=2048)
with torch.no_grad():
preds = torch.argmax(model(**inputs).logits, dim=2)[0]
salient = [t for t, p in zip(inputs.tokens(), preds.tolist()) if p == 1]
print(tok.decode(tok.convert_tokens_to_ids(salient)))
2024.emnlp-industry.4)Research artifact: intermediate checkpoints of a course-project grid sweep, shared for reproducibility. Each configuration was trained with identical hyperparameters; only corpus, backbone, data size and labeling threshold differ.