Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/OLMoASR
/ types & classes
Types & classes
46 in github.com/allenai/OLMoASR
⨍
Functions
377
◇
Types & classes
46
↓ 10 callers
Class
SegmentCounter
Tracks statistics during segment processing. This class maintains counters for various types of segments and errors encountered during t
olmoasr/utils.py:664
↓ 7 callers
Class
ModelDimensions
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/config/model_dims.py:5
↓ 6 callers
Class
Linear
This class is based on an implementation by OpenAI from the Whisper repository. The original version can be found at: https://github.com/open
olmoasr/inf_model.py:30
↓ 6 callers
Class
Linear
This class is based on an implementation by OpenAI from the Whisper repository. The original version can be found at: https://github.com/open
olmoasr/model.py:42
↓ 5 callers
Class
LayerNorm
This function is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5
olmoasr/inf_model.py:15
↓ 5 callers
Class
LayerNorm
This function is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5
olmoasr/model.py:14
↓ 4 callers
Class
EvalDataset
PyTorch Dataset for ASR evaluation across multiple datasets and tasks. This dataset class provides a unified interface for loading and preprocess
scripts/eval/eval.py:988
↓ 4 callers
Class
Segment
Represents a transcript segment with associated metadata. This class encapsulates all information about a single segment including conte
olmoasr/utils.py:526
↓ 3 callers
Class
TranscriptReader
A class to read WebVTT or SRT transcript files and extract transcript data. Attributes: file_path: Path to the transcript file (optional)
olmoasr/utils.py:173
↓ 2 callers
Class
Conv1d
This class is based on an implementation by OpenAI from the Whisper repository. The original version can be found at: https://github.com/open
olmoasr/inf_model.py:63
↓ 2 callers
Class
Conv1d
This class is based on an implementation by OpenAI from the Whisper repository. The original version can be found at: https://github.com/open
olmoasr/model.py:104
↓ 2 callers
Class
MachineSegment
Represents a machine-generated transcript segment. This class is used for segments created by automated speech recognition systems and c
olmoasr/utils.py:616
↓ 2 callers
Class
MultiHeadAttention
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/inf_model.py:131
↓ 2 callers
Class
MultiHeadAttention
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/model.py:233
↓ 2 callers
Class
ResidualAttentionBlock
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/inf_model.py:199
↓ 2 callers
Class
ResidualAttentionBlock
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/model.py:445
↓ 1 callers
Class
AudioEncoder
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/inf_model.py:241
↓ 1 callers
Class
AudioEncoder
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/model.py:531
↓ 1 callers
Class
AudioLanguageDataset
Dataset for loading audio segments and associated metadata for language identification. This dataset handles loading audio files, preprocess
scripts/data/filtering/tag_audio_lang.py:43
↓ 1 callers
Class
AudioProcessor
Handles common audio processing operations for ASR evaluation. This utility class provides static methods for loading, preprocessing, and transfo
scripts/eval/eval.py:112
↓ 1 callers
Class
AudioTextDataset
Dataset for YODAS (Yet another Open speech Dataset and Speech) training. Wraps HuggingFace datasets for YODAS training with timestamp-aware text
scripts/training/train_yodas.py:63
↓ 1 callers
Class
AudioTextDataset
Dataset for audio and transcript segments Attributes: samples: List of sample dictionaries containing audio/transcript info n_tex
scripts/training/train_fsdp_timestamps.py:93
↓ 1 callers
Class
AudioTextDataset
Dataset for audio and transcript segments Attributes: samples: List of sample dictionaries containing audio/transcript info n_tex
scripts/training/train_timestamps.py:64
↓ 1 callers
Class
SharedCounter
Thread-safe counter for multiprocessing environments. Uses a Manager to create a shared value that can be safely incremented across mult
scripts/data/filtering/reservoir_sample.py:63
↓ 1 callers
Class
TextDecoder
This class is based on an implementation by OpenAI from the Whisper repository. Modifications were made to work with the training code.
olmoasr/inf_model.py:284
↓ 1 callers
Class
TextDecoder
This class is based on an implementation by OpenAI from the Whisper repository. Modifications were made to work with the training code.
olmoasr/model.py:626
↓ 1 callers
Class
ValidationDataset
Dataset for validation using HuggingFace speech recognition datasets. Supports multiple validation datasets including TED-LIUM, VoxPopuli, Common
scripts/training/train_fsdp_timestamps.py:1925
Class
AMILoader
Dataset loader for AMI Meeting Corpus. The AMI corpus consists of 100 hours of meeting recordings captured using multiple microphones. This l
scripts/eval/eval.py:493
Class
ArtieBiasCorpusLoader
Dataset loader for Artie Bias Corpus. The Artie Bias Corpus is designed to evaluate ASR systems for bias and fairness across different demogr
scripts/eval/eval.py:374
Class
AudioSegment
Represents an audio segment with optional timing information. This data class encapsulates audio file paths along with optional start and end tim
scripts/eval/eval.py:90
Class
BaseDatasetLoader
Abstract base class for dataset loaders. Defines the common interface for all dataset loaders in the evaluation pipeline. Each concrete loade
scripts/eval/eval.py:283
Class
CORAALLoader
Dataset loader for CORAAL (Corpus of Regional African American Language). CORAAL is a corpus of African American Language featuring audio-aligned
scripts/eval/eval.py:533
Class
CORAALLongLoader
Dataset loader for CORAAL long-form transcription variant. This loader handles the long-form version of the CORAAL corpus, designed for exten
scripts/eval/eval.py:851
Class
CallHomeLoader
Dataset loader for CallHome English corpus. CallHome consists of conversational telephone speech between family members and friends, represen
scripts/eval/eval.py:686
Class
Chime6Loader
Dataset loader for CHiME-6 Challenge dataset. CHiME-6 focuses on distant multi-microphone conversational speech recognition in everyday home
scripts/eval/eval.py:582
Class
DatasetFactory
Factory pattern implementation for creating dataset loaders. This factory class provides a centralized way to instantiate appropriate dataset
scripts/eval/eval.py:893
Class
FleursLoader
Dataset loader for FLEURS (Few-shot Learning Evaluation of Universal Representations of Speech). FLEURS is a multilingual speech dataset spanning
scripts/eval/eval.py:417
Class
Kincaid46Loader
Dataset loader for Kincaid46 corpus. Kincaid46 is a specialized evaluation dataset containing 46 utterances designed to test specific aspects
scripts/eval/eval.py:806
Class
LibrispeechLoader
Dataset loader for LibriSpeech test sets. LibriSpeech is a large corpus of approximately 1000 hours of English speech derived from LibriVox a
scripts/eval/eval.py:320
Class
OLMoASR
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/inf_model.py:365
Class
OLMoASR
This class is from OpenAI's Whisper repository. The original version can be found at: https://github.com/openai/whisper/blob/ba3f3cd54b0e5b8c
olmoasr/model.py:778
Class
SwitchBoardLoader
Dataset loader for Switchboard corpus. Switchboard contains conversational telephone speech between strangers discussing predetermined topics
scripts/eval/eval.py:719
Class
TextCleaner
Handles text cleaning operations for different datasets. This utility class provides dataset-specific text normalization and cleaning operati
scripts/eval/eval.py:216
Class
VoxPopuliLoader
Dataset loader for VoxPopuli dataset. VoxPopuli is a large-scale multilingual speech corpus for representation learning and speech recognitio
scripts/eval/eval.py:454
Class
WSJLoader
Dataset loader for Wall Street Journal (WSJ) corpus. The WSJ corpus contains read speech from the Wall Street Journal newspaper, representing
scripts/eval/eval.py:633
Class
WandBLogger
Handles Weights & Biases logging for ASR evaluation experiments. This utility class provides standardized WandB integration for tracking ASR
scripts/eval/eval.py:1463