AI SeedbankHelp preserve open and free AI for humanity's future

← All models

microsoft_llmlingua-2-bert-base-multilingual-cased-meetingbank

microsoft · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


license: apache-2.0

LLMLingua-2-Bert-base-Multilingual-Cased-MeetingBank

This model was introduced in the paper LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression (Pan et al, 2024). It is a BERT multilingual base model (cased) finetuned to perform token classification for task agnostic prompt compression. The probability $p_{preserve}$ of each token $x_i$ is used as the metric for compression. This model is trained on the extractive text compression dataset constructed with the methodology proposed in the LLMLingua-2, using training examples from MeetingBank (Hu et al, 2023) as the seed data.

You can evaluate the model on downstream tasks such as question answering (QA) and summarization over compressed meeting transcripts using this dataset.

For more details, please check the project page of LLMLingua-2 and LLMLingua Series.

Usage

from llmlingua import PromptCompressor

compressor = PromptCompressor(
    model_name="microsoft/llmlingua-2-bert-base-multilingual-cased-meetingbank",
    use_llmlingua2=True
)

original_prompt = """John: So, um, I've been thinking about the project, you know, and I believe we need to, uh, make some changes. I mean, we want the project to succeed, right? So, like, I think we should consider maybe revising the timeline.
Sarah: I totally agree, John. I mean, we have to be realistic, you know. The timeline is, like, too tight. You know what I mean? We should definitely extend it.
"""
results = compressor.compress_prompt_llmlingua2(
    original_prompt,
    rate=0.6,
    force_tokens=['\n', '.', '!', '?', ','],
    chunk_end_tokens=['.', '\n'],
    return_word_label=True,
    drop_consecutive=True
)

print(results.keys())
print(f"Compressed prompt: {results['compressed_prompt']}")
print(f"Original tokens: {results['origin_tokens']}")
print(f"Compressed tokens: {results['compressed_tokens']}")
print(f"Compression rate: {results['rate']}")

# get the annotated results over the original prompt
word_sep = "\t\t|\t\t"
label_sep = " "
lines = results["fn_labeled_original_prompt"].split(word_sep)
annotated_results = []
for line in lines:
    word, label = line.split(label_sep)
    annotated_results.append((word, '+') if label == '1' else (word, '-')) # list of tuples: (word, label)
print("Annotated results:")
for word, label in annotated_results[:10]:
    print(f"{word} {label}")

Citation

@article{wu2024llmlingua2,
    title = "{LLML}ingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compression",
    author = "Zhuoshi Pan and Qianhui Wu and Huiqiang Jiang and Menglin Xia and Xufang Luo and Jue Zhang and Qingwei Lin and Victor Ruhle and Yuqing Yang and Chin-Yew Lin and H. Vicky Zhao and Lili Qiu and Dongmei Zhang",
    url = "https://arxiv.org/abs/2403.12968",
    journal = "ArXiv preprint",
    volume = "abs/2403.12968",
    year = "2024",
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:3a1708492897c4201040aa1bbd1e7b32461b2b68&dn=microsoft_llmlingua-2-bert-base-multilingual-cased-meetingbank

Open magnet in torrent client · infohash 3a1708492897c4201040aa1bbd1e7b32461b2b68

Files & hashes

PathSizesha1sha256
README.md3.2 KB (3,309 B)e1d4b986ea1c6066536794a549619440992c6bd7ab01af377c6285e0bd040661569238aba5f66f842dcecaa4c2fc704f40c7402b
config.json875 B (875 B)5be75db365d38a944bd75206767749409f53ddb1e6c33ec2f099e659e125efaa8b7bb07a6e65b7d9fc36211c6fa3206e1c399085
model.safetensors676.5 MB (709,388,104 B)a84553a34ae900f4a739a24120f2c901b46204e522b9ecde52fec5c97e8c54a293be768727df95a81c6c8dccb03f262a50c58324
special_tokens_map.json125 B (125 B)a8b3208c2884c4efb86e49300fdd3dc877220cdfb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
tokenizer.json2.8 MB (2,919,362 B)21f54a4b56685f29358f3a8de1f5b8d827357d07bf1b59b7b11c95f194f51708d918eea378e09d05f84c0e1656dc5180e8117088
tokenizer_config.json1.2 KB (1,191 B)ecd1353b9d122e02abcfb6014ec43fea7a80fcff214f78f6c5d034a8b405632d301ee3710eb6f075b3f5faf8241a273a13908746
vocab.txt972.2 KB (995,526 B)e837bab60a5d204e29622d127c2dafe508aa0731fe0fda7c425b48c516fc8f160d594c8022a0808447475c1a7c6d6479763f310c

Cite this release

Canonical URL
https://aiseedbank.org/models/microsoft_llmlingua-2-bert-base-multilingual-cased-meetingbank/
Slug
microsoft_llmlingua-2-bert-base-multilingual-cased-meetingbank
Infohash
3a1708492897c4201040aa1bbd1e7b32461b2b68
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: microsoft_llmlingua-2-bert-base-multilingual-cased-meetingbank.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorymicrosoft/llmlingua-2-bert-base-multilingual-cased-meetingbank
Revision (pinned)5f0c82792b7ea14c6484e015b6a072009496b7f2
Fetched at2026-09-04T02:44:39Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T02:44:51Z

apache-2.0680.3 MB (713,308,492 bytes)transformerssafetensorsberttoken-classificationendpoints_compatiblepaper: 2403.12968