/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3-ASR-0.6B-custom-tokenizer
Библиотека
transformers
Опубликована
18 ноя 2026

nordlyd-asr-qwen06B-nov26preview

Распознавание речиАудио → текст3 профессии
303скачиваний за 30 дней9лайковвеса обновлены23 ноя 2026

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

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

Предварительная модель Nordlyd на базе Qwen для транскрибирования норвежской речи на букмоле или нюношке и перевода её в английский текст.

Nordlyd Qwen 0.6B — модель распознавания речи из семейства Nordlyd, разработанного Национальной библиотекой Норвегии. Эта версия с 0,6 млрд параметров дообучена на базе NbAiLab/Qwen3-ASR-0.6B-custom-tokenizer и предназначена для экспериментального распознавания норвежской речи с выводом на букмоле или нюношке, а также для перевода норвежской речи в английский текст. Экспериментальный режим может сохранять переключения между норвежским и английским языками.

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

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

Nordlyd Qwen 0.6B · November 2026 preview

Nordlyd is a family of speech models developed by the National Library of Norway. This 0.6B preview supports Norwegian speech recognition with output in Bokmål or Nynorsk, and translation of Norwegian speech into English. It also includes experimental Norwegian–English transcription that preserves the languages spoken in the recording.

Preview release: This model is intended primarily for research, experimentation, and evaluation. It can repeat text, miss words, and misrecognise names. Natural language switching within a sentence remains experimental; see limitations.

Deployment recommendation: We strongly discourage publishing applications or deploying public-facing or commercial services based on this preview. The model is still under active development and has not been sufficiently evaluated for production use. We encourage developers to wait for a stable release. This recommendation is advisory and does not restrict the rights granted under Apache 2.0.

Preview release: use this model to explore its capabilities and evaluate it on your own recordings. It can repeat text, miss words, and misrecognise names. Natural language switching within a sentence remains experimental; see limitations.

ModelParameters
Nordlyd Qwen 0.6B0.6B
Nordlyd Qwen 1.7B (coming soon)1.7B

Contents

Model at a glance

ItemDetails
DeveloperNational Library of Norway
AccessPublic download; no access approval required
LicenseApache 2.0
ModelNordlyd Qwen 0.6B, November 2026 preview
TaskSpeech recognition and speech translation
Base checkpointQwen3-ASR-0.6B with a custom tokenizer
Output languagesNorwegian Bokmål (nob), Norwegian Nynorsk (nno), English (eng)
StylesReading-optimised (default) and verbatim
Experimental featureLanguage-preserving Norwegian–English transcription
InferenceTransformers or offline vLLM through the supplied helper
Example hardwareCUDA GPU using bfloat16; see setup
Word timestampsRequire a separate Norwegian forced aligner; see timestamps

Quick start: transcribe a recording

The examples use inference.py, a small helper supplied in this repository. It handles Nordlyd's language and style prompts, reads local audio, and converts it to mono at 16 kHz. You do not need to prepare prompts yourself.

1. Prepare your environment

Use a machine with a CUDA-capable NVIDIA GPU and a compatible PyTorch installation. The helper loads the model in bfloat16 on cuda:0 by default, so your GPU must support that dtype. These instructions do not establish CPU or Apple Silicon compatibility, or a minimum GPU memory requirement.

Start with a fresh Python 3.12 environment, following the upstream Qwen3-ASR setup guidance:

python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install qwen-asr soundfile scipy huggingface_hub

Check that PyTorch can see the GPU:

python -c "import torch; print('CUDA available:', torch.cuda.is_available())"

Expected result: CUDA available: True. If it prints False, check your NVIDIA driver and PyTorch installation before continuing.

2. Download the helper and example audio

Hugging Face hosts the model weights, tokenizer, and supporting files. Download the helper and the two example recordings into your current directory:

hf download NbAiLab/nordlyd-asr-qwen06B-nov26preview \
  inference.py \
  audio/p1_g08_f2_1_t-b0694.wav \
  audio/p1_g09_f1_2_t-b0911.wav \
  --local-dir .

The model weights are downloaded and cached when you first run the helper.

The examples are read-speech utterances from NB Tale. The recordings originate from module 1 of NB Tale, available through Språkbanken, which distributes the source resource under CC0.

