Comp-S
Soft ("abstractive") context compressor from UniCoRn: A Benchmark for Unified Compression and Reranking. Instead of deleting tokens, it compresses each document into a small set of memory embeddings that the decoder consumes directly, at a fixed compression rate.
| Compressor | BidirLM/BidirLM-0.6B-Base (same encoder as SungJoo/unicorn-comp-h) |
| Decoder | Qwen/Qwen3.5-9B, LoRA-adapted (r=64) |
| Compression rate | 16x |
| Query-dependent | yes β compression is conditioned on the query |
| Precision | bfloat16 |
Because the compressed representation is a set of embeddings rather than text, Comp-S generates answers with its own decoder rather than handing text to an external generator, and text-based evidence recall does not apply to it.
Contents
| Path | What it is |
|---|---|
compressor/ |
BidirLM compressor weights and config |
decoder_state.pt |
LoRA-adapted Qwen3.5-9B decoder state |
connector.pt |
projection between compressor output and decoder input embeddings |
compressor_tokenizer/, decoder_tokenizer/ |
the two tokenizers |
Unlike a plain from_pretrained checkpoint, the pieces are loaded separately;
config.json records how they fit together.
Note on loading
model_type: soft_compression and the compressor's model_type: bidirlm are
not built-in transformers architectures, and the modeling code is not bundled
in this repository.
Related
unicorn-rerank/unicorn-comp-hβ the extractive counterpartunicorn-rerank/unicorn-benchmarkβ the evaluation data
Citation
UniCoRn is published in Findings of EACL 2027. If you use this model, please cite:
@misc{byun2026unicornbenchmarkunifiedcompression,
title={UniCoRn: A Benchmark for Unified Compression and Reranking},
author={Grace Byun and Clifton Poth and Carlos Lassance and Nils Reimers},
year={2026},
eprint={2611.35302},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2611.35302},
}
- Downloads last month
- 19