Downloads · 30 days
8
6% of all-time downloads
cds-jb/qwen3-8b-gist-instruction-compression
qwen3-8b-gist-instruction-compression is a machine learning model from cds-jb. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
Reproduction of "Learning to Compress Prompts with Gist Tokens" (Mu, Li & Goodman 2023, arXiv:2304.08467) on Qwen/Qwen3-8B, packaged as a model organism for activation-verbalizer (activation-oracle) evals: an entire i…
Downloads · 30 days
8
6% of all-time downloads
All-time downloads
144
Public
Repo size
710 MB
Likes
0
Public
Click a slice to open those files.
.safetensors698 MB · 98%
From the Hugging Face model README
Reproduction of "Learning to Compress Prompts with Gist Tokens" (Mu, Li &
Goodman 2023, arXiv:2304.08467) on Qwen/Qwen3-8B, packaged as a model organism
for activation-verbalizer (activation-oracle) evals: an entire instruction is
compressed into the activations of ONE learned <GIST> token (id 151669).
A 4D attention mask enforces the bottleneck during training AND inference: tokens after the gist cannot attend the instruction, so the instruction reaches the completion only through the gist token's hidden states. Executable proof: corrupting all instruction K/V after prefill leaves greedy generations bit-identical.
<GIST> embedding row
(PEFT trainable_token_indices; the row's trained VALUES are stored in the
adapter, so loading does not depend on base-row init).Instruction: {instruction}\n<GIST>\n[Input: {input}\n]Output:gist_tokens/ in the activation_oracles_dev repo.Used by the gist_tokens/gist_instruction task in
cds-jb/AVBench: the AO reads
the single gist position (token-exact rows) and must recover the compressed
held-out instruction.