/ Модель

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

Контекст
40 960 токенов
Параметры
1,7 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-1.7B
Библиотека
transformers
Опубликована
25 авг 2026

Saransh-1.7B

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

Saransh 1.7B — дообученная модель для создания английских резюме с управляемой длиной, включая локальную обработку документов.

53скачиваний за 30 дней2лайкавеса обновлены25 авг 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Saransh 1.7B — компактная модель суммаризации на базе Qwen3-1.7B, разработанная M37labsorg и дообученная следовать инструкциям. Она создаёт связные краткие или подробные резюме английских статей, отчётов, стенограмм, научных текстов и переписки; длину можно задавать числом предложений, абзацев или примерным количеством слов. Модель имеет архитектуру Qwen3 с 1,7 млрд параметров и контекстное окно до 40 960 токенов по метаданным; README рекомендует разбивать входы длиннее 8 192 токенов на части. Базовые веса доступны в формате safetensors, а отдельные сборки GGUF поддерживают локальный запуск на обычном компьютере.

Сильные стороны Saransh — управление длиной резюме и отбор обучающих примеров для повышения точности передачи чисел, имён и атрибуций. При этом модель может добавлять неподтверждённые имена и иногда числа, а резюме склонны быть длиннее эталонных; результат следует проверять, особенно перед использованием в юридических, медицинских или финансовых решениях. Модель рассчитана на английский язык, не предназначена для перевода, открытого диалога или ответов на вопросы. Лицензия Apache 2.0 допускает коммерческое использование.

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

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

Ограничения

Модель может добавлять отсутствующие в источнике числа и имена; резюме часто длиннее эталонных, а часть формулировок близка к исходному тексту. README рекомендует разбивать тексты длиннее 8 192 токенов и проверять результаты перед использованием в юридических, медицинских или финансовых решениях.

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

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

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

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

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

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

Открыть на Hugging Face

Saransh 1.7B

Saransh (सारांश, Sanskrit for "summary") is a compact instruction tuned summarization model that produces faithful, readable summaries at a length you control: one or two sentences, a single paragraph, a detailed multi paragraph treatment, or an explicit word budget you specify.

It is built for the everyday case. Paste one to three pages of text, say how long you want the summary, and get well formed English prose back. At 4 bit quantization it occupies roughly 1.1 GB and runs comfortably on a laptop.

Why this model

  • Length control that actually holds. Asked for one or two sentences, the untuned base model writes 252 words. Saransh writes 24. Length adherence went from 0 percent to 100 percent on short requests and from 0 percent to 91 percent on paragraph requests.
  • Explicit word budgets. "Summarize in about 120 words" is a trained behaviour, not a hopeful prompt. Roughly a third of the training corpus carries explicit numeric targets.
  • Faithfulness by construction. Training examples whose reference summary asserted numbers or named entities absent from its own source document were removed, along with every example that attributed a claim to a publication not present in the source.
  • Runs locally. Quantized GGUF builds work in Ollama, LM Studio and llama.cpp with no GPU required.
  • Permissive licence. Apache 2.0, inherited from Qwen3, so commercial use is allowed.

Model specifications

PropertyValue
Parameters1,720,574,976 (1.72 B)
ArchitectureQwen3, decoder only transformer
Layers28
Hidden size2048
Feed forward size6144
Attention heads16 query, 8 key/value (grouped query attention)
Head dimension128
ActivationSwiGLU
NormalisationRMSNorm, epsilon 1e-6
Position encodingRotary (RoPE)
Tied embeddingsYes
Vocabulary151,936 tokens, byte level BPE
Trained context window8,192 tokens (roughly 12 pages of English prose)
Architectural maximum context40,960 tokens
Training precisionbfloat16, full parameter fine tune
ObjectiveCausal language modelling with completion only loss
Chat formatChatML, no reasoning or thinking block

Length control

Every training example was assigned a length bucket derived from its reference summary, and paired with an instruction matching that bucket. That coupling is what makes the modes distinct behaviours rather than polite suggestions.

ModeInstructionTypical output
ShortSummarize the following text in one or two sentences.1 to 2 sentences
MediumWrite a concise summary of the following text in a single paragraph.one paragraph
LongWrite a detailed summary of the following text, covering all the main points.multiple paragraphs
ExplicitSummarize the following text in about 120 words.close to the number given

Each bucket was trained with five different phrasings, so paraphrases of these instructions work as well.

Usage

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "M37labsorg/Saransh-1.7B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")

text = open("article.txt").read()
msgs = [{"role": "user", "content":
         "Write a concise summary of the following text in a single paragraph."
         "\n\n---\n" + text + "\n---"}]

prompt = tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
ids = tok(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**ids, max_new_tokens=420, do_sample=False)
print(tok.decode(out[0][ids.input_ids.shape[1]:], skip_special_tokens=True))

The chat template injects the Saransh system prompt automatically when you do not supply one, so a bare user turn behaves correctly.

Ollama

ollama run hf.co/M37labsorg/Saransh-1.7B-GGUF:Q4_K_M

LM Studio

Search for M37labsorg/Saransh-1.7B-GGUF in the model browser, or place a .gguf file in your local models directory. Set context length to 8192 and temperature to 0.3.

Recommended generation settings

