openbmb / InfLLM-V2-Short-Dense-Base

huggingface.co
Total runs: 122
24-hour runs: 0
7-day runs: 100
30-day runs: 100
Model's Last Updated: December 01 2025

Introduction of InfLLM-V2-Short-Dense-Base

Model Details of InfLLM-V2-Short-Dense-Base

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}, 
}

Runs of openbmb InfLLM-V2-Short-Dense-Base on huggingface.co

122
Total runs
0
24-hour runs
11
3-day runs
100
7-day runs
100
30-day runs

More Information About InfLLM-V2-Short-Dense-Base huggingface.co Model

More InfLLM-V2-Short-Dense-Base license Visit here:

https://choosealicense.com/licenses/apache-2.0

InfLLM-V2-Short-Dense-Base huggingface.co

InfLLM-V2-Short-Dense-Base huggingface.co is an AI model on huggingface.co that provides InfLLM-V2-Short-Dense-Base's model effect (), which can be used instantly with this openbmb InfLLM-V2-Short-Dense-Base model. huggingface.co supports a free trial of the InfLLM-V2-Short-Dense-Base model, and also provides paid use of the InfLLM-V2-Short-Dense-Base. Support call InfLLM-V2-Short-Dense-Base model through api, including Node.js, Python, http.

InfLLM-V2-Short-Dense-Base huggingface.co Url

https://huggingface.co/openbmb/InfLLM-V2-Short-Dense-Base

openbmb InfLLM-V2-Short-Dense-Base online free

InfLLM-V2-Short-Dense-Base huggingface.co is an online trial and call api platform, which integrates InfLLM-V2-Short-Dense-Base's modeling effects, including api services, and provides a free online trial of InfLLM-V2-Short-Dense-Base, you can try InfLLM-V2-Short-Dense-Base online for free by clicking the link below.

openbmb InfLLM-V2-Short-Dense-Base online free url in huggingface.co:

https://huggingface.co/openbmb/InfLLM-V2-Short-Dense-Base

InfLLM-V2-Short-Dense-Base install

InfLLM-V2-Short-Dense-Base is an open source model from GitHub that offers a free installation service, and any user can find InfLLM-V2-Short-Dense-Base on GitHub to install. At the same time, huggingface.co provides the effect of InfLLM-V2-Short-Dense-Base install, users can directly use InfLLM-V2-Short-Dense-Base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

InfLLM-V2-Short-Dense-Base install url in huggingface.co:

https://huggingface.co/openbmb/InfLLM-V2-Short-Dense-Base

Url of InfLLM-V2-Short-Dense-Base

InfLLM-V2-Short-Dense-Base huggingface.co Url

Provider of InfLLM-V2-Short-Dense-Base huggingface.co

openbmb
ORGANIZATIONS

Other API from openbmb

huggingface.co

Total runs: 200.2K
Run Growth: 91.4K
Growth Rate: 45.63%
Updated:October 05 2025
huggingface.co

Total runs: 134.8K
Run Growth: -3.0K
Growth Rate: -2.19%
Updated:March 10 2026
huggingface.co

Total runs: 117.8K
Run Growth: 4.9K
Growth Rate: 4.17%
Updated:September 15 2025
huggingface.co

Total runs: 112.2K
Run Growth: 89.6K
Growth Rate: 79.87%
Updated:May 10 2026
huggingface.co

Total runs: 106.9K
Run Growth: -45.2K
Growth Rate: -42.32%
Updated:June 13 2025
huggingface.co

Total runs: 25.5K
Run Growth: 411
Growth Rate: 1.61%
Updated:October 24 2025
huggingface.co

Total runs: 20.0K
Run Growth: 1.8K
Growth Rate: 8.78%
Updated:October 24 2025
huggingface.co

Total runs: 19.9K
Run Growth: 406
Growth Rate: 2.04%
Updated:January 15 2025
huggingface.co

Total runs: 11.5K
Run Growth: 10.4K
Growth Rate: 90.57%
Updated:May 07 2026
huggingface.co

Total runs: 8.3K
Run Growth: -4.0K
Growth Rate: -47.73%
Updated:June 02 2023
huggingface.co

Total runs: 7.7K
Run Growth: -4.1K
Growth Rate: -52.99%
Updated:February 27 2025
huggingface.co

Total runs: 6.5K
Run Growth: 523
Growth Rate: 8.06%
Updated:January 14 2026
huggingface.co

Total runs: 5.4K
Run Growth: 5.4K
Growth Rate: 99.14%
Updated:June 10 2025
huggingface.co

Total runs: 5.2K
Run Growth: 3.7K
Growth Rate: 70.38%
Updated:October 20 2025
huggingface.co

Total runs: 4.8K
Run Growth: 2.7K
Growth Rate: 56.92%
Updated:November 04 2024
huggingface.co

Total runs: 3.0K
Run Growth: -6.9K
Growth Rate: -230.98%
Updated:September 09 2026
huggingface.co

Total runs: 1.4K
Run Growth: 79
Growth Rate: 5.80%
Updated:January 15 2025
huggingface.co

Total runs: 1.0K
Run Growth: 153
Growth Rate: 14.93%
Updated:September 19 2025
huggingface.co

Total runs: 891
Run Growth: 76
Growth Rate: 8.53%
Updated:June 27 2023
huggingface.co

Total runs: 847
Run Growth: 48
Growth Rate: 5.67%
Updated:August 24 2023
huggingface.co

Total runs: 744
Run Growth: 213
Growth Rate: 28.63%
Updated:May 14 2024
huggingface.co

Total runs: 436
Run Growth: 372
Growth Rate: 85.32%
Updated:February 12 2026
huggingface.co

Total runs: 416
Run Growth: -75
Growth Rate: -18.03%
Updated:October 14 2023
huggingface.co

Total runs: 340
Run Growth: 189
Growth Rate: 55.59%
Updated:February 21 2024
huggingface.co

Total runs: 316
Run Growth: 174
Growth Rate: 55.06%
Updated:February 21 2024
huggingface.co

Total runs: 272
Run Growth: -49
Growth Rate: -18.01%
Updated:June 14 2025
huggingface.co

Total runs: 270
Run Growth: 135
Growth Rate: 50.00%
Updated:February 21 2024
huggingface.co

Total runs: 251
Run Growth: 68
Growth Rate: 27.09%
Updated:February 21 2024