alt.freeweights.minicpm / InfLLM-V2-Short-Dense-Base
From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject:

InfLLM-V2-Short-Dense-Base

Date: 2026-11-15Commit: aba491dSigned: 2DC28CC7B26A283B ✓

Model with 8.2B parameters. Safetensors weights, 32.7 GB in all. Published by openbmb under Apache-2.0.

8.2B params32.7GBInfLLM-V2-Short-Dense-Basesafetensorspermissive
FactsParams8.2BSize32.7 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get openbmb/InfLLM-V2-Short-Dense-Base
# manifest sha256 1802fe6e8af9… · 32.7 GB · 19 files
$ fw verify ./InfLLM-V2-Short-Dense-Base openbmb/InfLLM-V2-Short-Dense-Base
From sourceHosted (signed)openbmb/InfLLM-V2-Short-Dense-BaseLast check: 2026-11-15 03:33 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
32.7 GB
Weights
32.7 GB (safetensors)
Parameters
8.2B
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
19, each with a sha256
Publisher
openbmb
Added
2026-11-15
Section
alt.freeweights.minicpm
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commitโ†’You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:33 UTCpassed

Model card

From the publisher at commit aba491d. Shown as plain text with links; images open at the publisher.

InfLLM-V2-Short-Dense-Base#

Project Links: [Paper] [InfLLM-V2 Models] [CUDA Kernel Code]


๐Ÿš€ Model Description#

InfLLM-V2-Short-Dense-Base is the foundational base model for the InfLLM-V2 long-context training pipeline.

This model is pre-trained on a large corpus of short-text data and utilizes a standard dense attention mechanism. It serves as the starting checkpoint for the continued training phase, which unlocks the advanced long-context capabilities seen in the final sparse model.

It is highly performant on short-text tasks and provides a solid foundation for further fine-tuning or continued training.

๐Ÿ“Œ Role in the InfLLM-V2 Ecosystem#

This model is the crucial first step in the InfLLM-V2 training workflow. The entire process is designed to be transparent and reproducible:

  • Step 1: Start from this base model.
  • Step 2: Continue training on long-text data.
  • Step 3: Get the final long-context model.

๐Ÿ’ป How to Use#

As a standard dense-attention model, you can use it directly with the transformers library without any special configuration.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

# Set device
device = "cuda" if torch.cuda.is_available() else "cpu"

# Load model and tokenizer
model_id = "openbmb/InfLLM-V2-Short-Dense-Base"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id,trust_remote_code=True).to(device,dtype=torch.bfloat16)

# Create a prompt
prompt = "The capital of France is"
inputs = tokenizer(prompt, return_tensors="pt").to(device)

# Generate text
outputs = model.generate(**inputs, max_new_tokens=10)
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)

print(generated_text)
# Expected output: The capital of France is Paris.

Note: This model is optimized for short sequences. For long-context capabilities, please use the final InfLLM-V2-Long-Sparse-Base model.

Citation#

If you use our work in your research, please cite our paper:

@misc{zhao2025infllmv2densesparseswitchableattention,
      title={InfLLM-V2: Dense-Sparse Switchable Attention for Seamless Short-to-Long Adaptation}, 
      author={Weilin Zhao and Zihan Zhou and Zhou Su and Chaojun Xiao and Yuxuan Li and Yanghao Li and Yudi Zhang and Weilun Zhao and Zhen Li and Yuxiang Huang and Ao Sun and Xu Han and Zhiyuan Liu},
      year={2025},
      eprint={2509.24663},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2509.24663}, 
}

Files