3. Transcribe an example

Start with this recording of sentence b0694, using the Nynorsk reading-optimised mode:

python inference.py audio/p1_g08_f2_1_t-b0694.wav \
  --target-lang nno --style reading_optimised

Recorded model output (text field):

Sistnemnde var både rusa og uønskt, og huseigaren såg gjerne at gjesten skygde banen.

The helper returns a JSON object containing text, target_lang, style, duration_seconds, truncated, and timestamps. The first run also downloads and loads the model, so it takes longer than subsequent runs. Your output may vary with the model revision and runtime.

Check text against the audio and inspect truncated. A value of true means the output reached its token budget and may be incomplete. See long recordings before processing a larger file.

To use your own audio, replace the example path with a local recording. Continue below for another example with and without contextual keywords.

Choose the language and transcription style

--target-lang selects the output language or written standard:

OptionOutputExample
nobNorwegian Bokmål (default)python inference.py recording.wav --target-lang nob
nnoNorwegian Nynorskpython inference.py recording.wav --target-lang nno
engEnglish text from Norwegian speechpython inference.py recording.wav --target-lang eng

Choose a style independently of the output language:

OptionIntended use
--style reading_optimisedDefault style for readable written text.
--style verbatimA more literal transcription; useful when retaining spoken wording matters, including for alignment.
python inference.py recording.wav --target-lang nno --style verbatim

Verbatim output can still contain recognition errors and omissions. Neither style should be treated as a verified transcript.

Example: Transcription with and without keywords

Contextual keywords provide hints about names or specialist terms. This example uses the same recording of sentence b0911 twice, keeping the target language (Bokmål) and style fixed.

1. Transcribe without keywords

python inference.py audio/p1_g09_f1_2_t-b0911.wav \
  --target-lang nob --style reading_optimised

Recorded model output (text field):

Pressetalsmann Jonas Sprangrød i øyafestivalen innrømmer at han ventet seg reaksjoner på det store utbyttet.

2. Supply the name and festival as keywords

Pass the keywords as one quoted, space-separated string:

python inference.py audio/p1_g09_f1_2_t-b0911.wav \
  --target-lang nob --style reading_optimised \
  --keywords "Jonas Prangerød Øyafestivalen"

Recorded model output (text field):

Pressetalsmann Jonas Prangerød i Øyafestivalen innrømmer at han ventet seg reaksjoner på det store utbyttet.

In this recording, the keywords correct Sprangrød → Prangerød and the capitalisation of Øyafestivalen. Keywords are hints, not a guarantee of correct recognition on other recordings.

Use the model from Python

Save this as a script alongside the downloaded inference.py. Load the model once and reuse it for multiple recordings.

from inference import NordlydASR


def main():
    asr = NordlydASR(backend="transformers")
    result = asr.transcribe(
        "audio/p1_g09_f1_2_t-b0911.wav",
        target_lang="nob",
        style="reading_optimised",
        keywords="Jonas Prangerød Øyafestivalen",
    )
    print(result["text"])
    print("Reached token limit:", result["truncated"])


if __name__ == "__main__":
    main()

The helper loads this Nordlyd preview by default.

Optional: use vLLM

vLLM is an inference engine for running models efficiently on GPUs. You can start with Transformers above and try vLLM when you need an alternative inference backend.

Install the Qwen package's vLLM dependencies in an environment compatible with your CUDA stack:

python -m pip install "qwen-asr[vllm]"

Then select the backend:

python inference.py recording.wav --backend vllm --target-lang nob

This runs offline inference in the local process; you do not need to start an API server. In Python, change the constructor to NordlydASR(backend="vllm") and keep the if __name__ == "__main__": guard shown above.

For dependency and GPU compatibility details, consult the vLLM installation guide. For API serving, consult the upstream Qwen3-ASR deployment examples together with Nordlyd's prompt format; a custom client must reproduce Nordlyd's controls.

Preserve Norwegian–English language switches

The experimental --notranslate option keeps Norwegian and English passages in their spoken languages. Select nob or nno for the spelling of Norwegian passages; English passages remain in English.

python inference.py meeting.wav --target-lang nno --notranslate

This can also be combined with --backend vllm, --style verbatim, and contextual keywords.

The helper returns additional fields:

