Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FLC777/GLAT
/ functions
Functions
3,098 in github.com/FLC777/GLAT
⨍
Functions
3,098
◇
Types & classes
478
↳
Endpoints
1
Method
log
Log intermediate stats to tensorboard.
fairseq/logging/progress_bar.py:403
Method
log
Log intermediate stats to AzureML
fairseq/logging/progress_bar.py:458
Function
log_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
Function
log_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
Function
log_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
Function
log_softmax
(x, dim: int, onnx_trace: bool = False)
fairseq/utils.py:475
Function
log_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
Function
log_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
Function
log_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
logging_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
Method
lr_scheduler
(self)
fairseq/trainer.py:212
Method
lr_scheduler
(self)
fairseq/optim/fp16_optimizer.py:309
Method
lr_scheduler
(self)
fairseq/optim/fp16_optimizer.py:524
Function
lstm_luong_wmt_en_de
(args)
fairseq/models/lstm.py:745
Function
lstm_wiseman_iwslt_de_en
(args)
fairseq/models/lstm.py:732
Function
main
(cfg: DictConfig, override_args=None)
fairseq_cli/validate.py:29
Function
main
(cfg: FairseqConfig)
fairseq_cli/interactive.py:108
Function
main
(cfg: DictConfig, **unused_kwargs)
fairseq_cli/eval_lm.py:236
Method
make_aggregator
()
fairseq/models/wav2vec/wav2vec.py:241
Function
make_builder
(out_file, impl, vocab_size=None)
fairseq/data/indexed_dataset.py:59
Method
make_conv
()
fairseq/models/wav2vec/wav2vec2.py:647
Method
make_dataset
(key, dictionary)
fairseq/tasks/sentence_prediction.py:140
Method
make_generation_fast_
(self, need_attn: bool = False, **kwargs)
fairseq/modules/transformer_layer.py:415
Method
make_generation_fast_
( self, name: str, retain_dropout: bool = False, retain_dropout_modules: Optio
fairseq/modules/fairseq_dropout.py:29
Method
make_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/model_parallel/models/pipeline_parallel_transformer/layers.py:584
Method
make_generation_fast_
Replace torch.bmm with BeamableMM.
fairseq/models/fconv.py:373
Method
make_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/fconv.py:601
Method
make_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/lightconv.py:876
Method
make_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/fconv_self_att.py:543
Method
make_generation_fast_
(self, need_attn=False, **kwargs)
fairseq/models/lstm.py:662
Function
make_positions
Replace non-padding symbols with their position numbers. Position numbers begin at padding_idx+1. Padding symbols are ignored.
fairseq/utils.py:238
Function
make_ratio_sampling
(ratios)
fairseq/data/multilingual/sampling_method.py:29
Method
max_decoder_positions
Maximum length supported by the decoder.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:361
Method
max_decoder_positions
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py:343
Method
max_decoder_positions
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py:419
Method
max_decoder_positions
Maximum length supported by the decoder.
fairseq/models/fairseq_model.py:510
Method
max_decoder_positions
(self)
fairseq/models/nat/nonautoregressive_ensembles.py:47
Method
max_positions
Maximum length supported by the model.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:326
Method
max_positions
Maximum input length supported by the encoder.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:580
Method
max_positions
Maximum output length supported by the decoder.
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:698
Method
max_positions
(self)
fairseq/benchmark/dummy_model.py:83
Method
max_positions
(self)
fairseq/tasks/speech_to_text.py:104
Method
max_positions
Return the max sentence length allowed by the task.
fairseq/tasks/multilingual_translation.py:441
Method
max_positions
Return the max sentence length allowed by the task.
fairseq/tasks/translation_multi_simple_epoch.py:262
Method
max_positions
Return the max sentence length allowed by the task.
fairseq/tasks/denoising.py:262
Method
max_positions
Return the max input length allowed by the task.
fairseq/tasks/fairseq_task.py:567
Method
max_positions
Return the max sentence length allowed by the task.
fairseq/tasks/translation.py:435
Method
max_positions
Maximum input length supported by the encoder.
fairseq/tasks/audio_pretraining.py:177
Method
max_positions
(self)
fairseq/tasks/sentence_ranking.py:210
Method
max_positions
Maximum input length supported by the decoder.
fairseq/models/fairseq_decoder.py:96
Method
max_positions
Maximum input length supported by the encoder.
fairseq/models/fconv.py:320
Method
max_positions
Maximum output length supported by the decoder.
fairseq/models/fconv.py:583
Method
max_positions
Maximum input length supported by the encoder.
fairseq/models/lightconv.py:418
Method
max_positions
Maximum output length supported by the decoder.
fairseq/models/lightconv.py:592
Method
max_positions
Maximum input length supported by the encoder.
fairseq/models/fconv_self_att.py:308
Method
max_positions
Maximum output length supported by the decoder.
fairseq/models/fconv_self_att.py:539
Method
max_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:339
Method
max_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:409
Method
max_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:506
Method
max_positions
Maximum length supported by the model.
fairseq/models/fairseq_model.py:557
Method
max_positions
(self)
fairseq/models/masked_lm.py:152
Method
max_positions
Maximum output length supported by the encoder.
fairseq/models/masked_lm.py:291
Method
max_positions
Maximum input length supported by the encoder.
fairseq/models/fairseq_encoder.py:77
Method
max_positions
Maximum input length supported by the encoder.
fairseq/models/transformer.py:572
Method
max_positions
Maximum output length supported by the decoder.
fairseq/models/transformer.py:920
Method
max_positions
(self)
fairseq/models/composite_encoder.py:51
Method
max_positions
Maximum output length supported by the decoder.
fairseq/models/lstm.py:658
Method
max_positions
(self)
fairseq/models/huggingface/hf_gpt2.py:130
Method
max_positions
Maximum input length supported by the encoder.
fairseq/models/wav2vec/wav2vec2_asr.py:380
Method
max_positions
Maximum output length supported by the decoder.
fairseq/models/wav2vec/wav2vec2_asr.py:571
Method
max_positions
Maximum output length supported by the encoder.
fairseq/models/wav2vec/wav2vec2.py:788
Method
max_positions
Maximum length supported by the model.
fairseq/models/wav2vec/wav2vec.py:324
Method
maybe_no_sync
Whenever *samples* contains more than one mini-batch, we want to accumulate gradients locally and only call
fairseq/trainer.py:538
Method
maybe_no_sync
()
fairseq/tasks/multilingual_translation.py:347
Function
mbart_base_wmt20_architecture
(args)
fairseq/models/bart/model.py:382
Function
mbart_large_architecture
(args)
fairseq/models/bart/model.py:370
Method
mean_ds
(x: Tensor, dim=None)
fairseq/criterions/nat_loss.py:44
Method
mean_ds
(x: Tensor, dim=None)
glat_plugins/criterions/ctc_loss.py:49
Method
mean_ds
(x: Tensor, dim=None)
glat_plugins/criterions/glat_loss.py:47
Method
merge_file_
(self, another_file)
fairseq/data/indexed_dataset.py:560
Method
merge_result
(counter)
fairseq/data/dictionary.py:351
Function
model_eval
(model)
fairseq/utils.py:533
Function
model_parallel_roberta_base_architecture
(args)
fairseq/model_parallel/models/roberta/model.py:215
Function
model_parallel_roberta_large_architecture
(args)
fairseq/model_parallel/models/roberta/model.py:220
Function
model_parallel_roberta_postnorm_architecture
(args)
fairseq/model_parallel/models/roberta/model.py:209
← previous
next →
2,401–2,500 of 3,098, ranked by callers