/ Модель

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

Контекст
131 072 токена
Лицензия
Apache 2.0
Архитектура
qwen3_tts · dense
Базовая модель
Qwen3-TTS-12Hz-1.7B-Base
Опубликована
25 ноя 2026

sten-tts

Синтез речиТекст → аудио
292скачиваний за 30 дней0лайковвеса обновлены26 ноя 2026

Описание модели

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

Sten-TTS-1.7B — дообученная модель Qwen3-TTS для синтеза шведской речи 12 региональными голосами на собственных серверах или устройствах.

Sten-TTS-1.7B — модель синтеза речи Swedish Embedded AB, созданная Мартином Шрёдером на базе Qwen/Qwen3-TTS-12Hz-1.7B-Base. Это дообученная плотная модель Qwen3-TTS с 1,7 млрд параметров, обученная на 420 часах шведской речи. Она преобразует текст в аудио с частотой дискретизации 24 кГц и предлагает 12 именованных голосов — по шесть женских и мужских — из шести регионов Швеции.

Модель предназначена прежде всего для генерации шведской речи на собственных серверах или периферийных устройствах, в том числе для сервисов компаний и государственных организаций, которым важно обрабатывать текст локально. Английские слова и имена внутри шведского текста сохраняют английское произношение. Модель работает через пакет qwen-tts и может обслуживаться через совместимый с OpenAI API интерфейс.

В тестах на невстречавшихся обучению предложениях FLEURS шведская модель показала CER 0,064 против 0,102 у базовой модели; в тестах с переключением на английские слова и с числами результаты также были лучше базовой модели. Ограничения: модель читает текст как написан, без отдельной нормализации чисел, дат, сокращений и символов; английский текст отдельно не оценивался, а финляндский вариант шведского не охвачен. Голоса основаны на записях читанной речи примерно 1999 года, не поддерживают управление стилем или клонирование по образцу. Большая часть обучающей шведской речи записана в 16 кГц, поэтому выход 24 кГц не содержит верхнюю часть частотного диапазона. Лицензия — Apache-2.0.

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

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

Ограничения

Модель читает текст как написан, поэтому числа, даты, сокращения и символы — слабая область; английский текст отдельно не оценивался, а финляндский вариант шведского не охвачен. Она использует только встроенные голоса без управления стилем и клонирования по аудиообразцу; верхняя часть частотного диапазона ограничена из-за преобладания обучающих записей с частотой 16 кГц.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Sten-TTS-1.7B

Swedish text-to-speech on your own servers, with your own voice

For product teams, public-sector services and device makers that need Swedish or Nordic speech output and cannot route their users' text through a cloud service.

Swedish Embedded AB will:

  • add your brand voice, another language or a dialect to a model like this one;
  • adapt pronunciation to your domain: product names, numbers, terminology;
  • deploy it privately, behind an OpenAI-compatible speech API or on an edge device.

From this repository: a 1.7B model with 12 named Swedish voices from 6 regions, fine-tuned on 420 hours of speech (194,769 utterances) in 32 minutes on 11 GPUs. On FLEURS test sentences it never saw, a speech recogniser's character error rate is 0.064, against 0.102 for the base model.

Tell Martin Schröder about your use case on LinkedIn, or email info@swedishembedded.com.

Built by Martin Schröder info@swedishembedded.com (LinkedIn), Swedish Embedded AB.

Sten-TTS-1.7B is a Swedish text-to-speech model with 12 named voices, 6 female and 6 male, from 6 regions of Sweden. It is a fine-tune of Qwen/Qwen3-TTS-12Hz-1.7B-Base that adds Swedish as a language. English is trained alongside it, so English words and names inside Swedish sentences keep their English pronunciation. The model produces 24 kHz audio, loads in the upstream qwen-tts package without conversion, and is released under Apache-2.0.

The training data is published as Sten-TTS Voice: the 420 hours used here, with held-out sets, sources and licences.

Listen

Real, unpicked output: every voice reads a FLEURS sv_se test sentence that was never part of the training data, and the first take (seed 1) is the one you hear. CER is the character error rate of a speech recogniser (Qwen/Qwen3-ASR-1.7B) transcribing that clip, so 0.000 means every character was recognised.

Resenärer på väg till länder med höga skatter kan ibland spara en avsevärd summa, särskilt på produkter som alkoholhaltiga drycker och tobak.

voicegender, regionCERlisten
Axelmale, Dalarna area0.014
Astridfemale, Central Sweden0.072
Erikmale, Central Sweden0.000
Linneafemale, Stockholm area0.000
Viktormale, Stockholm area0.029
Elsafemale, Gothenburg area0.000
Oskarmale, Gothenburg area0.014
Majafemale, Western southern Sweden0.216
Nilsmale, Western southern Sweden0.000
Signefemale, Norrland0.014
Arvidmale, Norrland0.000
Ingridfemale, Dalarna area0.007

Usage

Python, with the upstream package

pip install qwen-tts soundfile (tested with qwen-tts 0.1.1).

