MCPcopy Create free account

hub / github.com/HA-Transformer/MAT / functions

Functions2,038 in github.com/HA-Transformer/MAT

↓ 1 callersFunctionprocess_predictions
(args, hypos, sp, tgt_dict, target_tokens, res_files, speaker, id)
examples/speech_recognition/infer.py:75
↓ 1 callersFunctionread_audio
Load an audio file and return PCM along with the sample rate
scripts/wav2vec_featurize.py:21
↓ 1 callersMethodread_data
(self, path, dictionary)
fairseq/data/indexed_dataset.py:243
↓ 1 callersMethodread_index
(self, path)
fairseq/data/indexed_dataset.py:121
↓ 1 callersMethodremove_bpe
(self, sentence: str)
fairseq/hub_utils.py:170
↓ 1 callersMethodreorder_incremental_state
(self, new_order)
fairseq/sequence_generator.py:603
↓ 1 callersMethodreorder_incremental_state
Reorder incremental state. This should be called when the order of the input has changed from the previous time step. A typical use c
fairseq/models/fairseq_incremental_decoder.py:60
↓ 1 callersFunctionreplace_unk
(hypo_str, src_str, alignment, align_dict, unk)
fairseq/utils.py:143
↓ 1 callersMethodresample
(self, x, factor)
fairseq/data/audio/raw_audio_dataset.py:58
↓ 1 callersMethodreset
(self)
fairseq/meters.py:14
↓ 1 callersMethodreset
(self, init=0)
fairseq/meters.py:32
↓ 1 callersMethodreset
(self)
fairseq/meters.py:64
↓ 1 callersMethodreset
(self, one_init=False)
fairseq/bleu.py:45
↓ 1 callersMethodreset
(self, one_init=False)
fairseq/bleu.py:81
↓ 1 callersMethodreset
(self, one_init=False)
fairseq/bleu.py:179
↓ 1 callersMethodreset_parameters
(self)
fairseq/modules/dynamic_convolution.py:74
↓ 1 callersMethodreset_parameters
(self)
fairseq/modules/lightweight_convolution.py:54
↓ 1 callersMethodreset_parameters
(self)
fairseq/modules/lightweight_convolution.py:125
↓ 1 callersMethodreset_parameters
(self)
fairseq/modules/highway.py:30
↓ 1 callersMethodreset_parameters
(self)
fairseq/modules/character_token_embedder.py:89
↓ 1 callersMethodreset_parameters
(self)
fairseq/modules/multihead_attention.py:78
↓ 1 callersMethodresult_string
(self, order=4)
fairseq/bleu.py:58
↓ 1 callersMethodrouge_l_recall_score
(self)
fairseq/bleu.py:131
↓ 1 callersFunctions3_etag
Check ETag on S3 object.
fairseq/file_utils.py:198
↓ 1 callersFunctions3_get
Pull a file directly from S3.
fairseq/file_utils.py:208
↓ 1 callersMethodsample
(self, sentence: str, beam: int = 1, verbose: bool = False, **kwargs)
fairseq/hub_utils.py:105
↓ 1 callersMethodsample_negatives
(self, y)
fairseq/models/wav2vec.py:374
↓ 1 callersMethodscore
(self, order=4)
fairseq/bleu.py:95
↓ 1 callersMethodscore
(self, order=4)
fairseq/bleu.py:189
↓ 1 callersMethodscore
(self, order=4)
fairseq/bleu.py:319
↓ 1 callersMethodself_attn
(self, query, key, value, **kwargs)
fairseq/models/transformer_mb/transformer_mb_layer.py:256
↓ 1 callersMethodsentence_accuracy
(self)
fairseq/bleu.py:115
↓ 1 callersMethodsetUpArgs
(self)
tests/speech_recognition/asr_test_base.py:505
↓ 1 callersMethodsetUpDecoder
(self, decoder)
tests/speech_recognition/asr_test_base.py:435
↓ 1 callersMethodsetUpPrevOutputTokens
(self, tokens=None)
tests/speech_recognition/asr_test_base.py:445
↓ 1 callersMethodset_beam_size
Sets the beam size in the decoder and all children.
fairseq/models/fairseq_incremental_decoder.py:77
↓ 1 callersFunctionset_defaults
Helper to set default arguments based on *add_args*.
fairseq/registry.py:65
↓ 1 callersMethodset_epoch
(self, epoch)
fairseq/data/list_dataset.py:28
↓ 1 callersMethodset_lr
(self, lr)
fairseq/optim/fp16_optimizer.py:116
↓ 1 callersMethodset_num_updates
Set the number of parameters updates.
fairseq/optim/bmuf.py:134
↓ 1 callersMethodset_src_lengths
(self, src_lengths)
fairseq/search.py:50
↓ 1 callersMethodset_vocab
(self, vocab, max_char_len)
fairseq/modules/character_token_embedder.py:63
↓ 1 callersMethodsetup_task
Setup the task (e.g., load dictionaries).
examples/speech_recognition/tasks/speech_recognition.py:86
↓ 1 callersMethodsize
Return an example's size as a float or tuple.
fairseq/data/concat_dataset.py:57
↓ 1 callersMethodsize
Return an example's size as a float or tuple. This value is used when filtering a dataset with ``--max-positions``.
fairseq/data/audio/raw_audio_dataset.py:111
↓ 1 callersMethodslice
embedding is a (T, B, D) tensor padding_mask is a (B, T) tensor or None attn_mask is a (T, T) tensor or None
examples/speech_recognition/models/vggtransformer.py:474
↓ 1 callersFunctionspacy_nlp
()
fairseq/models/roberta/alignment_utils.py:98
↓ 1 callersMethodstart_server
(self)
fairseq/data/plasma_utils.py:41
↓ 1 callersMethodstate_dict
Return the optimizer's state dict.
fairseq/optim/fp16_optimizer.py:119
↓ 1 callersMethodstate_dict
Return the optimizer's state dict.
fairseq/optim/fp16_optimizer.py:279
↓ 1 callersMethodstep
Performs a single optimization step.
fairseq/optim/fp16_optimizer.py:192
↓ 1 callersMethodstep
Performs a single optimization step.
fairseq/optim/fp16_optimizer.py:365
↓ 1 callersFunctionsuppress_output
Suppress printing on the current device. Force printing with `force=True`.
fairseq/distributed_utils.py:98
↓ 1 callersMethodtensorEqual
(self, t1, t2)
tests/test_sequence_generator.py:367
↓ 1 callersFunctiontrain
Train the model for one epoch.
train.py:101
↓ 1 callersFunctiontrain
Train the model for one epoch.
fairseq_cli/train.py:101
↓ 1 callersMethodupdate_step
Task level update when number of update increases. This is called after optimization step and learning rate update of each step
fairseq/tasks/fairseq_task.py:246
↓ 1 callersFunctionurl_to_filename
Convert `url` into a hashed filename in a repeatable way. If `etag` is specified, append its hash to the URL's, delimited by a period.
fairseq/file_utils.py:90
↓ 1 callersFunctionvalid
(line)
scripts/spm_encode.py:48
↓ 1 callersMethodvalidate_transformer_config
(self, transformer_config)
examples/speech_recognition/models/vggtransformer.py:391
↓ 1 callersMethodword_accuracy
(self)
fairseq/bleu.py:108
↓ 1 callersMethodwrite_features
(self)
scripts/wav2vec_featurize.py:185
↓ 1 callersMethodwriter
(cls, path, dtype)
fairseq/data/indexed_dataset.py:356
↓ 1 callersMethodzero_grad
Clears the gradients of all optimized parameters.
fairseq/optim/fp16_optimizer.py:206
FunctionConvTBC
Weight-normalized Conv1d layer
fairseq/models/fconv.py:592
FunctionConvTBC
Weight-normalized Conv1d layer
fairseq/models/fconv_self_att.py:520
FunctionDistributedFairseqModel
Wrap a *model* to support distributed data parallel training. This is similar to the built-in DistributedDataParallel, but allows additi
fairseq/models/distributed_fairseq_model.py:14
Method__call__
(self, x)
scripts/wav2vec_featurize.py:85
Method__contains__
(self, sym)
fairseq/data/dictionary.py:53
Method__del__
(self)
fairseq/criterions/sentence_ranking.py:26
Method__del__
(self)
fairseq/data/indexed_dataset.py:144
Method__del__
(self)
fairseq/data/indexed_dataset.py:268
Method__del__
(self)
fairseq/data/indexed_dataset.py:422
Method__del__
(self)
fairseq/data/indexed_dataset.py:464
Method__del__
(self)
fairseq/data/plasma_utils.py:81
Method__del__
(self)
examples/roberta/wsc/wsc_criterion.py:28
Method__enter__
(self)
fairseq/progress_bar.py:82
Method__enter__
(self)
fairseq/data/indexed_dataset.py:358
Method__eq__
(self, other)
fairseq/data/dictionary.py:41
Method__exit__
(self, *exc)
fairseq/progress_bar.py:85
Method__exit__
(self, *exc)
fairseq/progress_bar.py:266
Method__exit__
(self, exc_type, exc_val, exc_tb)
fairseq/data/indexed_dataset.py:392
Method__getattr__
(self, name)
fairseq/models/distributed_fairseq_model.py:60
Method__getitem__
(self, index)
fairseq/data/nested_dictionary_dataset.py:64
Method__getitem__
(self, index)
fairseq/data/language_pair_dataset.py:122
Method__getitem__
(self, index)
fairseq/data/fairseq_dataset.py:13
Method__getitem__
(self, idx)
fairseq/data/dictionary.py:44
Method__getitem__
(self, i)
fairseq/data/dictionary.py:322
Method__getitem__
(self, index)
fairseq/data/id_dataset.py:13
Method__getitem__
(self, index)
fairseq/data/raw_label_dataset.py:17
Method__getitem__
(self, index)
fairseq/data/round_robin_zip_datasets.py:47
Method__getitem__
(self, index)
fairseq/data/truncate_dataset.py:19
Method__getitem__
(self, index)
fairseq/data/num_samples_dataset.py:11
Method__getitem__
(self, index)
fairseq/data/concat_sentences_dataset.py:19
Method__getitem__
(self, index)
fairseq/data/strip_token_dataset.py:15
Method__getitem__
(self, index)
fairseq/data/monolingual_dataset.py:78
Method__getitem__
(self, index)
fairseq/data/token_block_dataset.py:154
Method__getitem__
(self, idx)
fairseq/data/offset_tokens_dataset.py:15
Method__getitem__
(self, index)
fairseq/data/base_wrapper_dataset.py:17
Method__getitem__
(self, idx)
fairseq/data/prepend_token_dataset.py:22
← previousnext →701–800 of 2,038, ranked by callers