FieldMeaning
raw_tagged_textTranscript with <lang_no> and <lang_en> markers.
textPlain text with the language markers removed.
language_spansLanguage, text, and character offsets for each passage.
errorsDiagnostics for missing, repeated, unsupported, or otherwise malformed language markers. An empty list means no format errors were detected.

For example, the tagged output might be:

<lang_no>Hei, alle saman. <lang_en>Today we are going to win!

Norwegian passages use <lang_no> for both Bokmål and Nynorsk. Character offsets in language_spans refer to the plain text: they start at zero and exclude the end position. They are not audio timestamps.

Inspect errors before relying on language labels. Valid formatting does not establish that recognition or language identification is correct. Training used monolingual recordings and synthetic joins; recognition of natural switches within a sentence remains experimental. Other reserved language tokens do not establish support for additional languages.

Optional: word timestamps

Forced alignment matches transcript words to their positions in the audio. It requires a separate Norwegian aligner; timestamps are not produced by the speech recognition model alone.

Both the ASR model and the Nordlyd forced aligner are publicly downloadable. No access approval is required. The aligner is downloaded separately when you request timestamps.

For Norwegian speech, use verbatim output and a recording no longer than 180 seconds (see the forced aligner limitations for further details):

python inference.py recording.wav --target-lang nob \
  --style verbatim --timestamps

Expected result: the JSON timestamps field contains word entries with text, start, and end; times are in seconds relative to the supplied recording. Loading the aligner requires an additional model download and GPU memory.

For Python use, call asr.load_aligner() before asr.transcribe(..., timestamps=True).

  • Do not align an English translation to Norwegian speech. The helper rejects --target-lang eng with timestamps.
  • --notranslate and --timestamps cannot be combined in this helper. Automatic mixed-language alignment is unvalidated.
  • For mixed speech, parse the language spans first and pass marker-free text to an appropriate aligner. If you have audio boundaries for individual passages, align each segment with an aligner for that language, then add its audio start time to the returned timestamps. Text character offsets alone do not supply those boundaries.

For custom workflows, the helper's label_aligned_words can attach language labels when the aligned words match the transcript's whitespace tokenisation exactly.

Long recordings and troubleshooting

The helper accepts recordings up to 1,200 seconds (20 minutes). This is an input limit, not a guarantee of complete or accurate transcription at that length. It does not automatically split recordings into chunks.

SymptomWhat to check
truncated is trueIncrease --max-new-tokens from its default of 4096, within the model's available context and GPU memory, or split the recording into shorter segments.
Recording exceeds 20 minutesSplit it explicitly and transcribe each segment. Keep each segment's start time if you later need timestamps for the original recording.
CUDA or bfloat16 errorCheck GPU availability, dtype support, and the installed PyTorch/CUDA combination.
GPU runs out of memoryTry shorter recordings. For vLLM, review --gpu-memory-utilization (default 0.6) and --max-model-len (default 32768); lowering memory utilisation also reduces available runtime capacity.
Audio cannot be readUse a WAV file or another format supported by your SoundFile/libsndfile installation. The helper averages channels to mono, so separate speaker channels beforehand if needed.
Model download failsCheck your network connection and the repository ID. For timestamps, the separate aligner must also be downloaded.
Language-preserving output has format errorsInspect errors and retain raw_tagged_text for diagnosis.

Run python inference.py --help for all available options.

For repeatable experiments, record the model revision and package versions. You can download a specific model revision with hf download ... --revision COMMIT --local-dir MODEL_DIR and select that directory with --model MODEL_DIR; download the helper from the same revision.

Evaluation

The following results measure Bokmål short-form transcription on a held-out evaluation set. In this dataset, all transcriptions were validated by Språkrådet for correctness and consistency. The metric is capped word error rate (WER, %); lower is better.

These scores use a capped error calculation: each clip's word errors are capped at its reference word count before aggregation. This differs from uncapped WER, so compare results only when the evaluation data, text normalisation, and scoring procedure match. Reading mode uses an empty style prompt; verbatim uses the user style control.

CheckpointOverall readingOverall verbatimNST readingNST verbatim
NB-Whisper Small15.2817.3416.1615.36
NB-Whisper Medium12.4814.819.298.66
NB-Whisper Large12.6715.117.506.79
Nordlyd Qwen 0.6B9.219.174.204.29

