MCPcopy Create free account

hub / github.com/FLC777/GLAT / functions

Functions3,098 in github.com/FLC777/GLAT

Methodlog
Log intermediate stats to tensorboard.
fairseq/logging/progress_bar.py:403
Methodlog
Log intermediate stats to AzureML
fairseq/logging/progress_bar.py:458
Functionlog_custom
Log using a custom Meter. Any extra *args* or *kwargs* will be passed through to the Meter's *update* method. Args: new_meter_fn
fairseq/logging/metrics.py:205
Functionlog_derived
Log a scalar value derived from other meters. Args: key (str): name of the field to log fn (Callable[[MetersDict], float]): funct
fairseq/logging/metrics.py:135
Functionlog_scalar
Log a scalar value. Args: key (str): name of the field to log value (float): value to log weight (float): weight that thi
fairseq/logging/metrics.py:112
Functionlog_softmax
(x, dim: int, onnx_trace: bool = False)
fairseq/utils.py:475
Functionlog_speed
Log the rate of some quantity per second. Args: key (str): name of the field to log value (float): value to log priority
fairseq/logging/metrics.py:149
Functionlog_start_time
Log the duration of some event in seconds. The duration will be computed once :func:`log_stop_time` is called. Args: key (str): name
fairseq/logging/metrics.py:171
Functionlog_stop_time
Log the duration of some event in seconds. The duration will be computed since :func:`log_start_time` was called. Set weight > 0 to report th
fairseq/logging/metrics.py:187
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/adaptive_loss.py:117
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/legacy_masked_lm.py:171
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/sentence_prediction.py:93
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/cross_entropy.py:84
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/wav2vec_criterion.py:192
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py:119
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/masked_lm.py:85
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/model_criterion.py:132
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/label_smoothed_cross_entropy.py:164
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/nat_loss.py:174
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/fairseq_criterion.py:97
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/criterions/sentence_ranking.py:114
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
fairseq/model_parallel/criterions/vocab_parallel_cross_entropy.py:81
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `train_step` and `valid_step` can be summed across workers prior to calling `aggregate_loggin
fairseq/tasks/fairseq_task.py:72
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
glat_plugins/criterions/ctc_loss.py:236
Methodlogging_outputs_can_be_summed
Whether the logging outputs returned by `forward` can be summed across workers prior to calling `reduce_metrics`. Setting this
glat_plugins/criterions/glat_loss.py:190
Methodlr_scheduler
(self)
fairseq/trainer.py:212
Methodlr_scheduler
(self)
fairseq/optim/fp16_optimizer.py:309
Methodlr_scheduler
(self)
fairseq/optim/fp16_optimizer.py:524
Functionlstm_luong_wmt_en_de
(args)
fairseq/models/lstm.py:745
Functionlstm_wiseman_iwslt_de_en
(args)
fairseq/models/lstm.py:732
Functionmain
(cfg: DictConfig, override_args=None)
fairseq_cli/validate.py:29
Functionmain
(cfg: FairseqConfig)
fairseq_cli/interactive.py:108
Functionmain
(cfg: DictConfig, **unused_kwargs)
fairseq_cli/eval_lm.py:236
Methodmake_aggregator
()
fairseq/models/wav2vec/wav2vec.py:241
Functionmake_builder
(out_file, impl, vocab_size=None)
fairseq/data/indexed_dataset.py:59
Methodmake_conv
()
fairseq/models/wav2vec/wav2vec2.py:647
Methodmake_dataset
(key, dictionary)
fairseq/tasks/sentence_prediction.py:140
Methodmake_generation_fast_
(self, need_attn: bool = False, **kwargs)
fairseq/modules/transformer_layer.py:415
Methodmake_generation_fast_
( self, name: str, retain_dropout: bool = False, retain_dropout_modules: Optio
fairseq/modules/fairseq_dropout.py:29
Methodmake_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/model_parallel/models/pipeline_parallel_transformer/layers.py:584
Methodmake_generation_fast_
Replace torch.bmm with BeamableMM.
fairseq/models/fconv.py:373
Methodmake_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/fconv.py:601
Methodmake_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/lightconv.py:876
Methodmake_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/fconv_self_att.py:543
Methodmake_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/lstm.py:662
Functionmake_positions
Replace non-padding symbols with their position numbers. Position numbers begin at padding_idx+1. Padding symbols are ignored.
fairseq/utils.py:238
Functionmake_ratio_sampling
(ratios)
fairseq/data/multilingual/sampling_method.py:29
Methodmax_decoder_positions
Maximum length supported by the decoder.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:361
Methodmax_decoder_positions
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py:343
Methodmax_decoder_positions
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py:419
Methodmax_decoder_positions
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py:510
Methodmax_decoder_positions
(self)
fairseq/models/nat/nonautoregressive_ensembles.py:47
Methodmax_positions
Maximum length supported by the model.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:326
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:580
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:698
Methodmax_positions
(self)
fairseq/benchmark/dummy_model.py:83
Methodmax_positions
(self)
fairseq/tasks/speech_to_text.py:104
Methodmax_positions
Return the max sentence length allowed by the task.
fairseq/tasks/multilingual_translation.py:441
Methodmax_positions
Return the max sentence length allowed by the task.
fairseq/tasks/translation_multi_simple_epoch.py:262
Methodmax_positions
Return the max sentence length allowed by the task.
fairseq/tasks/denoising.py:262
Methodmax_positions
Return the max input length allowed by the task.
fairseq/tasks/fairseq_task.py:567
Methodmax_positions
Return the max sentence length allowed by the task.
fairseq/tasks/translation.py:435
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/tasks/audio_pretraining.py:177
Methodmax_positions
(self)
fairseq/tasks/sentence_ranking.py:210
Methodmax_positions
Maximum input length supported by the decoder.
fairseq/models/fairseq_decoder.py:96
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/models/fconv.py:320
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/models/fconv.py:583
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/models/lightconv.py:418
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/models/lightconv.py:592
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/models/fconv_self_att.py:308
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/models/fconv_self_att.py:539
Methodmax_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:339
Methodmax_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:409
Methodmax_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:506
Methodmax_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:557
Methodmax_positions
(self)
fairseq/models/masked_lm.py:152
Methodmax_positions
Maximum output length supported by the encoder.
fairseq/models/masked_lm.py:291
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/models/fairseq_encoder.py:77
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/models/transformer.py:572
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/models/transformer.py:920
Methodmax_positions
(self)
fairseq/models/composite_encoder.py:51
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/models/lstm.py:658
Methodmax_positions
(self)
fairseq/models/huggingface/hf_gpt2.py:130
Methodmax_positions
Maximum input length supported by the encoder.
fairseq/models/wav2vec/wav2vec2_asr.py:380
Methodmax_positions
Maximum output length supported by the decoder.
fairseq/models/wav2vec/wav2vec2_asr.py:571
Methodmax_positions
Maximum output length supported by the encoder.
fairseq/models/wav2vec/wav2vec2.py:788
Methodmax_positions
Maximum length supported by the model.
fairseq/models/wav2vec/wav2vec.py:324
Methodmaybe_no_sync
Whenever *samples* contains more than one mini-batch, we want to accumulate gradients locally and only call
fairseq/trainer.py:538
Methodmaybe_no_sync
()
fairseq/tasks/multilingual_translation.py:347
Functionmbart_base_wmt20_architecture
(args)
fairseq/models/bart/model.py:382
Functionmbart_large_architecture
(args)
fairseq/models/bart/model.py:370
Methodmean_ds
(x: Tensor, dim=None)
fairseq/criterions/nat_loss.py:44
Methodmean_ds
(x: Tensor, dim=None)
glat_plugins/criterions/ctc_loss.py:49
Methodmean_ds
(x: Tensor, dim=None)
glat_plugins/criterions/glat_loss.py:47
Methodmerge_file_
(self, another_file)
fairseq/data/indexed_dataset.py:560
Methodmerge_result
(counter)
fairseq/data/dictionary.py:351
Functionmodel_eval
(model)
fairseq/utils.py:533
Functionmodel_parallel_roberta_base_architecture
(args)
fairseq/model_parallel/models/roberta/model.py:215
Functionmodel_parallel_roberta_large_architecture
(args)
fairseq/model_parallel/models/roberta/model.py:220
Functionmodel_parallel_roberta_postnorm_architecture
(args)
fairseq/model_parallel/models/roberta/model.py:209
← previousnext →2,401–2,500 of 3,098, ranked by callers