codefuse-ai / rodimus_plus_1B6_base_20250215

huggingface.co
Total runs: 1
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: February 26 2025

Introduction of rodimus_plus_1B6_base_20250215

Model Details of rodimus_plus_1B6_base_20250215

Rodimus*

Introduction

Rodimus* is a new series of efficient large language models designed to address the challenges of computational complexity in Transformer-based architectures. The Rodimus* includes the base Rodimus model and its enhanced version, Rodimus+. Rodimus leverages a novel Data-Dependent Tempered Selection (DDTS) mechanism within a purely recurrent, linear attention-based framework, achieving high performance.

Building on this, Rodimus+ combines the strengths of Rodimus and the innovative Sliding Window Shared-Key Attention (SW-SKA) in a hybrid approach. This combination effectively integrates semantic, token, and head compression techniques, enabling a balance between accuracy and efficiency.

For more details, please refer to our Paper and Github .

This repository contains the latest checkpoint of Rodimus+ 1.6B trained by continuously updated data, with a focus on the performance of code and math.

Usage

We do not recommend using base language models directly for text generation. Instead, consider applying post-training techniques such as SFT, RLHF or continued pretraining to enhance the model's performance.

Installation

  1. The latest version of transformers is recommended (at least 4.42.0).
  2. We evaluate our models with python=3.8 and torch==2.1.2 .
  3. If you use Rodimus, you need to install flash-linear-attention and triton>=2.2.0 . If you use Rodimus+, you need to further install flash-attention .
Generation

generate APi

import os
import torch
from modeling_rodimus import RodimusForCausalLM
from tokenization_rodimus_fast import RodimusTokenizer

# load model
ckpt_dir = "model_path"
tokenizer = RodimusTokenizer.from_pretrained(ckpt_dir)
model = RodimusForCausalLM.from_pretrained(
    ckpt_dir,
    torch_dtype=torch.float16,
    device_map="cuda"
).eval()

# inference
input_prompt = "你好!你是谁?"
model_inputs = tokenizer(input_prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**model_inputs, max_length=32)
response = tokenizer.batch_decode(outputs, skip_special_tokens=True)[0]

print(response)
Performance

Code Tasks : HumanEval (0-shot), MBPP (0-shot)

Math Tasks : GSM8K (4-shot), MATH (5-shot)

NLP Tasks : C-Eval (5-shot), CMMLU (5-shot), MMLU (5-shot), BBH (3-shot)

Latest update time: 2025/02/15

Datasets Rodimus+ 1.6B (20250215)
HumanEval 24.39
MBPP 26.60
GSM8K 50.19
MATH 15.06
C-Eval 47.19
CMMLU 43.76
MMLU 45.52
BBH 35.28
Citation

If you find our work helpful, feel free to give us a cite.

@inproceedings{
he2025rodimus,
title={Rodimus*: Breaking the Accuracy-Efficiency Trade-Off with Efficient Attentions},
author={Zhihao He and Hang Yu and Zi Gong and Shizhan Liu and Jianguo Li and Weiyao Lin},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=IIVYiJ1ggK}
}

Runs of codefuse-ai rodimus_plus_1B6_base_20250215 on huggingface.co

1
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About rodimus_plus_1B6_base_20250215 huggingface.co Model

More rodimus_plus_1B6_base_20250215 license Visit here:

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

rodimus_plus_1B6_base_20250215 huggingface.co

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

rodimus_plus_1B6_base_20250215 huggingface.co Url

https://huggingface.co/codefuse-ai/rodimus_plus_1B6_base_20250215

codefuse-ai rodimus_plus_1B6_base_20250215 online free

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

codefuse-ai rodimus_plus_1B6_base_20250215 online free url in huggingface.co:

https://huggingface.co/codefuse-ai/rodimus_plus_1B6_base_20250215

rodimus_plus_1B6_base_20250215 install

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

rodimus_plus_1B6_base_20250215 install url in huggingface.co:

https://huggingface.co/codefuse-ai/rodimus_plus_1B6_base_20250215

Url of rodimus_plus_1B6_base_20250215

rodimus_plus_1B6_base_20250215 huggingface.co Url

Provider of rodimus_plus_1B6_base_20250215 huggingface.co

codefuse-ai
ORGANIZATIONS

Other API from codefuse-ai

huggingface.co

Total runs: 1.2K
Run Growth: 347
Growth Rate: 28.75%
Updated:December 21 2025
huggingface.co

Total runs: 316
Run Growth: -43
Growth Rate: -13.61%
Updated:January 21 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 03 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 03 2026