MCPcopy Create free account

hub / github.com/FLC777/GLAT / functions

Functions3,098 in github.com/FLC777/GLAT

Methodordered_indices
(self)
fairseq/data/transform_eos_dataset.py:110
Methodordered_indices
Just use the tgt dataset ordered_indices
fairseq/data/backtranslation_dataset.py:145
Methodordered_indices
(self)
fairseq/data/multilingual/sampled_multi_dataset.py:351
Methodordered_indices
Return an ordered list of indices. Batches will be constructed based on this order.
fairseq/data/legacy/masked_lm_dataset.py:286
Methodordered_indices
(self)
fairseq/data/audio/speech_to_text_dataset.py:389
Methodordered_indices
Return an ordered list of indices. Batches will be constructed based on this order.
fairseq/data/audio/raw_audio_dataset.py:118
Methodoutput_layer
Project features to the vocabulary size.
fairseq/model_parallel/models/transformer.py:107
Methodoutput_layer
Project features to the default output size (typically vocabulary size).
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:322
Methodoutput_layer
Project features to the default output size (typically vocabulary size).
fairseq/models/fairseq_model.py:335
Methodoutput_layout
(self)
fairseq/models/speech_to_text/convtransformer.py:210
Methodpadding_idx
(self)
fairseq/modules/character_token_embedder.py:94
Methodparam_groups
(self)
fairseq/optim/composite.py:89
Methodparam_groups
(self)
fairseq/optim/fairseq_optimizer.py:59
Methodparams
Return an iterable of the parameters held by the optimizer.
fairseq/optim/fairseq_optimizer.py:52
Functionparse_alignment
Parses a single line from the alingment file. Args: line (str): String containing the alignment of the format: <src_idx_
fairseq/utils.py:583
Functionparse_args_and_arch
Args: parser (ArgumentParser): the parser input_args (List[str]): strings to parse, defaults to sys.argv parse_known (boo
fairseq/options.py:77
Functionparse_config_yaml
(yaml_data)
fairseq/modules/quantization/quantization_options.py:7
Functionparse_embedding
Parse embedding text file into a dictionary of word and embedding tensors. The first line can have vocabulary size and dimension. The following l
fairseq/utils.py:170
Methodparse_regression_target
(i, line)
fairseq/tasks/sentence_prediction.py:218
Methodplasma
(self)
fairseq/data/plasma_utils.py:32
Methodpooling_ratio
(self)
fairseq/models/speech_to_text/convtransformer.py:273
Functionpost_process_prediction
( hypo_tokens, src_str, alignment, align_dict, tgt_dict, remove_bpe=None, extra_sy
fairseq/utils.py:215
Methodpre_tokenizer
Pre-tokenizer to apply before subword tokenization. Returning a dictionary with `tokenizer` providing the tokenizer name and the other
fairseq/data/audio/speech_to_text_dataset.py:58
Methodpredict
(self, head: str, tokens: torch.LongTensor, return_logits: bool = False)
fairseq/models/roberta/hub_interface.py:112
Methodpredict
(self, head: str, tokens: torch.LongTensor, return_logits: bool = False)
fairseq/models/bart/hub_interface.py:158
Methodprefetch
(self, indices)
fairseq/data/subsample_dataset.py:71
Methodprefetch
Prefetch the data required for this epoch.
fairseq/data/nested_dictionary_dataset.py:112
Methodprefetch
(self, indices)
fairseq/data/language_pair_dataset.py:449
Methodprefetch
Prefetch the data required for this epoch.
fairseq/data/fairseq_dataset.py:83
Methodprefetch
(self, indices)
fairseq/data/round_robin_zip_datasets.py:158
Methodprefetch
(self, indices)
fairseq/data/concat_sentences_dataset.py:45
Methodprefetch
(self, indices)
fairseq/data/resampling_dataset.py:106
Methodprefetch
(self, indices)
fairseq/data/monolingual_dataset.py:229
Methodprefetch
(self, indices)
fairseq/data/token_block_dataset.py:167
Methodprefetch
(self, indices)
fairseq/data/base_wrapper_dataset.py:48
Methodprefetch
(self, indices)
fairseq/data/denoising_dataset.py:425
Methodprefetch
(self, indices)
fairseq/data/concat_dataset.py:108
Methodprefetch
(self, indices)
fairseq/data/indexed_dataset.py:218
Methodprefetch
(self, indices)
fairseq/data/multi_corpus_sampled_dataset.py:141
Methodprefetch
(self, indices)
fairseq/data/lm_context_window_dataset.py:96
Methodprefetch
(self, indices)
fairseq/data/transform_eos_lang_pair_dataset.py:107
Methodprefetch
(self, indices)
fairseq/data/transform_eos_dataset.py:119
Methodprefetch
(self, indices)
fairseq/data/backtranslation_dataset.py:164
Methodprefetch
(self, indices)
fairseq/data/multilingual/sampled_multi_dataset.py:369
Methodprefetch
(self, indices)
fairseq/data/legacy/masked_lm_dataset.py:302
Methodprefetch
(self, indices)
fairseq/data/legacy/block_pair_dataset.py:303
Methodprefetch
(self, indices)
fairseq/data/audio/speech_to_text_dataset.py:398
Methodprepare
(cls, load_dictionary, args, **kargs)
fairseq/data/multilingual/multilingual_data_manager.py:321
Methodprepare_for_inference_
(self, cfg)
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:141
Methodprepare_for_onnx_export_
(self)
fairseq/modules/sinusoidal_positional_embedding.py:32
Methodprepare_for_onnx_export_
(self)
fairseq/modules/lightweight_convolution.py:205
Methodprepare_for_onnx_export_
(self)
fairseq/modules/transformer_layer.py:273
Methodprepare_for_onnx_export_
(self)
fairseq/modules/character_token_embedder.py:64
Methodprepare_for_onnx_export_
(self)
fairseq/modules/multihead_attention.py:91
Methodprepare_for_onnx_export_
(self)
fairseq/model_parallel/models/pipeline_parallel_transformer/layers.py:462
Methodprepare_for_onnx_export_
(self)
fairseq/models/fairseq_decoder.py:104
Methodprepend_tgt_lang_tag
Prepend target lang ID token as the target BOS (e.g. for to-many multilingual setting). During inference, this requires `--prefix-size 1`
fairseq/data/audio/speech_to_text_dataset.py:74
Methodpretrained
(self)
fairseq/models/fconv_self_att.py:169
Methodprint
Print end-of-epoch stats.
fairseq/logging/progress_bar.py:203
Methodprint
Print end-of-epoch stats.
fairseq/logging/progress_bar.py:240
Methodprint
Print end-of-epoch stats.
fairseq/logging/progress_bar.py:273
Methodprint
Print end-of-epoch stats.
fairseq/logging/progress_bar.py:301
Methodprint
Print end-of-epoch stats.
fairseq/logging/progress_bar.py:355
Methodprint
Print end-of-epoch stats.
fairseq/logging/progress_bar.py:408
Methodprint
Print end-of-epoch stats
fairseq/logging/progress_bar.py:463
Functionprint_embed_overlap
(embed_dict, vocab_dict)
fairseq/utils.py:163
Methodprint_graph
(node: "ConstraintNode")
fairseq/token_generation_constraints.py:154
Methodprune_sentences
(self, batch_idxs: Tensor)
fairseq/search.py:248
Methodquantize
(self, x)
fairseq/models/wav2vec/wav2vec2.py:584
Methodquantize_hook
(module, x, y)
fairseq/modules/quantization/scalar/modules/qact.py:57
Functionquantize_model_
Quantize a model in-place by stages. All the targeted layers are replaced by their quantized counterpart, and the model is ready for the
fairseq/modules/quantization/pq/utils.py:18
Functionquantize_model_
Replaces all modules with their scalar quantized counterpart and registers hooks to quantize the post-ativations of those modules. Args:
fairseq/modules/quantization/scalar/utils.py:19
Functionquantize_model_scalar
(model, model_cfg: DictConfig)
fairseq/quantization_utils.py:15
Methodratio
(a, b)
fairseq/scoring/bleu.py:138
Functionread_set_from_file
Extract a de-duped collection (set) of text from a file. Expected file format is one item per line.
fairseq/file_utils.py:338
Methodrebuild_batch
(finalized)
fairseq/iterative_refinement_generator.py:314
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/adaptive_loss.py:93
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/legacy_masked_lm.py:136
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/sentence_prediction.py:71
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/cross_entropy.py:61
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/wav2vec_criterion.py:139
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py:88
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/masked_lm.py:72
Methodreduce_metrics
(logging_outputs)
fairseq/criterions/composite_loss.py:97
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/model_criterion.py:96
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/label_smoothed_cross_entropy.py:130
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/nat_loss.py:145
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/fairseq_criterion.py:84
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/criterions/sentence_ranking.py:92
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
fairseq/model_parallel/criterions/vocab_parallel_cross_entropy.py:59
Methodreduce_metrics
(self, logging_outputs, criterion)
fairseq/tasks/multilingual_translation.py:420
Methodreduce_metrics
(self, logging_outputs, criterion)
fairseq/tasks/translation_multi_simple_epoch.py:259
Methodreduce_metrics
(self, logging_outputs, criterion)
fairseq/tasks/translation.py:392
Methodreduce_metrics
(self, logging_outputs, criterion)
fairseq/tasks/audio_pretraining.py:250
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
glat_plugins/criterions/ctc_loss.py:204
Methodreduce_metrics
Aggregate logging outputs from data parallel training.
glat_plugins/criterions/glat_loss.py:158
Methodreduction_fn
()
fairseq/distributed/legacy_distributed_data_parallel.py:122
Methodregenerate_length_beam
(self, decoder_out, beam_size)
glat_plugins/models/glat_ctc.py:160
Functionregister_audio_feature_transform
(name)
fairseq/data/audio/feature_transforms/__init__.py:18
Functionregister_audio_feature_transform_cls
(cls)
fairseq/data/audio/feature_transforms/__init__.py:19
← previousnext →2,601–2,700 of 3,098, ranked by callers