MCPcopy Create free account

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

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

Methodtarget_dictionary
(self)
tests/speech_recognition/asr_test_base.py:49
Methodtarget_dictionary
(self)
examples/roberta/commonsense_qa/commonsense_qa_task.py:173
Methodtarget_dictionary
(self)
examples/roberta/wsc/wsc_task.py:259
Methodtarget_dictionary
Return the :class:`~fairseq.data.Dictionary` for the language model.
examples/speech_recognition/tasks/speech_recognition.py:107
MethodtearDown
(self)
tests/test_train.py:124
Methodtest_average_checkpoints
(self)
tests/test_average_checkpoints.py:38
Methodtest_average_checkpoints_with_shared_parameters
(self)
tests/test_average_checkpoints.py:88
Methodtest_backtranslation_dataset_no_eos_in_input_src
(self)
tests/test_backtranslation_dataset.py:105
Methodtest_backtranslation_dataset_no_eos_in_output_src
(self)
tests/test_backtranslation_dataset.py:95
Methodtest_backtranslation_dataset_with_eos_in_output_src
(self)
tests/test_backtranslation_dataset.py:100
Methodtest_block_break_mode
(self)
tests/test_token_block_dataset.py:43
Methodtest_character_token_embedder
(self)
tests/test_character_token_embedder.py:14
Methodtest_collate
(self)
tests/speech_recognition/test_collaters.py:17
Methodtest_complete_break_mode
(self)
tests/test_token_block_dataset.py:55
Methodtest_concat_dataset_basics
(self)
tests/test_concat_dataset.py:42
Methodtest_convert_padding_direction
(self)
tests/test_utils.py:15
Methodtest_convtbc
(self)
tests/test_convtbc.py:14
Methodtest_counting_iterator
(self)
tests/test_iterators.py:13
Methodtest_cross_entropy_all_correct
(self)
tests/speech_recognition/test_cross_entropy.py:18
Methodtest_cross_entropy_all_wrong
(self)
tests/speech_recognition/test_cross_entropy.py:28
Methodtest_diverse_beam_search
(self)
tests/test_sequence_generator.py:199
Methodtest_dynamicconv
(self)
tests/test_binaries.py:170
Methodtest_eos_break_mode
(self)
tests/test_token_block_dataset.py:22
Methodtest_fconv
(self)
tests/test_binaries.py:28
Methodtest_fconv_lm
(self)
tests/test_binaries.py:242
Methodtest_fconv_self_att_wp
(self)
tests/test_binaries.py:209
Methodtest_finalize
(self)
tests/test_dictionary.py:16
Methodtest_forward
(self)
tests/speech_recognition/test_vggtransformer.py:88
Methodtest_forward
(self)
tests/speech_recognition/asr_test_base.py:288
Methodtest_forward
(self)
tests/speech_recognition/asr_test_base.py:352
Methodtest_forward
(self)
tests/speech_recognition/asr_test_base.py:413
Methodtest_forward
(self)
tests/speech_recognition/asr_test_base.py:457
Methodtest_fp16
(self)
tests/test_binaries.py:44
Methodtest_generation
(self)
tests/test_binaries.py:88
Methodtest_get_normalized_probs
(self)
tests/speech_recognition/asr_test_base.py:298
Methodtest_get_normalized_probs
(self)
tests/speech_recognition/asr_test_base.py:366
Methodtest_legacy_masked_lm
(self)
tests/test_binaries.py:268
Methodtest_lightconv
(self)
tests/test_binaries.py:157
Methodtest_load_full_checkpoint
(self)
tests/test_train.py:99
Methodtest_load_no_checkpoint
(self)
tests/test_train.py:111
Methodtest_load_partial_checkpoint
(self)
tests/test_train.py:69
Methodtest_load_state_dict
(self)
tests/test_memory_efficient_fp16.py:17
Methodtest_lstm
(self)
tests/test_binaries.py:114
Methodtest_lstm_bidirectional
(self)
tests/test_binaries.py:128
Methodtest_make_positions
(self)
tests/test_utils.py:45
Methodtest_max_positions
(self)
tests/test_binaries.py:68
Methodtest_maxlen
(self)
tests/test_sequence_generator.py:123
Methodtest_memory_efficient_fp16
(self)
tests/test_binaries.py:52
Methodtest_mixture_of_experts
(self)
tests/test_binaries.py:183
Methodtest_multi_corpus_sampled_dataset_uniform_sample
(self)
tests/test_multi_corpus_sampled_dataset.py:77
Methodtest_multi_corpus_sampled_dataset_weighted_sample
(self)
tests/test_multi_corpus_sampled_dataset.py:80
Methodtest_nll_loss
(self)
tests/test_label_smoothing.py:50
Methodtest_noising_dataset_with_eos
(self)
tests/test_noising.py:448
Methodtest_noising_dataset_without_eos
Similar to test noising dataset with eos except that we have to set *append_eos_to_tgt* to ``True``.
tests/test_noising.py:480
Methodtest_optimizers
(self)
tests/test_binaries.py:403
Methodtest_padding
(self)
tests/test_label_smoothing.py:59
Methodtest_pretrained_masked_lm_for_translation_encoder_only
(self)
tests/test_binaries.py:334
Methodtest_pretrained_masked_lm_for_translation_learned_pos_emb
(self)
tests/test_binaries.py:328
Methodtest_pretrained_masked_lm_for_translation_sinusoidal_pos_emb
(self)
tests/test_binaries.py:331
Methodtest_raw
(self)
tests/test_binaries.py:36
Methodtest_reduction
(self)
tests/test_label_smoothing.py:78
Methodtest_reproducibility
(self)
tests/test_reproducibility.py:67
Methodtest_reproducibility_fp16
(self)
tests/test_reproducibility.py:70
Methodtest_reproducibility_memory_efficient_fp16
(self)
tests/test_reproducibility.py:76
Methodtest_sequence_scorer
(self)
tests/test_sequence_scorer.py:18
Methodtest_sparse_multihead_attention
(self)
tests/test_sparse_multihead_attention.py:12
Methodtest_topp_sampling_search_high_prob
(self)
tests/test_sequence_generator.py:310
Methodtest_topp_sampling_search_low_prob
(self)
tests/test_sequence_generator.py:281
Methodtest_transformer
(self)
tests/test_binaries.py:144
Methodtest_transformer_lm
(self)
tests/test_binaries.py:255
Methodtest_update_freq
(self)
tests/test_binaries.py:60
Methodtest_with_lenpen_favoring_long_hypos
(self)
tests/test_sequence_generator.py:105
Methodtest_with_lenpen_favoring_short_hypos
(self)
tests/test_sequence_generator.py:87
Methodtest_with_normalization
(self)
tests/test_sequence_generator.py:51
Methodtest_without_normalization
(self)
tests/test_sequence_generator.py:68
Methodtest_word_blank_with_eos
(self)
tests/test_noising.py:180
Methodtest_word_blank_without_eos
Same result as word blank with eos except no EOS at end
tests/test_noising.py:398
Methodtest_word_dropout_with_eos
(self)
tests/test_noising.py:159
Methodtest_word_dropout_without_eos
Same result as word dropout with eos except no EOS at end
tests/test_noising.py:386
Methodtest_word_shuffle_with_eos
(self)
tests/test_noising.py:246
Methodtest_word_shuffle_with_eos_nonbpe
The purpose of this is to test shuffling logic with word vocabs
tests/test_noising.py:277
Methodtest_word_shuffle_without_eos
Same result as word shuffle with eos except no EOS at end
tests/test_noising.py:309
Methodtest_word_shuffle_without_eos_with_bpe_end_marker
Same result as word shuffle without eos except using BPE end token
tests/test_noising.py:341
Methodtest_zero_eps
(self)
tests/test_label_smoothing.py:85
Functiontok2int
(tok)
scripts/spm_decode.py:35
Methodtoken_string
(i)
fairseq/data/dictionary.py:71
Functiontokenize_line
(line)
fairseq/tokenizer.py:11
Methodtrain_step
(self, sample, model, criterion, optimizer, ignore_grad=False)
fairseq/tasks/translation_moe.py:180
Methodtrain_step
(self, sample, model, criterion, optimizer, ignore_grad=False)
fairseq/tasks/multilingual_translation.py:270
Methodtrain_step
Do forward and backward, and return the loss as computed by *criterion* for the given *model* and *sample*. Args:
fairseq/tasks/fairseq_task.py:209
Methodtrain_step
(self, sample, model, criterion, optimizer, ignore_grad=False)
fairseq/tasks/semisupervised_translation.py:331
Methodtransform
(item)
fairseq/data/transform_eos_dataset.py:79
Functiontransformer_iwslt_de_en
(args)
fairseq/models/transformer.py:557
Functiontransformer_iwslt_de_en
(args)
fairseq/models/transformer_mb/transformer_mb.py:640
Functiontransformer_lm_baevski_gbw
(args)
fairseq/models/transformer_lm.py:215
Functiontransformer_lm_baevski_wiki103
(args)
fairseq/models/transformer_lm.py:197
Functiontransformer_lm_gpt
(args)
fairseq/models/transformer_lm.py:224
Functiontransformer_lm_gpt2_big
(args)
fairseq/models/transformer_lm.py:260
Functiontransformer_lm_gpt2_medium
(args)
fairseq/models/transformer_lm.py:248
Functiontransformer_lm_gpt2_small
(args)
fairseq/models/transformer_lm.py:236
← previousnext →1,901–2,000 of 2,038, ranked by callers