MCPcopy Create free account

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

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

Methodsize
Return an example's size as a float or tuple. Here we return the max across all underlying datasets. This value is used when filterin
fairseq/data/multi_corpus_sampled_dataset.py:123
Methodsize
(self, index)
fairseq/data/lm_context_window_dataset.py:66
Methodsize
(self, index)
fairseq/data/transform_eos_lang_pair_dataset.py:64
Methodsize
(self, index)
fairseq/data/transform_eos_dataset.py:100
Methodsize
Return an example's size as a float or tuple. This value is used when filtering a dataset with ``--max-positions``. Note: we use *tgt
fairseq/data/backtranslation_dataset.py:149
Methodsize
Return an example's size as a float or tuple. This value is used when filtering a dataset with max-positions.
fairseq/data/legacy/masked_lm_dataset.py:295
Methodsizes
(self)
fairseq/data/truncate_dataset.py:27
Methodsizes
(self)
fairseq/data/concat_sentences_dataset.py:29
Methodsizes
(self)
fairseq/data/token_block_dataset.py:147
Methodsizes
(self)
fairseq/data/base_wrapper_dataset.py:30
Methodsizes
(self)
fairseq/data/list_dataset.py:19
Methodsizes
(self)
fairseq/data/prepend_token_dataset.py:29
Methodsizes
(self)
fairseq/data/concat_dataset.py:68
Methodsizes
(self)
fairseq/data/indexed_dataset.py:431
Methodsizes
(self)
fairseq/data/indexed_dataset.py:482
Methodslice_indices
(self)
fairseq/data/token_block_dataset.py:143
Functionsoftmax
(x, dim, onnx_trace=False)
fairseq/utils.py:292
Methodsource_dictionary
(self)
fairseq/tasks/multilingual_translation.py:353
Methodsource_dictionary
(self)
fairseq/tasks/sentence_prediction.py:203
Methodsource_dictionary
Return the source :class:`~fairseq.data.Dictionary` (if applicable for this task).
fairseq/tasks/fairseq_task.py:262
Methodsource_dictionary
Return the source :class:`~fairseq.data.Dictionary`.
fairseq/tasks/translation.py:199
Methodsource_dictionary
(self)
fairseq/tasks/masked_lm.py:204
Methodsource_dictionary
Return the :class:`~fairseq.data.Dictionary` for the language model.
fairseq/tasks/language_modeling.py:211
Methodsource_dictionary
(self)
fairseq/tasks/sentence_ranking.py:188
Methodsource_dictionary
(self)
tests/utils.py:147
Methodsource_dictionary
(self)
examples/roberta/commonsense_qa/commonsense_qa_task.py:169
Methodsource_dictionary
(self)
examples/roberta/wsc/wsc_task.py:255
Methodsource_dictionary
Return the source :class:`~fairseq.data.Dictionary` (if applicable for this task).
examples/speech_recognition/tasks/speech_recognition.py:113
Functionspacy_tokenizer
()
fairseq/models/roberta/alignment_utils.py:108
Methodsplit_exists
(split, src, tgt, lang)
fairseq/tasks/semisupervised_translation.py:141
Methodstate_dict
Return the optimizer's state dict.
fairseq/optim/fairseq_optimizer.py:54
Methodstate_dict
Return the LR scheduler state dict.
fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py:37
Methodstate_dict
Return the LR scheduler state dict.
fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py:24
Methodstate_dict
(self)
fairseq/data/iterators.py:67
Methodstate_dict
(self)
fairseq/data/iterators.py:105
Methodstate_dict
Returns a dictionary containing a whole state of the iterator.
fairseq/data/iterators.py:198
Methodstep
(self, step, lprobs, scores)
fairseq/search.py:59
Methodstep
(self, step, lprobs, scores)
fairseq/search.py:96
Methodstep
(self, step, lprobs, scores)
fairseq/search.py:122
Methodstep
(self, step, lprobs, scores)
fairseq/search.py:219
Methodstep
Performs a single optimization step.
fairseq/optim/bmuf.py:117
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
fairseq/optim/adafactor.py:128
Methodstep
Performs a single optimization step.
fairseq/optim/fairseq_optimizer.py:90
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
fairseq/optim/adam.py:94
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
fairseq/optim/adam.py:218
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
fairseq/optim/nag.py:52
Methodstep
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
fairseq/optim/adamax.py:91
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py:50
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/inverse_square_root_schedule.py:60
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/cosine_lr_scheduler.py:90
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/triangular_lr_scheduler.py:53
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py:32
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/polynomial_decay_schedule.py:50
Methodstep
Update the learning rate at the end of the given epoch.
fairseq/optim/lr_scheduler/fixed_schedule.py:47
Methodstep_update
Update the learning rate after each update.
fairseq/optim/lr_scheduler/inverse_square_root_schedule.py:66
Methodstep_update
Update the learning rate after each update.
fairseq/optim/lr_scheduler/cosine_lr_scheduler.py:96
Methodstep_update
Update the learning rate after each update.
fairseq/optim/lr_scheduler/triangular_lr_scheduler.py:59
Methodstep_update
Update the learning rate after each update.
fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py:40
Methodstep_update
Update the learning rate after each update.
fairseq/optim/lr_scheduler/polynomial_decay_schedule.py:57
Functionstrip_pad
(tensor, pad)
fairseq/utils.py:183
Methodsum_over_languages
(key)
fairseq/tasks/multilingual_translation.py:335
Methodsupported_targets
(self)
fairseq/models/fairseq_model.py:393
Methodsupported_targets
(self)
fairseq/models/roberta/model.py:126
Methodsupports_memory_efficient_fp16
(self)
fairseq/optim/adafactor.py:102
Methodsupports_memory_efficient_fp16
(self)
fairseq/optim/fairseq_optimizer.py:102
Methodsupports_memory_efficient_fp16
(self)
fairseq/optim/adam.py:91
Methodsupports_memory_efficient_fp16
(self)
fairseq/optim/adam.py:215
Methodsupports_memory_efficient_fp16
(self)
fairseq/optim/nag.py:49
Methodsupports_memory_efficient_fp16
(self)
fairseq/optim/adamax.py:88
Methodsupports_prefetch
Whether this dataset supports prefetching.
fairseq/data/nested_dictionary_dataset.py:103
Methodsupports_prefetch
(self)
fairseq/data/language_pair_dataset.py:205
Methodsupports_prefetch
Whether this dataset supports prefetching.
fairseq/data/fairseq_dataset.py:46
Methodsupports_prefetch
(self)
fairseq/data/round_robin_zip_datasets.py:102
Methodsupports_prefetch
(self)
fairseq/data/concat_sentences_dataset.py:42
Methodsupports_prefetch
(self)
fairseq/data/monolingual_dataset.py:196
Methodsupports_prefetch
(self)
fairseq/data/token_block_dataset.py:185
Methodsupports_prefetch
(self)
fairseq/data/base_wrapper_dataset.py:43
Methodsupports_prefetch
(self)
fairseq/data/concat_dataset.py:74
Methodsupports_prefetch
(self)
fairseq/data/noising.py:310
Methodsupports_prefetch
(self)
fairseq/data/indexed_dataset.py:178
Methodsupports_prefetch
(self)
fairseq/data/indexed_dataset.py:190
Methodsupports_prefetch
(self)
fairseq/data/indexed_dataset.py:486
Methodsupports_prefetch
(self)
fairseq/data/multi_corpus_sampled_dataset.py:135
Methodsupports_prefetch
(self)
fairseq/data/lm_context_window_dataset.py:74
Methodsupports_prefetch
(self)
fairseq/data/transform_eos_lang_pair_dataset.py:71
Methodsupports_prefetch
(self)
fairseq/data/transform_eos_dataset.py:113
Methodsupports_prefetch
(self)
fairseq/data/backtranslation_dataset.py:161
Methodsupports_prefetch
(self)
fairseq/data/legacy/masked_lm_dataset.py:318
Methodsupports_prefetch
(self)
fairseq/data/legacy/block_pair_dataset.py:301
Methodtarget_dictionary
(self)
fairseq/tasks/multilingual_translation.py:357
Methodtarget_dictionary
(self)
fairseq/tasks/legacy_masked_lm.py:62
Methodtarget_dictionary
(self)
fairseq/tasks/sentence_prediction.py:207
Methodtarget_dictionary
Return the target :class:`~fairseq.data.Dictionary` (if applicable for this task).
fairseq/tasks/fairseq_task.py:268
Methodtarget_dictionary
Return the target :class:`~fairseq.data.Dictionary`.
fairseq/tasks/translation.py:204
Methodtarget_dictionary
(self)
fairseq/tasks/masked_lm.py:208
Methodtarget_dictionary
Return the :class:`~fairseq.data.Dictionary` for the language model.
fairseq/tasks/language_modeling.py:217
Methodtarget_dictionary
(self)
fairseq/tasks/cross_lingual_lm.py:91
Methodtarget_dictionary
Return the :class:`~fairseq.data.Dictionary` for the language model.
fairseq/tasks/audio_pretraining.py:55
Methodtarget_dictionary
(self)
fairseq/tasks/sentence_ranking.py:192
Methodtarget_dictionary
(self)
tests/utils.py:151
← previousnext →1,801–1,900 of 2,038, ranked by callers