Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/calclavia/tal-asrd
/ functions
Functions
314 in github.com/calclavia/tal-asrd
⨍
Functions
314
◇
Types & classes
35
Method
_encode
Encodes a sentence to token IDs Args: sentence (str): Sentence in text form Returns:
tal/asr/tokenizers/transformers.py:36
Method
_get_speaker_id
(self, speaker_name: str)
tal/asr/data/aligned.py:189
Method
add_param_group
(self, param_group)
tal/optimizers.py:297
Function
align_episode
(ep_turns_tuple: tuple, data_dir: str, align_dir: str, log: bool = False)
tal/alignment/aeneas.py:72
Method
bos_token_id
(self)
tal/asr/tokenizers/__init__.py:27
Function
build_index
Builds an index for a single audio file's utterances.
tal/asr/data/segment.py:23
Function
build_index
Builds an index for a single audio file's utterances.
tal/asr/data/aligned.py:21
Function
build_index
Builds an index for a single audio file's utterances.
tal/asr/data/baseline_speaker.py:21
Method
build_index
Construct a chunk index for sampling.
tal/asr/data/segment.py:168
Function
build_segment_cache_single
(fname, data_dir, max_duration)
tal/asr/data/audio.py:17
Function
calculate_wer
(ref, hyp)
tal/wder.py:150
Function
compute_sequence_match_accuracy
Compute the accuracy between two sequences by finding optimal matching. Args: sequence1: A list of integers or strings. sequence2: A list o
tal/diarization/uisrnn/evals.py:31
Function
concatenate_training_data
Concatenate training data. Args: train_sequences: a list of 2-dim numpy arrays to be concatenated train_cluster_ids: a list of 1-
tal/diarization/uisrnn/utils.py:76
Method
configure_optimizers
(self)
tal/asr/train_embed.py:97
Method
configure_optimizers
(self)
tal/asr/system.py:764
Method
configure_optimizers
(self)
tal/baseline/speaker_system.py:127
Function
convert_to_wav
(in_file)
tal/data_scratch/convert_wav.py:77
Function
convert_wav
(in_file)
tal/data_scratch/convert_wav.py:11
Function
cosine_distance
(x, y, **kwargs)
tal/wder_search_emb.py:519
Function
cosine_distance
(x, y, **kwargs)
tal/wder_search_emb_new_format.py:492
Function
cosine_distance
(x, y, **kwargs)
tal/wder_search.py:445
Function
cosine_distance
(x, y, **kwargs)
tal/wder.py:297
Method
debug
(self, x: object, msg: str = '')
tal/asr/system.py:61
Method
debug
(self, x: object, msg: str = '')
tal/baseline/speaker_system.py:55
Method
decode_list
Decode a list of IDs Args: tokens (list): List of token IDs Returns: str: Output strings
tal/asr/tokenizers/sentencepiece.py:59
Method
decode_list
Decode a list of IDs Args: tokens (list): List of token IDs Returns: str: Ou
tal/asr/tokenizers/transformers.py:48
Method
eos_token_id
(self)
tal/asr/tokenizers/__init__.py:31
Method
eot_token_id
(self)
tal/asr/tokenizers/__init__.py:35
Function
estimate_transition_bias
Estimate the transition bias. Args: cluster_id: Either a list of cluster indicator sequences, or a single concatenated sequen
tal/diarization/uisrnn/utils.py:304
Method
experiment
r""" Actual wandb object. To use wandb features do the following. Example:: self.logger.experiment.some_wandb_fun
tal/asr/logger.py:36
Function
f
(e)
tal/schedules.py:4
Function
f
Initialize the weights.
tal/modules.py:7
Method
forward
r"""Inputs of forward function Args: x: the sequence fed to the positional encoder model (required). Shape:
tal/modules.py:53
Method
forward
Args: Audio: Tensor of [batch, audio_len]
tal/asr/models.py:36
Method
forward
(self, x, y_prev, audio_lens)
tal/asr/models.py:291
Method
forward
Args: x: Melspec features [batch, features, time]
tal/asr/models.py:323
Method
forward
Args: x: Melspec features [batch, features, time]
tal/asr/models.py:392
Method
forward
(self, x, audio_lens)
tal/asr/models.py:483
Method
forward
(self, tgt, memory, tgt_mask=None, memory_mask=None, tgt_key_padding_mask=None, memory_key_pa
tal/asr/models.py:512
Method
forward
(self, input, target)
tal/asr/util.py:23
Method
forward
(self, input_seq, hidden=None)
tal/diarization/uisrnn/uisrnn.py:33
Function
full_force_align
(ep_turns_tuple: tuple, data_dir: str, out_dir: str)
tal/alignment/aeneas.py:30
Method
get_encoder_params
(self)
tal/asr/models.py:151
Method
get_encoder_params
(self)
tal/asr/models.py:427
Function
get_hyp_dict_wder
(i: int, hyp_dict: dict, role_map: dict,
tal/utils/aligned_to_wder_format.py:65
Function
get_lm_argparser
()
tal/asr/args.py:65
Function
hyperopt_obj
(**params)
tal/wder.py:432
Function
inv_sqrt_schedule
(warmup=1e4)
tal/schedules.py:10
Function
inverse_dot_product
(x, y, **kwargs)
tal/wder_search_emb.py:523
Function
inverse_dot_product
(x, y, **kwargs)
tal/wder_search_emb_new_format.py:496
Function
inverse_dot_product
(x, y, **kwargs)
tal/wder_search.py:449
Function
inverse_dot_product
(x, y, **kwargs)
tal/wder.py:301
Function
is_valid_segment
Check if this list of utterances contain valid audio timestamps.
tal/asr/data/segment.py:36
Method
log_lm_generation
(self, ref_text, hyp_text)
tal/asr/logger.py:59
Method
name
(self)
tal/asr/logger.py:65
Function
neg_dot_product
(x, y, **kwargs)
tal/wder_search_emb.py:527
Function
neg_dot_product
(x, y, **kwargs)
tal/wder_search_emb_new_format.py:500
Function
neg_dot_product
(x, y, **kwargs)
tal/wder_search.py:453
Function
neg_dot_product
(x, y, **kwargs)
tal/wder.py:305
Method
on_epoch_start
(self)
tal/asr/system.py:64
Method
on_epoch_start
(self)
tal/baseline/speaker_system.py:58
Function
output_result
Produce a string to summarize the experiment.
tal/diarization/uisrnn/utils.py:269
Function
pack_sequence
Pack sequences for training. Args: sub_sequences: A list of numpy array, with obsevation vector from the same cluster in the
tal/diarization/uisrnn/utils.py:217
Method
pad_token_id
(self)
tal/asr/tokenizers/__init__.py:23
Function
pairwise_idp
(X, **kwargs)
tal/wder_search_emb.py:35
Function
pairwise_idp
(X, **kwargs)
tal/wder_search_emb_new_format.py:35
Function
pairwise_idp
(X, **kwargs)
tal/wder_search.py:28
Function
pairwise_ndp
(X, **kwargs)
tal/wder_search_emb.py:39
Function
pairwise_ndp
(X, **kwargs)
tal/wder_search_emb_new_format.py:39
Function
pairwise_ndp
(X, **kwargs)
tal/wder_search.py:32
Function
parse_arguments
Parse arguments. Returns: A tuple of: - `model_args`: model arguments - `training_args`: training arguments - `infer
tal/diarization/uisrnn/arguments.py:21
Function
reconstruct_filename
(episode: str, segment_n: int)
tal/vad/webrtcvad.py:204
Function
regularization_loss
Compute regularization loss. Args: params: iterable of all parameters weight: weight for the regularization term Returns: the regula
tal/diarization/uisrnn/loss_func.py:54
Function
resize_sequence
Resize sequences for packing and batching. Args: sequence: (real numpy matrix, size: seq_len*obs_size) - observed sequence cluste
tal/diarization/uisrnn/utils.py:185
Method
select_from_beam
(x, best_beams)
tal/asr/system.py:173
Function
sigma2_prior_loss
Compute sigma2 prior loss. Args: num_non_zero: since rnn_truth is a collection of different length sequences padded with zeros to fit t
tal/diarization/uisrnn/loss_func.py:35
Method
slice_encoder_out
(encoder_out, start, end)
tal/asr/system.py:325
Method
slice_tensor
(x, start: torch.LongTensor, end: torch.LongTensor = None)
tal/asr/system.py:311
Function
split_file
(path, dest, filename, max_secs, ext)
tal/data_scratch/chunk_audio.py:8
Method
step
(self, closure=None)
tal/optimizers.py:19
Method
step
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
tal/optimizers.py:148
Method
step
(self, closure=None)
tal/optimizers.py:260
Function
str2bool
A function to convert string to bool value.
tal/diarization/uisrnn/arguments.py:12
Method
supports_memory_efficient_fp16
(self)
tal/optimizers.py:122
Method
test_dataloader
(self)
tal/asr/system.py:846
Method
test_dataloader
(self)
tal/baseline/speaker_system.py:188
Method
test_end
(self, outputs)
tal/asr/train_embed.py:90
Method
test_end
Called at the end of test to aggregate outputs :param outputs: list of individual outputs of each test step :return:
tal/asr/system.py:744
Method
test_step
(self, batch, batch_idx)
tal/asr/train_embed.py:86
Method
test_step
(self, batch, batch_nb)
tal/asr/system.py:625
Method
train_dataloader
(self)
tal/asr/train_embed.py:113
Method
train_dataloader
(self)
tal/asr/system.py:784
Method
train_dataloader
(self)
tal/baseline/speaker_system.py:180
Function
triangle_schedule
(warmup, total_iterations)
tal/schedules.py:3
Function
tweet_tokenize
(stuff)
tal/wder_search_emb.py:31
Function
tweet_tokenize
(stuff)
tal/wder_search_emb_new_format.py:31
Function
tweet_tokenize
(stuff)
tal/wder_search.py:24
Function
tweet_tokenize
(stuff)
tal/wder.py:20
Method
update_config
Updates config with data
tal/asr/logger.py:31
Method
update_lookahead
(self)
tal/optimizers.py:256
← previous
next →
201–300 of 314, ranked by callers