/ Модель

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

Лицензия
Своя лицензия
Базовая модель
nemotron-3.5-asr-streaming-0.6b
Библиотека
nemo
Опубликована
12 окт 2026

nemotron-3.5-asr-streaming-si-ta-en-480h

Распознавание речиАудио → текст6 профессий
669скачиваний за 30 дней0лайковвеса обновлены13 окт 2026

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

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

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

Это потоковая модель распознавания речи на сингальском, тамильском и английском языках, созданная TriLinSL на основе nvidia/nemotron-3.5-asr-streaming-0.6b. Она предназначена для преобразования речи в текст в реальном времени и поддерживает выбор языка через подсказку или автоматический режим. Модель использует кэш-aware FastConformer с энкодером из 24 слоёв и декодером RNN-Transducer; при дообучении нижние 12 слоёв энкодера и подсэмплинг были заморожены, а словарь заменён на общий набор из 2042 SentencePiece-токенов для трёх письменностей.

Для каждого фрагмента можно выбрать упреждение 80, 320 или 1120 мс: меньшая задержка обычно повышает частоту ошибок. Модель выдаёт строчный текст без пунктуации и заглавных букв. Она обучалась примерно на 470 часах речи, включая читаемые предложения, аудиокниги и разговорную тамильскую речь с английскими словами. Наиболее надёжно её применять для речи, близкой к этим обучающим данным; лицензия указана как other, поэтому условия использования следует проверить в карточке модели.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Nemotron 3.5 ASR Streaming — Sinhala + Tamil + English (470 h)

A real-time (streaming) speech recognition model for Sinhala, Tamil and English, fine-tuned from nvidia/nemotron-3.5-asr-streaming-0.6b (cache-aware FastConformer encoder + RNN-Transducer decoder, 0.6 B parameters) on about 470 hours of speech from TriLingDATA/si-ta-en-asr.

  • One model, three languages, one shared vocabulary (2042 SentencePiece pieces, balanced per script).
  • Works with or without being told the language (language prompt si-LK, ta-IN, en-US or auto).
  • Streaming with selectable look-ahead: 80 ms, 320 ms or 1.12 s per chunk; the encoder only keeps a cache of the last ≈ 4.5 s.
  • Tamil covers both read speech (Common Voice) and spontaneous, code-switched speech with English words (IndicTTS).
  • Output: lower-case text without punctuation (Sinhala, Tamil and Latin script).

Results

Validation sets: val_si, val_ta (Common Voice and IndicTTS parts) and val_en of the dataset, from speakers not used in training. Scores are percentages, lower is better. WER / CER = word / character error rate with punctuation removed from reference and output (references lower-cased); the "with punctuation" columns are shown for completeness (the model writes no punctuation).

Recommended model: best_model/ (step 21,000, epoch 2.42), look-ahead 1.12 s, language given

WERCERWER with punctuationCER with punctuation
Sinhala25.855.9630.676.99
Tamil36.4815.7549.9617.85
English4.361.3818.734.38
Tamil - Common Voice38.348.7150.7310.49
Tamil - IndicTTS36.2116.9849.8519.12
Average (3 languages)22.237.7033.129.74

final_model/ (step 25,980, epoch 3.00)

WERCERWER with punctuationCER with punctuation
Sinhala25.565.9430.456.97
Tamil37.3016.4850.4618.56
English4.301.3918.764.39
Tamil - Common Voice38.348.3050.5410.09
Tamil - IndicTTS37.1517.9150.4520.03
Average (3 languages)22.397.9433.229.97

Streaming latency and language-agnostic mode (final model, WER)

look-ahead (att_context_size)chunk latencySinhalaTamilEnglishaverage
[56, 0]80 ms27.8638.997.9624.94
[56, 3]320 ms26.4237.685.4523.18
[56, 13]1120 ms25.5637.304.3022.39
[56, 13], language not given (auto)1120 ms25.9237.484.2922.56

Shorter look-ahead = text appears sooner with somewhat more errors. Telling the model the language changes the result very little, so the auto mode can be used when the language is unknown.

Read the CER for Sinhala and Tamil. Their words are long and many "word errors" are spacing differences (e.g. இதைப் பற்றி vs இதைப்பற்றி, ගෙදරට ය vs ගෙදරටය) where every letter is correct.

Validation during training (WER)

