MCPcopy Create free account

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

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

Methodadd_args
(parser)
fairseq/criterions/sentence_prediction.py:20
Methodadd_args
Add criterion-specific arguments to the parser.
fairseq/criterions/composite_loss.py:18
Methodadd_args
Add criterion-specific arguments to the parser.
fairseq/criterions/label_smoothed_cross_entropy.py:41
Methodadd_args
Add criterion-specific arguments to the parser.
fairseq/criterions/fairseq_criterion.py:18
Methodadd_args
(parser)
fairseq/criterions/sentence_ranking.py:31
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/adadelta.py:18
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/bmuf.py:36
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/adagrad.py:18
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/adafactor.py:20
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/fairseq_optimizer.py:19
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/adam.py:30
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/nag.py:19
Methodadd_args
Add optimizer-specific arguments to the parser.
fairseq/optim/adamax.py:19
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py:27
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/inverse_square_root_schedule.py:51
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/cosine_lr_scheduler.py:73
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/triangular_lr_scheduler.py:40
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py:20
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/polynomial_decay_schedule.py:30
Methodadd_args
Add arguments to the parser for this LR scheduler.
fairseq/optim/lr_scheduler/fixed_schedule.py:26
Methodadd_args
(parser)
fairseq/data/encoders/subword_nmt_bpe.py:14
Methodadd_args
(parser)
fairseq/data/encoders/moses_tokenizer.py:13
Methodadd_args
(parser)
fairseq/data/encoders/fastbpe.py:14
Methodadd_args
(parser)
fairseq/data/encoders/gpt2_bpe.py:20
Methodadd_args
(parser)
fairseq/data/encoders/sentencepiece_bpe.py:14
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/translation_moe.py:39
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/multilingual_translation.py:64
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/legacy_masked_lm.py:34
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/sentence_prediction.py:40
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/fairseq_task.py:19
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/translation.py:103
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/language_modeling.py:53
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/cross_lingual_lm.py:39
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/semisupervised_translation.py:80
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/audio_pretraining.py:19
Methodadd_args
Add task-specific arguments to the parser.
fairseq/tasks/sentence_ranking.py:38
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/fconv.py:57
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/lightconv.py:54
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/lightconv_lm.py:28
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/fconv_self_att.py:54
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/fairseq_model.py:28
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/masked_lm.py:43
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/wav2vec.py:23
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/transformer.py:73
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/multilingual_transformer.py:44
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/fconv_lm.py:21
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/transformer_lm.py:41
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/transformer_from_pretrained_xlm.py:24
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/roberta/model.py:51
Methodadd_args
Add model-specific arguments to the parser.
fairseq/models/transformer_mb/transformer_mb.py:56
Methodadd_args
Add task-specific arguments to the parser.
examples/roberta/commonsense_qa/commonsense_qa_task.py:33
Methodadd_args
Add task-specific arguments to the parser.
examples/roberta/wsc/wsc_task.py:36
Methodadd_args
Add criterion-specific arguments to the parser.
examples/roberta/wsc/wsc_criterion.py:33
Methodadd_args
Add task-specific arguments to the parser.
examples/speech_recognition/tasks/speech_recognition.py:77
Methodadd_args
Add model-specific arguments to the parser.
examples/speech_recognition/models/vggtransformer.py:35
Methodadd_item
(self, tensor)
fairseq/data/indexed_dataset.py:502
Methodadd_string
(self, ref, pred)
fairseq/bleu.py:51
Methodadd_string
(self, ref, pred)
fairseq/bleu.py:89
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/adaptive_loss.py:77
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/legacy_masked_lm.py:128
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/sentence_prediction.py:76
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/cross_entropy.py:52
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/masked_lm.py:57
Methodaggregate_logging_outputs
(logging_outputs)
fairseq/criterions/composite_loss.py:88
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/label_smoothed_cross_entropy.py:78
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/binary_cross_entropy.py:57
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/fairseq_criterion.py:37
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
fairseq/criterions/sentence_ranking.py:89
Methodaggregate_logging_outputs
(self, logging_outputs, criterion)
fairseq/tasks/translation_moe.py:204
Methodaggregate_logging_outputs
(self, logging_outputs, criterion, logging_output_keys=None)
fairseq/tasks/multilingual_translation.py:325
Methodaggregate_logging_outputs
(self, logging_outputs, criterion)
fairseq/tasks/semisupervised_translation.py:389
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
examples/roberta/wsc/wsc_criterion.py:112
Methodaggregate_logging_outputs
Aggregate logging outputs from data parallel training.
examples/speech_recognition/criterions/cross_entropy_acc.py:102
Functionalign_bpe_to_words
Helper to align GPT-2 BPE to other tokenization formats (e.g., spaCy). Args: roberta (RobertaHubInterface): RoBERTa instance
fairseq/models/roberta/alignment_utils.py:12
Functionalign_features_to_words
Align given features to words. Args: roberta (RobertaHubInterface): RoBERTa instance features (torch.Tensor): features to al
fairseq/models/roberta/alignment_utils.py:69
Functionall_gather_list
Gathers arbitrary data from all nodes into a list. Similar to :func:`~torch.distributed.all_gather` but for arbitrary Python data. Note that
fairseq/distributed_utils.py:129
Methodallreduce_hook
(*unused)
fairseq/legacy_distributed_data_parallel.py:175
Methodapply_half
(t)
fairseq/trainer.py:502
Methodapply_make_generation_fast_
(module)
fairseq/models/fairseq_model.py:115
Functionapply_mv_norm
(features)
examples/speech_recognition/data/data_utils.py:21
Methodapply_prepare_for_onnx_export_
(module)
fairseq/models/fairseq_model.py:135
Methodapply_remove_weight_norm
(module)
fairseq/models/fairseq_model.py:105
Methodapply_reorder_incremental_state
(module)
fairseq/models/fairseq_incremental_decoder.py:69
Methodapply_set_beam_size
(module)
fairseq/models/fairseq_incremental_decoder.py:82
Methodapply_sparse_mask
(self, attn_weights, tgt_len, src_len, bsz)
fairseq/modules/sparse_multihead_attention.py:101
MethodassertMatch
(ids, ref_ids)
tests/test_dictionary.py:47
Methodavg
(self)
fairseq/meters.py:41
Methodavg
(self)
fairseq/meters.py:70
Methodbacktranslate_fn
( sample, model=model.models[key], bos_token=decoder_lang_tok_idx,
fairseq/tasks/semisupervised_translation.py:317
Methodbackward
(ctx, grad)
fairseq/modules/grad_multiply.py:17
Methodbackward
(ctx, grad_output)
fairseq/modules/logsumexp_moe.py:23
Methodbackward
Computes the sum of gradients of the given tensor w.r.t. graph leaves.
fairseq/optim/fairseq_optimizer.py:73
Functionbase_architecture
(args)
fairseq/models/transformer_from_pretrained_xlm.py:154
Functionbatch_by_size
Yield mini-batches of indices bucketed by size. Batches may contain sequences of different lengths. Args: indices (List[int]): o
fairseq/data/data_utils.py:180
Methodbatch_for_softmax
(dec_out, target)
fairseq/sequence_scorer.py:25
Functionbert_large_architecture
(args)
fairseq/models/masked_lm.py:326
Functionbinarize
(args, filename, vocab, output_prefix, lang, offset, end, append_eos=True)
fairseq_cli/preprocess.py:234
Methodbinarize
(s, append_bos=False)
examples/roberta/commonsense_qa/commonsense_qa_task.py:76
Methodbinarize
(s: str, append_eos: bool = False)
examples/roberta/wsc/wsc_task.py:87
Methodbinarize_with_mask
(txt)
examples/roberta/wsc/wsc_task.py:129
← previousnext →1,101–1,200 of 2,038, ranked by callers