/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
795 млн
Размер весов
33,6 ГБ
Лицензия
MIT
Архитектура
bailing_moe · MoE
Базовая модель
Ling-lite-base-1.5
Библиотека
transformers
Опубликована
17 июн 2025

Ring-lite

Генерация текстаТекст → текст15 профессий

Открытая MoE-языковая модель inclusionAI для генерации ответов в чате и решения сложных задач рассуждения, математики и программирования.

187скачиваний за 30 дней49лайковвеса обновлены18 авг 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Ring-lite — лёгкая открытая языковая модель с архитектурой Mixture of Experts (MoE), разработанная командой inclusionAI на основе inclusionAI/Ling-lite-base-1.5. Модель предназначена для сложных задач рассуждения и генерирует текст в формате чата. В метаданных указаны 794,8 млн параметров, библиотека Transformers и контекст 32 768 токенов; README описывает вариант Ring-lite с 16,8 млрд общих и 2,75 млрд активных параметров и контекстом 128 тыс. токенов, поэтому эти характеристики могут относиться к разным версиям или представлениям модели.

Модель обучалась с использованием дистилляции знаний и обучения с подкреплением. Она предлагает режимы с выводом рассуждений и без него; в README приведены результаты оценок по математике и программированию, включая AIME и LiveCodeBench. Указанные языки — китайский и английский. Модель распространяется по лицензии MIT.

Сценарии применения

  • решение сложных математических задач
  • генерация и отладка программного кода
  • ответы на научные вопросы
  • диалог с подробным выводом рассуждений
  • получение краткого ответа без вывода рассуждений

Ограничения

README и метаданные приводят разные значения числа параметров и длины контекста, возможно, для разных версий модели. В README описаны результаты на отдельных бенчмарках; они не гарантируют качество на других задачах.

Для каких профессий подходит15

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Ring-lite

Introduction

Ring-lite is a lightweight, fully open-sourced MoE (Mixture of Experts) LLM designed for complex reasoning tasks. It is built upon the publicly available Ling-lite-1.5 model, which has 16.8B parameters with 2.75B activated parameters.. We use a joint training pipeline combining knowledge distillation with reinforcement learning, achieving performance comparable to state-of-the-art (SOTA) small-size reasoning models on challenging benchmarks (AIME, LiveCodeBench, and GPQA-Diamond) while activating only one-third of their parameters.

News

[20250704] Ring-lite-0704: we update Ring-lite model, which supports two distinct reasoning modes: "thinking on" and "thinking off".

Model Downloads

Model#Total Params#Activated ParamsContext LengthDownload
Ring-lite16.8B2.75B128K🤗 HuggingFace

Evaluation

For a comprehensive evaluation of the quality of our reasoning models, we implemented automatic benchmarks to assess their performance including math, code and science.

To compare the performance of Ring-lite-0704 and Ring-lite-0616, we evaluate the two models on a broader range of reasoning and general-purpose benchmarks, including instruction following, function calling, and creative writing.

DatasetRing-lite-0616Ring-lite-0704
AIME 202476.679.0
AIME 202569.169.5
LiveCodeBench60.761.4
Codeforces (percentile)86.588.0
GPQA Diamond61.163.2
C-Eval59.065.4
MMLU-Pro60.063.0
ArenaHard27.862.7
IF-Eval51.654.3
BFCL_Live60.166.8
Creative Writing6.760.2

More details are reported in our technical report.

Quickstart

🤗 Hugging Face Transformers

The newly updated Ring-lite model now supports two distinct reasoning modes: "thinking on" and "thinking off". These modes are controlled by the enable_thinking parameter in the tokenizer.apply_chat_template() function.

  • When enable_thinking is set to True (or omitted), the model operates in "thinking on" mode, where it generates and outputs the internal reasoning process.
  • When enable_thinking is explicitly set to False, the model runs in "thinking off" mode, skipping the reasoning step entirely and directly producing the final answer.

This feature allows users to choose between detailed reasoning and concise output based on their specific needs.

Here is a code snippet to show you how to use the chat model with transformers:

Thinking on

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "inclusionAI/Ring-lite"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "Give me a short introduction to large language models."
messages = [
    {"role": "system", "content": "You are Ring, an assistant created by inclusionAI"},
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=8192
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]

Thinking off

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "inclusionAI/Ring-lite"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "Give me a short introduction to large language models."
messages = [
    {"role": "system", "content": "You are Ring, an assistant created by inclusionAI"},
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=8192
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]

Dataset

The training data of Ring-lite is release at Ring-lite-sft-data and Ring-lite-rl-data.

Code

The training code will be released soon.

Deployment

Please refer to GitHub

License

This code repository is licensed under the MIT License.

Citation

@misc{ringteam2025ringlitescalablereasoningc3postabilized,
      title={Ring-lite: Scalable Reasoning via C3PO-Stabilized Reinforcement Learning for LLMs}, 
      author={Ling Team},
      year={2025},
      eprint={2506.14731},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2506.14731}, 
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
BailingMoeForCausalLM
Ревизия весов
237e860

0 моделей