Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/audioku/meta-transfer-learning
/ functions
Functions
269 in github.com/audioku/meta-transfer-learning
⨍
Functions
269
◇
Types & classes
38
Method
evaluate
args: padded_input: B x T x D input_lengths: B padded_target: B x T output: bat
models/asr/transformer.py:162
Function
evaluate_test
(data_source, type_evaluation="val")
lm/convert.py:243
Method
fetch_train_batch
(train_data_list, k_train, k_valid, train_buffer)
trainer/asr/transient_trainer.py:120
Method
fetch_train_batch
(train_data_list, k_train, k_valid, train_buffer)
trainer/asr/meta_trainer.py:138
Method
fetch_train_batch
(train_data_list, k_train, k_valid, train_buffer)
trainer/asr/joint_trainer.py:144
Method
fetch_train_batch
(train_data_list, k_train, k_valid, train_buffer)
trainer/asr/multitask_joint_trainer.py:144
Method
forward
args: padded_input: B x T encoder_padded_outputs: B x T x H encoder_input_lengths: B returns
modules/decoder.py:71
Method
forward
(self, decoder_input, encoder_output, non_pad_mask=None, self_attn_mask=None, dec_enc_attn_mask=None)
modules/decoder.py:311
Method
forward
args: inputs: B x H output: predictions: B x C
modules/discriminator.py:16
Method
forward
args: padded_input: B x T x D input_lengths: B return: output: B x T x H
modules/encoder.py:53
Method
forward
(self, enc_input, non_pad_mask=None, self_attn_mask=None)
modules/encoder.py:98
Method
forward
args: input: B x T x D output: tensor: B x T
modules/common_layers.py:101
Method
forward
args: x: tensor output: y: tensor
modules/common_layers.py:122
Method
forward
args: x: tensor output: y: tensor
modules/common_layers.py:148
Method
forward
(self, x)
modules/common_layers.py:171
Method
forward
query: B x T_Q x H, key: B x T_K x H, value: B x T_V x H mask: B x T x T (attention mask)
modules/common_layers.py:206
Method
forward
query: B x T_Q x H, key: B x T_K x H, value: B x T_V x H mask: B x T x T (attention mask)
modules/common_layers.py:276
Method
forward
modules/common_layers.py:317
Method
forward
Args: queries: N x To x H values : N x Ti x H Returns: output: N x To x H atten
modules/common_layers.py:350
Method
forward
(self, input, hidden)
utils/lm.py:181
Method
forward
(self, input, hidden)
lm/model/rnn_model.py:55
Method
forward
args: padded_input: B x 1 (channel for spectrogram=1) x (freq) x T padded_input: B x T x D input_leng
models/asr/transformer.py:120
Method
from_copy_grad
(self)
modules/discriminator.py:57
Method
func
(p)
utils/data_loader.py:246
Method
func
(p)
utils/data_loader.py:407
Method
func
(p)
lm/util/data.py:47
Method
func_trg
(p)
utils/data_loader.py:249
Method
func_trg
(p)
utils/data_loader.py:410
Method
func_trg
(p)
lm/util/data.py:50
Function
generate_labels
(labels, special_token_list)
utils/functions.py:16
Method
get_input_ids
(text)
utils/tokenizer.py:80
Function
get_pos_tag
(seq)
lm/util/texthelper.py:64
Function
get_word_segments_per_language
Get word segments args: seq: String output: word_segments: list of String
lm/util/texthelper.py:19
Function
is_contain_chinese_word
(seq)
lm/test.py:97
Function
is_contain_chinese_word
(seq)
lm/convert.py:97
Function
load_seame_numpy_array
()
lm/util/datahelper.py:358
Function
load_stanford_core_nlp
Load stanford core NLP toolkit object args: path: String output: Stanford core NLP objects
utils/data.py:43
Function
masked_cross_entropy
Args: logits: A Variable containing a FloatTensor of size (batch, max_len, num_classes) which contains the un
lm/util/masked_cross_entropy.py:19
Function
pad_list_with_mask
(xs, pad_value)
modules/common_layers.py:22
Method
parse_audio
(self, audio_path)
utils/data_loader.py:65
Method
parse_transcript
:param transcript_path: Path where transcript is stored from the manifest file :return: Transcript in training/testing format
utils/data_loader.py:30
Method
parse_transcript
(self, transcript_path)
utils/data_loader.py:98
Function
prepare_discriminator_data
Takes positive (target) samples, negative (generator) samples and prepares inp and target data for discriminator. Inputs: pos_samples, ne
lm/util/helpers.py:34
Function
preprocess_mixed_language_sentence
Preprocess function args: seq: String output: seq: String
utils/data.py:342
Function
preprocess_mixed_language_sentence
(seq, retokenize=True)
lm/util/texthelper.py:108
Function
preprocess_wav
(root, dirc, filename)
utils/data.py:412
Function
print_log
(file, log)
lm/util/printhelper.py:1
Function
read_seame
Recursively iterate directories and read all the data
lm/util/datahelper.py:142
Function
read_seame_phase1
Recursively iterate phase 1 directories and read all the data
lm/util/datahelper.py:16
Function
remove_emojis
Remove emojis args: seq: String output: seq: String
utils/data.py:199
Function
remove_emojis
(seq)
lm/util/texthelper.py:67
Function
remove_return
Remove return characters args: seq: String output: seq: String
utils/data.py:332
Function
remove_return
(seq)
lm/util/texthelper.py:105
Method
sample
(self, k_train, k_val, manifest_id)
utils/data_loader.py:245
Function
save_seame
(interview_phase1_data, conversation_phase1_data, interview_phase2_data, conversation_phase2_data, all_data, v
lm/util/datahelper.py:367
Method
step
(self)
utils/optimizer.py:42
Method
to_copy_grad
(self)
modules/discriminator.py:49
Method
to_copy_grad
(self)
models/asr/transformer.py:227
Function
train
(data_source)
lm/test.py:370
Function
train
(data_source)
lm/convert.py:370
Method
train
Training args: model: Model object train_data_list: DataLoader object of the training set va
trainer/asr/transient_trainer.py:79
Method
train
Training args: model: Model object train_data_list: DataLoader object of the training set va
trainer/asr/meta_trainer.py:92
Method
train
Training args: model: Model object train_data_list: DataLoader object of the training set va
trainer/asr/joint_trainer.py:97
Method
train
Training args: model: Model object train_data_list: DataLoader object of the training set va
trainer/asr/multitask_joint_trainer.py:97
Function
traverse
(root, path, dev_conversation_phase2, test_conversation_phase2, dev_interview_phase2, test_interview_phase2, s
utils/data.py:447
Function
traverse_all
(root, path)
utils/data.py:476
Method
uniform_shuffle
(self, arr)
utils/data_loader.py:238
Method
vocab_size
(self)
utils/tokenizer.py:40
Method
zero_copy_grad
(self)
modules/discriminator.py:33
← previous
201–269 of 269, ranked by callers