NST denotes the NST Norwegian speech subset.

This model also appears to produce fewer "hallucinations". On a no-caption evaluation set, 1% of clips returned text in reading mode and 4% in verbatim mode. These are rates of output presence, not verified hallucination rates: clips can include faint background speech.

These short-form results do not measure the accuracy of language tags or natural code-switching, and do not establish performance for Nynorsk, English translation, or long recordings. Evaluation configuration and dataset revision references are recorded in training_configs.md.

Training and provenance

This preview continues the five-epoch Nordlyd beta02 0.6B model for 10,000 additional steps on the Gold mixture, restoring the optimizer state. The released checkpoint is step 114,195.

SettingValue
Continuation learning rateCosine decay from 1e-5 to 1e-6, without warmup
Training GPUs64
Audio augmentation probability0.5
Training-only BPE dropout0.1

The continuation source inventory includes reading and verbatim transcripts, pseudo-labelled speech, Stortinget recordings, synthetic number and rare-word material, English speech sources, and recordings with intentionally empty targets for noise. The language-preserving task uses monolingual recordings and synthetic Norwegian–English joins.

See training_configs.md for the detailed source inventory and launch settings. Internal checkpoint reference: nordlyd-beta02-06b-gold1of2-final-10k-cosine-10pct.

Advanced: build your own prompts

The supplied helper implements the following format. Use the bundled tokenizer and chat template when building a custom client.

MessageContent
SystemEmpty by default. Use space-separated contextual keywords, or start with <notranslate> to preserve spoken languages.
UserAudio, optionally followed by the <verbatim> control. Reading-optimised mode uses audio alone.
Assistant prefix for noblanguage Norwegian<asr_text>
Assistant prefix for nnolanguage Norwegian Nynorsk<asr_text>
Assistant prefix for englanguage English<asr_text>

Render the system and user messages with the bundled chat template and the assistant generation prompt, then append the selected assistant prefix once. Supply audio through the model's audio input and decode only newly generated tokens. These language names are literal prefill strings.

For language-preserving output, keep <lang_no> and <lang_en> through decoding and parse them before transcript cleanup. The bundled tokenizer retains these markers even with skip_special_tokens=True. See the helper's make_prompt and parse_tagged functions for the implementation.

Limitations and responsible use

  • Recognition errors: the preview can repeat, omit, or substitute words, including names and specialist vocabulary. Review transcripts against the recording when accuracy matters.
  • Transcription style: reading-optimised output and verbatim output serve different purposes. Neither guarantees an exact record of what was spoken.
  • Language switching: natural within-sentence Norwegian–English switching is experimental. Synthetic joins used in training do not establish performance on spontaneous bilingual speech.
  • Language coverage: inherited language lists and reserved tokenizer symbols do not establish evaluated support beyond the capabilities described here.
  • Evaluation coverage: the reported scores cover Bokmål short-form recognition. They do not establish equal performance across dialects, speakers, recording conditions, or domains; evaluate your intended use separately.
  • Timestamps: alignment depends on the transcript and a separate model. Incorrect words can produce misleading word times. Automatic mixed-language alignment is unvalidated.

Handle recordings and transcripts according to your organisation's privacy and data-handling requirements. For uses where errors could affect people, include human review appropriate to the task.

License, feedback and acknowledgments

This model is released under the Apache License 2.0. See LICENSE for the full terms.

Report reproducible issues through this repository's Community tab. Include the model revision, backend, package versions, relevant options, and whether truncated or language-format errors were reported. Share audio only when you have permission to do so. If you are unable to describe the issue publicly (due to copyright or other privacy concerns), then email ai-lab@nb.no.

When referring to this preview, use Nordlyd Qwen 0.6B — November 2026 preview, National Library of Norway, together with the model repository and revision used.

Nordlyd is a research project at the National Library of Norway. The National Library of Norway retains full ownership of the models and associated research outputs. Research contributions were made by Phoebe Parsons, Freddy Wetjen, Thea Tollersud, and Per Egil Kummervold, who take responsibility for any remaining errors and shortcomings.

We would like to acknowledge Sigma2 for providing computational and storage resources on the Olivia/LUMI HPC system under project NN30001K.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
3851466

0 моделей