ModelHub XC 98501aaf6e 初始化项目,由ModelHub XC社区提供模型
Model: amao0o0/InfoDensity-Qwen3-8B
Source: Original Platform
2026-11-14 16:10:28 +08:00

license, base_model, pipeline_tag, library_name, tags
license base_model pipeline_tag library_name tags
apache-2.0 Qwen/Qwen3-8B text-generation transformers
reasoning
efficient-reasoning
math

InfoDensity-Qwen3-8B

Qwen/Qwen3-8B trained with InfoDensity, a reinforcement-learning reward that favours information-dense reasoning traces. The reward combines an entropy-trajectory quality term with a group-relative length scaling term, and is applied only to traces that reach a correct answer, so the model learns to reach the right answer with markedly less deliberation. Method details are in the paper.

Results

Accuracy (pass@1) and mean generated length averaged over AMC23, AIME24, MATH500 and GPQA-Diamond, as reported in the paper. AES is the Accuracy–Efficiency Score (α=1, β=3, γ=5).

Model Accuracy Length AES
Qwen3-8B 74.0 8.9k —
InfoDensity-Qwen3-8B 78.1 4.2k +0.69

Evaluation protocol

Greedy decoding, pass@1, generation capped at 16384 tokens, with the prompt

<question>

Please reason step by step, and put your final answer within \boxed{}

The evaluation scripts that produce these numbers are in the GitHub repository.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "amao0o0/InfoDensity-Qwen3-8B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="bfloat16", device_map="auto")

question = "What is the smallest positive integer n such that n^2 + n + 41 is not prime?"
messages = [{"role": "user",
             "content": f"{question}\n\nPlease reason step by step, and put your final answer within \\boxed{{}}"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)

out = model.generate(**tokenizer(prompt, return_tensors="pt").to(model.device), max_new_tokens=16384)
print(tokenizer.decode(out[0], skip_special_tokens=True))

With vLLM:

from vllm import LLM, SamplingParams

llm = LLM(model="amao0o0/InfoDensity-Qwen3-8B")
print(llm.generate([prompt], SamplingParams(temperature=0, max_tokens=16384))[0].outputs[0].text)

License

Released under apache-2.0, inherited from the base model Qwen/Qwen3-8B.

Citation

@inproceedings{wei2026infodensity,
  title     = {InfoDensity: Rewarding Information-Dense Traces for Efficient Reasoning},
  author    = {Wei, Chengwei and Kim, Jung-jae and Zhang, Longyin and Chen, Shengkai and Chen, Nancy F.},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing},
  year      = {2026}
}
S
Description
Model synced from source: amao0o0/InfoDensity-Qwen3-8B
Readme
13 MiB
0 Stars 1 Watchers 0 Forks
Languages
Jinja 100%