stepepochaverageSinhalaTamilEnglishTamil - Common VoiceTamil - IndicTTS
1,0000.1289.66100.0096.7872.2199.8096.34
3,0000.3552.1376.6066.3713.4172.6865.45
5,0000.5838.3254.0052.758.2155.1252.40
7,0000.8131.4740.3947.546.4849.8547.20
9,0001.0429.0236.0045.175.8947.5144.83
11,0001.2726.7032.6141.995.5045.0741.54
13,0001.5026.1732.5440.455.5343.0240.07
15,0001.7324.9629.4540.435.0141.5640.27
17,0001.9624.0327.1440.154.8139.5140.24
19,0002.1923.7427.8638.424.9338.0538.48
21,0002.4222.2325.8536.484.3638.3436.21
23,0002.6622.8126.0637.964.4137.1738.08
25,0002.8922.5225.9237.254.3838.5437.07
25,9803.0022.3925.5637.304.3038.3437.15

Usage

pip install "nemo_toolkit[asr] @ git+https://github.com/NVIDIA/NeMo.git@v3.0.0" "numba-cuda[cu12]"
import torch, soundfile as sf, librosa
from huggingface_hub import hf_hub_download
from nemo.collections.asr.models import ASRModel

model = ASRModel.restore_from(hf_hub_download("TriLinSL/nemotron-3.5-asr-streaming-si-ta-en-480h", "best_model/model.nemo")).eval().cuda()
model.encoder.set_default_att_context_size([56, 13])        # look-ahead: [56, 13] = 1.12 s, [56, 3] = 320 ms, [56, 0] = 80 ms
PROMPT = dict(model.cfg.model_defaults.prompt_dictionary)    # "si-LK", "ta-IN", "en-US", "auto"

@torch.inference_mode()
def transcribe(path, lang = "auto"):
    y, sr = sf.read(path, dtype = "float32", always_2d = True)
    y = librosa.resample(y.mean(axis = 1), orig_sr = sr, target_sr = 16000) if sr != 16000 else y.mean(axis = 1)
    sig = torch.tensor(y, device = "cuda")[None]
    enc, enc_len = model.forward(input_signal = sig, input_signal_length = torch.tensor([sig.shape[1]], device = "cuda"),
                                 prompt_indices = torch.tensor([PROMPT[lang]], device = "cuda"))
    hyp = model.decoding.rnnt_decoder_predictions_tensor(encoder_output = enc, encoded_lengths = enc_len)
    hyp = hyp[0] if isinstance(hyp, tuple) else hyp
    return hyp[0].text

print(transcribe("sinhala.wav", "si-LK"), transcribe("tamil.wav", "ta-IN"), transcribe("english.wav", "en-US"), transcribe("mixed.wav", "auto"))

Note: in NeMo v3.0.0, model.transcribe(..., target_lang=...) does not pass the language through its data loader for this model type ("Unknown prompt key: 'None'"); the direct call above is what the training validation used.

