Über uns
Basismodell für Spracherkennungsaufgaben.
KI und maschinelles LernenGemessener Sternzuwachs
- in 24h
- +13
- in 7 days
- +85
- in 15 days
- +112
- in 1 month
- Aktualisierung verzögert
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalGigaAM: the family of open-source acoustic models for speech processing
Latest News
- 2026/11 — GigaAM-v4 (ru-en, surpassing Whisper-large-v3 on English) and GigaAM-Multilingual-v2 (21 languages, SOTA for CIS): new Zapformer architecture, streaming ASR (160/320/640 ms), dual-head decoding, and native GigaAM VAD for long-form inference.
- 2026/06 — GigaAM Multilingual: 220M / 600M encoders pre-trained on 2M hours across 70+ languages; charwise CTC ASR with best-in-class WER on Russian, Kazakh, Kyrgyz, and Uzbek (moderate on English). Our research paper was accepted to InterSpeech 2026!
- 2026/04 — model fine-tuning (CTC / RNNT), word-level timestamps, Triton Inference Server
- 2025/11 — GigaAM-v3: 30% WER reduction on new data domains; GigaAM-v3-e2e: end-to-end transcription support (70:30 win in Side-by-Side vs Whisper-large-v3)
- 2025/06 — Our research paper on GigaAM was accepted to InterSpeech 2025!
- 2024/12 — MIT License, GigaAM-v2 (-15% and -12% WER Reduction for CTC and RNN-T models, respectively), ONNX export support
- 2024/05 — GigaAM-RNNT (-19% WER Reduction), long-form inference using external Voice Activity Detection
- 2024/04 — GigaAM Release: GigaAM-CTC (SoTA Speech Recognition model for the Russian language), GigaAM-Emo
Setup
Requirements
- Python ≥ 3.10
- ffmpeg installed and added to your system's PATH
Install the GigaAM Package
# Clone the repository
git clone https://github.com/salute-developers/GigaAM.git
cd GigaAM
# Install the package requirements
pip install -e .[torch]
# (optionally) Verify the installation:
pip install -e ".[tests]"
pytest -v tests/test_loading.py -m partial # or `-m full` to test all models
GigaAM overview
GigaAM is a family of Zapformer- and Conformer-based foundational models (220M–780M parameters) pre-trained on up to 10M hours of multilingual speech data. It serves as the backbone for the entire GigaAM family, enabling state-of-the-art fine-tuned performance in speech recognition and emotion recognition. We fine-tuned the GigaAM encoder for ASR using CTC and RNNT decoders. The GigaAM family includes six lines of models:
| Pretrain Method | Pretrain (hours) | ASR (hours) | Available Versions | |
|---|---|---|---|---|
| v1 | Wav2vec 2.0 | 50,000 | 2,000 | v1_ssl, emo, v1_ctc, v1_rnnt |
| v2 | HuBERT–CTC | 50,000 | 2,000 | v2_ssl, v2_ctc, v2_rnnt |
| v3 | HuBERT–CTC | 700,000 | 4,000 | v3_ssl, v3_ctc, v3_rnnt, v3_e2e_ctc, v3_e2e_rnnt |
| v4 | HuBERT-style | 7,000,000 | 58,000 | v4_ssl, v4_ctc, v4_rnnt |
| multilingual | HuBERT–style | 2,000,000 | 50,000 | multilingual_ssl, multilingual_large_ssl, multilingual_ctc, multilingual_large_ctc |
| multilingual_v2 | HuBERT–style | 10,000,000 | 155,000 | multilingual_v2_ssl, multilingual_v2_rnnt |
Model Performance
GigaAM-v4 outperforms GigaAM-v3-E2E by 35% on Russian ASR and achieves best-in-class performance for its model size on English, surpassing Whisper-large-v3. GigaAM-Multilingual-v2 achieves state-of-the-art results on CIS languages and outperforms leading open-weight models on European languages. Both ASR models support streaming with 160, 320, and 640 ms chunk sizes and feature a dual-head architecture for E2E and raw transcriptions.
For detailed results, see here.
Usage
Model inference
import gigaam
# Load test audio
audio_path = gigaam.utils.download_short_audio()
long_audio_path = gigaam.utils.download_long_audio()
# Audio embeddings
model_name = "v4_ssl" # Or `multilingual_v2_ssl`
model = gigaam.load_model(model_name)
embedding, _ = model.embed_audio(audio_path)
print(embedding)
# ASR
model_name = "v4_rnnt" # Or `v4_ctc` / `multilingual_v2_rnnt`
model = gigaam.load_model(model_name)
transcription = model.transcribe(audio_path)
print("E2E:", transcription["e2e"].text)
print("Raw:", transcription["raw"].text)
# Streaming ASR with 160, 320, or 640 ms future context
audio = gigaam.load_audio(audio_path)
stream = gigaam.load_model("v4_rnnt", streaming=True, future_context_ms=160)
for packet in audio.split(16000):
partial = stream.transcribe_partial(packet)
print({head: result.text for head, result in partial.items()})
tail = stream.flush()
print({head: result.text for head, result in tail.items()})
# ASR with word-level timestamps
result = model.transcribe(audio_path, word_timestamps=True)
for word in result["e2e"].words:
print(f" [{word.start:.2f} - {word.end:.2f}] {word.text}")
# and long-form ASR
result = model.transcribe_longform(long_audio_path)
for segment in result["e2e"].segments:
print(f"[{gigaam.format_time(segment.start)} - {gigaam.format_time(segment.end)}]: {segment.text}")
# Voice activity detection
vad = gigaam.load_model("vad")
probs = vad.speech_probs(gigaam.load_audio(audio_path))
print("Speech probabilities:", tuple(probs.shape), probs[:5].tolist())
# Emotion recognition
model = gigaam.load_model("emo")
emotion2prob = model.get_probs(audio_path)
print(", ".join([f"{emotion}: {prob:.3f}" for emotion, prob in emotion2prob.items()]))
Model Fine-tuning
CTC, RNNT, and SSL models can be fine-tuned on custom data using PyTorch Lightning. For a detailed description of all training arguments, see train_utils/README.md. End-to-end examples with different VRAM constraints are available in train_utils/example.ipynb.
Loading from Hugging Face
Note: Install requirements from the example.
from transformers import AutoModel
model = AutoModel.from_pretrained(
"ai-sage/GigaAM-v4", revision="rnnt", trust_remote_code=True,
streaming=True, future_context_ms=160,
)
model = AutoModel.from_pretrained(
"ai-sage/GigaAM-Multilingual-v2", revision="rnnt",
trust_remote_code=True,
)
ONNX Export and Inference
Full-context export and inference:
from gigaam.onnx_utils import load_onnx, infer_onnx onnx_dir = "onnx" model_name = "v4_rnnt" gigaam.load_model(model_name).to_onnx(onnx_dir) sessions, cfg = load_onnx(onnx_dir, model_name) result = infer_onnx([audio_path], cfg, sessions) print("E2E:", result["e2e"][0]) print("Raw:", result["raw"][0])Streaming export and inference use the same API and support 160, 320, or 640 ms future contexts:
from gigaam.onnx_utils import OnnxGigaAMStreaming, load_onnx stream = gigaam.load_model("v4_rnnt", streaming=True, future_context_ms=160) prefix = stream.to_onnx("onnx_streaming") sessions, cfg = load_onnx("onnx_streaming", prefix) runner = OnnxGigaAMStreaming(cfg, sessions) for packet in audio.split(16000): partial = runner.transcribe_partial(packet) print({head: result.text for head, result in partial.items()}) tail = runner.flush() print({head: result.text for head, result in tail.items()})
These and more advanced examples can be found in the Colab notebook.
Triton Inference Server and TensorRT
Dual-head models can be served in ONNX/TRT format through Triton Inference Server. For setup instructions, model conversion, and deployment details, see the Triton Inference Server documentation.
Citation
If you use GigaAM in your research, please cite our papers:
@misc{gigaam_multilingual,
title={GigaAM Multilingual: Foundation Model for Underrepresented Languages},
author={Andrei Kuzmenko and Alexandr Maximenko and Aleksandr Kutsakov and Georgii Gospodinov and Dmitrii Bolotov and Oleg Kutuzov and Pavel Bogomolov and Fyodor Minkin},
year={2026},
eprint={2607.10371},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2607.10371}
}
@inproceedings{kutsakov25_interspeech,
title = {{GigaAM: Efficient Self-Supervised Learner for Speech Recognition}},
author = {Aleksandr Kutsakov and Alexandr Maximenko and Georgii Gospodinov and Pavel Bogomolov and Fyodor Minkin},
year = {2025},
booktitle = {{Interspeech 2025}},
pages = {1213--1217},
doi = {10.21437/Interspeech.2025-1616},
issn = {2958-1796},
}
Links
- [arxiv] GigaAM Multilingual: Foundation Model for Underrepresented Languages
- [arxiv] GigaAM: Efficient Self-Supervised Learner for Speech Recognition
- [habr] GigaAM-v4 и GigaAM Multilingual-v2: потоковое распознавание, 21 язык и новый уровень качества
- [habr] GigaAM-v3: открытая SOTA-модель распознавания речи на русском
- [habr] GigaAM: класс открытых моделей для обработки звучащей речи
- [youtube] Как научить LLM слышать: GigaAM 🤝 GigaChat Audio
- [youtube] GigaAM: Семейство акустических моделей для русского языка
- [youtube] Speech-only Pre-training: обучение универсального аудиоэнкодера
Ähnliche Projekte entdecken
Wird geladen…