19 files ยท 32.7 GBWeights 32.7 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 19 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md3.42 KBdae299bb900cd9e0252ba97111a058cd7a6c7d9196aaca6c376341509df340f3
added_tokens.json216 B4760fcbf90bc193f33827ffe02f2e7ba1af1ec43644cc02ac22fdd611f6cca15
config.json1.13 KB47470ffe216b8e01f7a13791eb2e8b023eddfd6563b83b67dff794a7dae6ae3e
configuration_minicpm.py9.66 KBf9014f14f71a175a53d48e862ebabb6007a09a2b7dd61eb6a00ddb0cee0ef9a5
generation_config.json182 B83595cf3b045d7ed16593ae399b0e3c13fe45640a4bec3a1cd371b057a6a98b7
model-00001-of-00007.safetensors5.00 GB0185dcfbf33a0477fa3fc1b6703f29c9834dad6268d9f29769fb5eacfe1deb59
model-00002-of-00007.safetensors4.88 GB98c7e73b17b9be2e32718a2e5ccd18e43f3feeceb4ce5e620a248cae26be7a54
model-00003-of-00007.safetensors4.74 GB3355e305dcc7c9975bddd4ddfe318b12f96ffd0896ae76b0ef7a0d22cc8f5053
model-00004-of-00007.safetensors4.74 GB589436459f0b5a1d8ec2fb5cd2365b61d3a3d5f5d1051030c3d0f6d3a5719028
model-00005-of-00007.safetensors4.74 GB2172488a3d485f96254e020969dc5cbffec91da02b3a2cd1f2cd2dbc3b6a357c
model-00006-of-00007.safetensors4.74 GB759894aeba53b4598ee2ee209fd913bdaf3c90160a24cee4e7f34281c0a12c63
model-00007-of-00007.safetensors3.90 GB8f8f481d4574d8001bdb97d0d271de1ec27b25ab4cc78c9f4f4ad117e5df99cc
model.safetensors.index.json24.0 KB3d7e05ff653f6d59258c3562f4c66c001ed0bc8b2ce0a6833e02f98564fc27e3
modeling_minicpm.py108 KB6c511c8b927631c10cdfc049fff5db5e4d557aebba9ff91e56ed30777dfc5a29
special_tokens_map.json630 B9ec9d6f07cb0e436598bf29b4d97c6355434c08fdbe9c264e6926907f3751c7e
tokenizer.json6.70 MBadf7208af154a5ca065d2eda4e5419e02aac58c2c00627874748b75ec6769094
tokenizer.model1.18 MBbb74d51116831c3bf65db812c553f94ab0c88dcf97a5bbb37e3504f6d359c530
tokenizer_config.json2.94 KB754ae39e7407a1f34c4fd76b37d8f46dae72ba14e52f01899ff9cac4254bf94e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
aba491d07a pinned now2026-11-15 03:33 UTC19 files ยท 32.7 GB

Use it

$ fw get openbmb/InfLLM-V2-Short-Dense-Base
# manifest sha256 1802fe6e8af9… · 32.7 GB · 19 files
$ fw verify ./InfLLM-V2-Short-Dense-Base openbmb/InfLLM-V2-Short-Dense-Base
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/openbmb/InfLLM-V2-Short-Dense-Base.json --dir ./InfLLM-V2-Short-Dense-Base $ python3 fw.py verify ./InfLLM-V2-Short-Dense-Base ./openbmb__InfLLM-V2-Short-Dense-Base.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/InfLLM-V2-Short-Dense-Base --revision aba491d07a8c2e0e8a07456cfa55dc3fa71151b4 --local-dir ./InfLLM-V2-Short-Dense-Base

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
dae299bb900cd9e0252ba97111a058cd7a6c7d9196aaca6c376341509df340f3
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject: InfLLM-V2-Short-Dense-BaseDate: 2026-11-15Commit: aba491dSigned: 2DC28CC7B26A283B ✓
Upstream
openbmb/InfLLM-V2-Short-Dense-Base
Pinned commit
aba491d07a8c2e0e8a07456cfa55dc3fa71151b4
Manifest
InfLLM-V2-Short-Dense-Base.json ยท .minisig
Manifest sha256
1802fe6e8af90d3004bb5646f1485bc785faf4f003b8bb257b81c4c8b1f0d5e8
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:33 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/openbmb/InfLLM-V2-Short-Dense-Base.json $ curl -O https://freeweights.allternit.com/manifests/openbmb/InfLLM-V2-Short-Dense-Base.json.minisig $ minisign -Vm InfLLM-V2-Short-Dense-Base.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/InfLLM-V2-Short-Dense-Base
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. InfLLM-V2-Short-Dense-Base.json. Provenance. Takedown history: none.
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Explore-GGUF
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report-GGUF
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-0.5B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-1B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-3B-gguf