Real-time streaming: call model.set_inference_prompt(lang) once, then feed feature chunks to model.conformer_stream_step(...) with the cache from model.encoder.get_initial_cache_state(1) (as in NeMo's examples/asr/asr_cache_aware_streaming/speech_to_text_cache_aware_streaming_infer.py). For mixed-language speech in auto mode, start a new hypothesis (previous_hypotheses=None) after each pause, so the next sentence chooses its language again.

Model architecture and what was trained

partrolein this fine-tuning
pre-processor80-dim log-mel features, 10 ms hop, no normalisation (streaming-safe)unchanged
encoder: 8× subsampling + 24 FastConformer layersacoustic model, cache-aware: left context 56 frames (≈ 4.5 s), right context 0/3/6/13 frameslower 12 layers + subsampling frozen, upper 12 trained
language-prompt projectionone-hot prompt (128 slots, incl. si-LK 45, ta-IN 39, en-US 0, auto 101) mixed into every encoder frametrained
prediction network (LSTM)text memory over the pieces already writtennew, trained from scratch
joint networkcombines encoder frame + prediction network, outputs one of the 2042 pieces or blanknew, trained from scratch

The original 13,087-piece vocabulary cannot write Sinhala, so it was replaced (change_vocabulary), which re-initialises the prediction and joint networks; the encoder and the prompt layer keep their pre-trained weights.

Tokenizer

  • Shared + balanced: one SentencePiece unigram model per script (Sinhala, Tamil, Latin) with an equal share of the vocabulary, merged into one model (Tamil 680, Sinhala 679, Latin 668, digits 12, other 2 pieces). Pieces never cross scripts, so each language is segmented only by its own pieces; English words inside Sinhala/Tamil sentences use the same Latin pieces as English speech.
  • Trained on all training transcripts (never on validation/test text), Unicode NFC, identity normalisation (Sinhala ZWJ/ZWNJ kept), punctuation removed, Latin lower-cased, character_coverage = 1.0.
  • Size chosen by a study on the training text: a bigger vocabulary was only accepted if it shortened the token sequences by ≥ 5 % and the rarest 5 % of every script's pieces still occurred ≥ 200 times.
candidate sizepieces si / ta / Latinrarest 5 % of pieces occur (si / ta / Latin)total tokens in training text
1024338 / 339 / 329166 / 1079 / 1554 times8,695,337
1536508 / 509 / 499310 / 687 / 729 times7,765,271
2048679 / 680 / 668239 / 476 / 508 times7,179,228

Training data

languagetraining audioclipsspeakersvalidationsources
Sinhala149.7 h123,969438300 (40 speakers)openslr_sinhala: 149.7 h / val {'openslr_sinhala': 300}
Tamil160.0 h58,608793300 (50 speakers)common_voice_tamil: 83.6 h, indic_tts_tamil: 76.4 h / val {'common_voice_tamil': 150, 'indic_tts_tamil': 150}
English160.0 h94,787948300 (11 speakers)libritts_r: 160.0 h / val {'libritts_r': 300}
  • Dataset commit ebe87732aeb7, selection fingerprint 10d0b8437ac8.
  • Tamil: all Common Voice (read speech) first, IndicTTS (spontaneous, code-switched) filled the rest.
  • Speakers of the validation clips were removed from training (Sinhala validation drawn from 40 speakers to limit the loss of training audio).
  • Clips of 1–30 s; the selected clips of all languages and sources were shuffled together, and the sampler reshuffles every epoch.

Training procedure

  • NeMo v3.0.0, 1 × NVIDIA A40 (48 GB), fp16 mixed precision.
  • 32 clips per optimizer step (length-bucketed), AdamW lr 0.0002, betas (0.9, 0.98), weight decay 0.01, 300 warm-up steps then linear decay to 0, gradient clipping 0.5.
  • 3 epochs = 25,980 steps; validation every 1000 steps, best checkpoint by the average WER of the three languages (step 21,000); early stopping not triggered.
  • Language prompt: 50 % of training clips with their language slot, 50 % with auto. Streaming look-aheads sampled during training (as in the base model). SpecAugment from the base configuration.
  • Audio augmentation (training clips only): per-source probability openslr_sinhala 0.5, libritts_r 0.5, indic_tts_tamil 0.4, common_voice_tamil 0.15; random room echo, microphone colouring, phone channel (300–3400 Hz, 8-bit mu-law), background noise (10–35 dB SNR) and quieter-only volume change. Goal: recording conditions must not identify the language (the Sinhala and English sources are clean, Common Voice is noisy).

Repository contents

pathcontent
best_model/model.nemorecommended: best average validation WER (step 21,000) + best_metrics.json
final_model/model.nemoafter the last step + results.json (all scores, validation history, configuration)
tokenizer/the shared SentencePiece tokenizer
last-checkpoint/Lightning checkpoint with optimizer state (only needed to continue training)
data_info/pinned dataset commit, data summary and the tokenizer study
tensorboard/, train.log, run_config.jsontraining curves, full log, run configuration

Limitations

  • Domains: read sentences (OpenSLR Sinhala, Common Voice Tamil), audiobooks (LibriTTS-R English) and talk-style Tamil (IndicTTS). Expect higher error rates on conversational, far-field or telephone speech of other domains.
  • No punctuation or capitalisation in the output.
  • Language switching: every training clip is in one language (English words inside Sinhala/Tamil excepted). Switching between Sinhala and Tamil inside one sentence tends to stay in the first language's script; after a pause and a decoder reset (see Usage) the model chooses the new language.
  • Sinhala validation speakers come from a source whose train/test splits share speakers; Sinhala scores may be slightly optimistic.
  • Validation sets are 300 clips per language; differences below about 1 WER point are within noise. Test-set results will be added.

License and citation

The weights are derived from nvidia/nemotron-3.5-asr-streaming-0.6b (© NVIDIA Corporation) and are released under the same license. Use must also follow the licenses of the data sources: OpenSLR Sinhala (via SPEAK-ASR/openslr-sinhala-asr), Common Voice 22.0 Tamil (CC0), IndicTTS Tamil (psk/indic-tts-966h) and LibriTTS-R (mythicinfinity/libritts_r). Please cite the base model and the source datasets.

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

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

GPU в ailist

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

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

Модели NVIDIA NeMo требуют отдельного рантайма.

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

0 моделей