import soundfile as sf
import torch
from qwen_tts import Qwen3TTSModel

model = Qwen3TTSModel.from_pretrained("swedishembedded/sten-tts", device_map="cuda:0", dtype=torch.bfloat16)
wavs, sample_rate = model.generate_custom_voice(
    text="Hej och välkommen till Sten.",
    speaker="axel",
    language="swedish",
)
sf.write("axel.wav", wavs[0], sample_rate)

On a machine without a GPU, load with device_map="cpu", dtype=torch.float32.

HTTP, with brain's OpenAI-compatible API

brain pull swedishembedded/sten-tts
brain serve --openai 127.0.0.1:8080    # prints the API key it generates, or pass --api-key-file

curl http://127.0.0.1:8080/v1/audio/speech \
  -H "Authorization: Bearer $BRAIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "swedishembedded/sten-tts", "voice": "axel", "language": "swedish",
       "input": "Hej och välkommen till Sten.", "response_format": "wav"}' \
  -o axel.wav

Always send "language": "swedish"; without it the text is spoken as English.

Voices

Pass the name as speaker (Python) or voice (HTTP).

voicegenderregion
astridfemaleCentral Sweden (Mellansverige)
erikmaleCentral Sweden (Mellansverige)
linneafemaleStockholm area (Stockholm med omnejd)
viktormaleStockholm area (Stockholm med omnejd)
elsafemaleGothenburg area (Göteborg med omnejd)
oskarmaleGothenburg area (Göteborg med omnejd)
majafemaleWestern southern Sweden (Västra sydsverige)
nilsmaleWestern southern Sweden (Västra sydsverige)
signefemaleNorrland
arvidmaleNorrland
ingridfemaleDalarna area (Dalarna med omnejd)
axelmaleDalarna area (Dalarna med omnejd)

Each voice is an anonymous speaker of the NST Swedish speech database (CC0-1.0), chosen as the liveliest reader of their gender and region by pitch variation, loudness dynamics and speaking rate. The region is where the speaker grew up. The recordings are read sentences, so expect a regional accent rather than dialect.

Evaluation

Each of the 12 voices read every sentence of the sets below. Qwen/Qwen3-ASR-1.7B, told that the language is Swedish, transcribed each clip, and the character error rate (CER, lower is better) compares that transcript with the sentence. The base model read the same sentences, cloning each voice from one of its recordings.

test setsentencesSten-TTSbase model
FLEURS2000.0640.102
Code-switching600.0620.069
Numbers400.1570.179

FLEURS: FLEURS sv_se test sentences, never trained on; Code-switching: hand-written Swedish sentences with English words, names and brands; Numbers: hand-written sentences with numbers, dates, times, units and abbreviations.

  • Against the base model. On FLEURS the CER difference, Sten-TTS minus base, is -0.037 (95% paired-bootstrap interval -0.049 to -0.027, n = 2,400 voice and sentence pairs).
  • Reliability. Failure rate 0 on the 4,800 FLEURS clips: none was silent, ran into the length limit or ran on past its text.
  • Voice consistency. Identification accuracy is 1.00 for every voice: a speaker encoder matched each FLEURS clip to the nearest of the 12 voices' real recordings. Cosine similarity to the voice's own recordings is 0.995 for synthesized clips and 0.995 for real held-out recordings; at that level the encoder separates little, so read the identification result, not the similarity, as the evidence.
  • Compatibility. The checkpoint loads and speaks in the upstream qwen-tts package, unconverted.

CER per voice:

voiceregionFLEURSCode-switchingNumbers
astridCentral Sweden0.0500.0550.148
erikCentral Sweden0.0510.0520.159
linneaStockholm area0.0530.0650.143
viktorStockholm area0.0690.0610.160
elsaGothenburg area0.0550.0390.142
oskarGothenburg area0.0480.0540.149
majaWestern southern Sweden0.1250.1310.234
nilsWestern southern Sweden0.0910.0760.190
signeNorrland0.0470.0460.136
arvidNorrland0.0560.0490.124
ingridDalarna area0.0600.0560.151
axelDalarna area0.0600.0520.149

CER per region:

regionFLEURSCode-switchingNumbers
Central Sweden0.0500.0540.154
Dalarna area0.0600.0540.150
Gothenburg area0.0510.0470.146
Norrland0.0510.0480.130
Stockholm area0.0610.0630.152
Western southern Sweden0.1080.1040.212

How to read these numbers: CER measures the recogniser as well as the speech, so it is a relative measure between systems on the same sentences, not an absolute error count. On the voices' real held-out recordings the same recogniser scores 0.147, which is higher than on the synthesized speech. That reflects those recordings (16 kHz, made around 1999, other sentences) and is not a claim that the model is clearer than its speakers.

Compact variants

Smaller models cut out of Sten-TTS-1.7B by weight surgery and distilled from it, each in its own folder of this repository with its own card. The CER difference is to Sten-TTS-1.7B on the same FLEURS clips, with its 95% paired-bootstrap interval; the real-time factor is measured one request at a time on one GPU (below 1 is faster than real time).