ParameterValueReason
do_sampleFalseSummarization benefits from determinism
temperature0.3 (if sampling)Low creativity, high fidelity
repetition_penalty1.05Discourages loops on long inputs
max_new_tokens160 / 420 / 1024Short / medium / long
Context8192The trained maximum

Quantized builds

Available at M37labsorg/Saransh-1.7B-GGUF.

FileBitsSizeUse case
saransh-1.7b-Q4_K_M.gguf41.1 GBDefault for laptops, best size to quality ratio
saransh-1.7b-Q5_K_M.gguf51.3 GBSlightly higher fidelity
saransh-1.7b-Q8_0.gguf81.8 GBNear lossless
saransh-1.7b-f16.gguf163.4 GBReference, no quantization loss

Training corpus

A curated mixture spanning the domains a general summarizer actually encounters, covering news, conversation, legislation, government reporting, literature and scientific writing.

SourceDomainContribution
CNN / DailyMailNews articlesShort and medium summaries
XSumBBC newsExtreme compression, single sentence
Multi-NewsMulti document news clustersMedium and long
DialogSumEveryday conversationShort
SAMSumMessenger style chatShort
BillSumUnited States legislationMedium and long
GovReportGovernment research reportsLong
BookSumLiterature, chapter levelLong
arXivScientific papersLong
PubMedBiomedical papersLong

The corpus was reduced from 128,787 candidate examples to 97,038 through three successive curation passes.

Data curation

Generic quality filtering removed examples that fail basic summarization criteria: summaries that do not compress the source, implausible compression ratios, truncated references, non prose content, near duplicate documents and anything exceeding the context window. Source documents are never truncated. An over length example is dropped instead, because truncating a document while keeping its full summary teaches the model to invent the missing content.

Faithfulness filtering was added after measuring the reference summaries directly. In the raw corpus, 14.8 percent of numbers and 35.9 percent of proper nouns in XSum reference summaries do not appear in the documents those summaries describe. Multi-News scored 12.0 percent and 22.0 percent on the same measures. References like these teach confabulation, so examples were removed when the summary asserted a number or named entity absent from its own source, with number word normalisation so that "eighteen" in a document supports "18" in its summary.

Attribution filtering removed a specific and common failure. Multi-News reference summaries routinely credit claims to publications that never appear in the source document, phrases of the form "according to a report in the New York Times". This taught the model a template it would then fill with a plausible sounding but invented outlet. Every example carrying an unsupported attribution was dropped, which removed 10,087 Multi-News examples, roughly 46 percent of that dataset.

Length distribution after curation: 39,345 short, 29,241 medium and 28,452 long examples, with 35 percent of all examples carrying an explicit numeric word target.

Evaluation

Measured on 300 held out documents spanning all ten source datasets, greedy decoding, compared against the untuned base model under identical prompts.

MetricQwen3-1.7B baseSaransh 1.7B
ROUGE-10.1900.387
ROUGE-20.0490.170
ROUGE-L0.1060.271

Length adherence

The share of requests whose output lands inside the band that was asked for.

ModeBase words outBase on targetSaransh words outSaransh on target
Short252.10 percent23.9100 percent
Medium332.40 percent86.991 percent
Long525.2100 percent346.798 percent

The base model ignores length instructions entirely. Asked for one or two sentences it produces 252 words. Closing that gap is the central purpose of the fine tune.

ROUGE-L by source

SourceROUGE-L
BillSum0.396
DialogSum0.322
SAMSum0.309
XSum0.259
PubMed0.238
Multi-News0.226
arXiv0.223
CNN / DailyMail0.219
GovReport0.218
BookSum0.123

Limitations

Every number and proper noun in 300 generated summaries was checked against the document it summarized.

Failure modeRate
Output contains a number absent from the source3.3 percent
Output contains a name absent from the source8.3 percent
Output invents a publication name0.7 percent

The name figure is an upper bound, since it counts morphological variants and legitimate paraphrase as unsupported. The invented publication case is rare but real, inherited from news summarization references, and appears most often on science and news writing. Verify attributions before quoting them.

Further limitations:

  • English only.
  • Inputs beyond 8,192 tokens require chunking.
  • Moderately extractive. About 30 percent of output 8-grams appear verbatim in the source.
  • Verbose relative to references, overshooting reference length by 20 to 35 percent. Use the explicit word count form when you need a precise budget.
  • Long mode on a short document converges toward medium mode output, which is correct behaviour, since a short document cannot support a detailed summary.
  • Summarization can drop or blur detail. Review the output before relying on it for legal, medical or financial decisions.

Intended use

Saransh is intended for summarizing English prose documents: articles, reports, transcripts, papers and correspondence. It is suitable for local and offline deployment, batch document processing and integration into note taking or research tooling.

It is not intended for factual question answering, translation, open ended conversation, or any application where an unverified summary would drive a consequential decision.

Licence and attribution

Released under Apache 2.0, inherited from the base model. Saransh is a derivative work of Qwen/Qwen3-1.7B.

Citation

@misc{maithani2026saransh,
  title  = {Saransh: A Length Controlled Small Language Model for Abstractive Summarization},
  author = {Maithani, Aniket for M37Labs},
  year   = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/M37labsorg/Saransh-1.7B}}
}

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
5d5e235

0 моделей