modelparametersFLEURS CERat parity with Sten-TTS-1.7BCER differencereal-time factor
Sten-TTS-950M952.6 M0.064yes-0.0001 (-0.0031 to +0.0030)0.12

Listen across sizes

Every voice in Sten-TTS-1.7B and Sten-TTS-950M, reading the same sentences with the same seed: the first take each model's evaluation made (seed 1), unpicked, on text none of them was trained on. CER is the recogniser's character error rate on that one clip; the means over all clips are in each model's card.

Resenärer på väg till länder med höga skatter kan ibland spara en avsevärd summa, särskilt på produkter som alkoholhaltiga drycker och tobak.

voiceregionSten-TTS-1.7BSten-TTS-950M
AxelDalarna areaCER 0.014CER 0.000
AstridCentral SwedenCER 0.072CER 0.029
ErikCentral SwedenCER 0.000CER 0.007
LinneaStockholm areaCER 0.000CER 0.029
ViktorStockholm areaCER 0.029CER 0.014
ElsaGothenburg areaCER 0.000CER 0.029
OskarGothenburg areaCER 0.014CER 0.000
MajaWestern southern SwedenCER 0.216CER 0.115
NilsWestern southern SwedenCER 0.000CER 0.151
SigneNorrlandCER 0.014CER 0.000
ArvidNorrlandCER 0.000CER 0.014
IngridDalarna areaCER 0.007CER 0.036

Tåget avgår klockan 14.30 från spår 3.

voiceregionSten-TTS-1.7BSten-TTS-950M
AxelDalarna areaCER 0.027CER 0.243
AstridCentral SwedenCER 0.054CER 0.000
ErikCentral SwedenCER 0.027CER 0.000
LinneaStockholm areaCER 0.135CER 0.000
ViktorStockholm areaCER 0.081CER 0.000
ElsaGothenburg areaCER 0.027CER 0.000
OskarGothenburg areaCER 0.108CER 0.000
MajaWestern southern SwedenCER 0.135CER 0.108
NilsWestern southern SwedenCER 0.135CER 0.000
SigneNorrlandCER 0.000CER 0.108
ArvidNorrlandCER 0.000CER 0.027
IngridDalarna areaCER 0.000CER 0.027

Training

  • Base model: Qwen/Qwen3-TTS-12Hz-1.7B-Base, revision fd4b254389122332181a7c3db7f27e918eec64e3.
  • Data: 420 hours of speech (376 h Swedish, 44 h English), 194,769 utterances from 4,296 speakers. Published as Sten-TTS Voice.
  • Method: a full fine-tune of the speech-generating parts of the model, with the text embedding frozen.
  • Run: Trained with brain on 11 NVIDIA GH200 GPUs in 32 minutes. Training stopped early; the release is the checkpoint with the lowest loss on held-out speech, step 1100 of 1500.
  • Reproducibility: the release was produced by a single recipe in which the base model, every data source and the recogniser are pinned to a revision, and the random seed is fixed.
sourcecontentlicence
NST Swedishread sentences, speakers from ten Swedish regions, 16 kHzCC0-1.0
RixVox-v2debates of the Swedish ParliamentODC-BY-1.0
LibriVox Swedish audiobookspublic-domain audiobook narrationCC0-1.0
FLEURS sv_se, train and dev splitsread Wikipedia sentencesCC-BY-4.0
LibriTTS-R train-clean-100English audiobooks, 24 kHzCC-BY-4.0

Only the 12 NST speakers above are named voices; no other speaker in the training data can be selected.

Limitations

  • Most of the Swedish training audio, including all recordings of the named voices, is 16 kHz, so the 24 kHz output lacks the top of its band.
  • The voices are read-speech speakers recorded around 1999. The checkpoint speaks with its named voices only: it takes no style instruction and does not clone a voice from a reference recording.
  • Text is read as written. There is no separate text normalisation, so numbers, dates, abbreviations and symbols are the weakest area. The Numbers set under Evaluation measures how well.
  • Error rates differ between voices; the per-voice table shows which read least reliably.
  • English is trained only so that English words inside Swedish text sound right. English-only text was not evaluated.
  • Finland Swedish is not covered.

Licence and attribution

The model is released under Apache-2.0, as is the base model.

Training data: NST Swedish, CC0-1.0; RixVox-v2, ODC-BY-1.0; LibriVox Swedish audiobooks, CC0-1.0; FLEURS sv_se, train and dev splits, CC-BY-4.0; LibriTTS-R train-clean-100, CC-BY-4.0.

Contains information from the dataset RixVox-v2 (https://huggingface.co/datasets/KBLab/rixvox-v2), made available under the ODC Attribution License, sourced from the Swedish Parliament's open data. LibriTTS-R (2023, arXiv:2305.18802), derived from LibriTTS and LibriSpeech, CC-BY-4.0.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3TTSForConditionalGeneration
Ревизия весов
af19bde

0 моделей