MCPcopy Create free account

hub / github.com/FLC777/GLAT / functions

Functions3,098 in github.com/FLC777/GLAT

Methodinitialize_output_tokens
(self, *inputs)
fairseq/models/nat/nonautoregressive_ensembles.py:60
Methodinitialize_output_tokens
(self, encoder_outs, src_tokens)
fairseq/models/nat/nonautoregressive_ensembles.py:251
Methodinitialize_output_tokens
(self, encoder_out, src_tokens)
fairseq/models/nat/nonautoregressive_transformer.py:153
Methodinitialize_output_tokens
(self, encoder_out, src_tokens)
glat_plugins/models/glat_ctc.py:144
Methodinput_channels
The number of channels in the input audio
fairseq/data/audio/speech_to_text_dataset.py:86
Methodinput_feat_per_channel
The dimension of input features (per audio channel)
fairseq/data/audio/speech_to_text_dataset.py:81
Methodis_a_loop
(x, y, s, a)
fairseq/iterative_refinement_generator.py:165
Functionis_beginning_of_word
(i)
fairseq/data/encoders/utils.py:14
Methodis_beginning_of_word
(self, x: str)
fairseq/data/encoders/hf_bert_bpe.py:49
Methodis_beginning_of_word
(self, x: str)
fairseq/data/encoders/sentencepiece_bpe.py:40
Methodis_beginning_of_word
(self, x: str)
fairseq/data/encoders/hf_byte_bpe.py:49
Methodis_beginning_of_word
(i)
fairseq/tasks/multilingual_masked_lm.py:122
Methodis_consistent
(tensor)
fairseq/trainer.py:1112
Methodis_data_parallel_master
(self)
fairseq/trainer.py:162
Methodis_root
(self)
fairseq/token_generation_constraints.py:254
Methodis_root
(self)
fairseq/token_generation_constraints.py:420
Functionitem
(tensor)
fairseq/utils.py:291
Methoditerations_in_epoch
The number of consumed batches in the current epoch.
fairseq/data/iterators.py:133
Methoditerations_in_epoch
(self)
fairseq/data/iterators.py:213
Methoditerations_in_epoch
The number of consumed batches in the current epoch.
fairseq/data/iterators.py:403
Methodlabel_dictionary
(self)
fairseq/tasks/sentence_prediction.py:278
Methodlambda_step_func
Update a lambda value according to its schedule configuration.
fairseq/tasks/semisupervised_translation.py:458
Methodlanguage_pair_dataset
(lang_pair)
fairseq/tasks/multilingual_translation.py:215
Methodlanguage_pair_dataset
(lang_pair)
fairseq/tasks/semisupervised_translation.py:316
Functionlengths_to_mask
(lens: torch.LongTensor)
fairseq/data/data_utils.py:527
Functionlightconv_backward
fairseq/modules/lightconv_layer/lightconv_cuda.cpp:38
Functionlightconv_forward
fairseq/modules/lightconv_layer/lightconv_cuda.cpp:27
Functionlightconv_iwslt_de_en
(args)
fairseq/models/lightconv.py:971
Functionlightconv_lm_gbw
(args)
fairseq/models/lightconv_lm.py:300
Functionlightconv_wmt_en_de
(args)
fairseq/models/lightconv.py:989
Functionlightconv_wmt_en_fr_big
(args)
fairseq/models/lightconv.py:1008
Functionlightconv_wmt_zh_en_big
(args)
fairseq/models/lightconv.py:1014
Methodload
Loads centroids and assignments from a given path Args: - path: folder use to load centroids and assignments
fairseq/modules/quantization/pq/em.py:191
Functionload_align_dict
(replace_unk)
fairseq/utils.py:146
Functionload_archive_file
(archive_file)
fairseq/file_utils.py:54
Functionload_checkpoint
Load a checkpoint and restore the training iterator. *passthrough_args* will be passed through to ``trainer.get_train_iterator``.
fairseq/checkpoint_utils.py:138
Methodload_checkpoint
( self, filename, reset_optimizer=False, reset_lr_scheduler=False, opt
fairseq/model_parallel/megatron_trainer.py:59
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/benchmark/dummy_masked_lm.py:61
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/benchmark/dummy_mt.py:50
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/benchmark/dummy_lm.py:52
Methodload_dataset
( self, split, training, epoch=0, combine=False, shard_epoch=None, **kwargs )
fairseq/data/multilingual/multilingual_data_manager.py:1121
Methodload_dataset
(self, split, epoch=1, combine=False, **kwargs)
fairseq/tasks/speech_to_text.py:80
Methodload_dataset
Load a dataset split.
fairseq/tasks/multilingual_translation.py:209
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/translation_multi_simple_epoch.py:135
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/denoising.py:156
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/legacy_masked_lm.py:85
Methodload_dataset
Load a given dataset split (e.g., train, valid, test).
fairseq/tasks/sentence_prediction.py:134
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test) combine (bool): combines
fairseq/tasks/fairseq_task.py:136
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/translation.py:318
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/multilingual_masked_lm.py:151
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/language_modeling.py:187
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/multilingual_denoising.py:101
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/translation_from_pretrained_bart.py:60
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/cross_lingual_lm.py:154
Methodload_dataset
Load a dataset split.
fairseq/tasks/semisupervised_translation.py:148
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
fairseq/tasks/translation_lev.py:36
Methodload_dataset
(self, split: str, task_cfg: FairseqDataclass = None, **kwargs)
fairseq/tasks/audio_pretraining.py:124
Methodload_dataset
Load a given dataset split (e.g., train, valid, test).
fairseq/tasks/sentence_ranking.py:103
Methodload_dataset
Load a given dataset split. Args: split (str): name of the split (e.g., train, valid, test)
glat_plugins/tasks/translation_lev_modified.py:53
Methodload_dictionary
Load the masked LM dictionary from the filename Args: filename (str): the filename
fairseq/tasks/translation_from_pretrained_xlm.py:33
Methodload_dictionary
(cls, filename)
fairseq/tasks/legacy_masked_lm.py:56
Methodload_dictionary
(cls, filename)
fairseq/tasks/cross_lingual_lm.py:80
Methodload_dictionary_and_postproc
(path)
fairseq/data/multilingual/multilingual_data_manager.py:365
Methodload_dicts
(langs_to_load_dicts)
fairseq/data/multilingual/multilingual_data_manager.py:408
Functionload_embedding
(embed_dict, vocab, embedding)
fairseq/utils.py:192
Functionload_ensemble_for_inference
(filenames, task, model_arg_overrides=None)
fairseq/utils.py:68
Functionload_model_ensemble
Loads an ensemble of models. Args: filenames (List[str]): checkpoint files to load arg_overrides (Dict[str,Any], optional): overr
fairseq/checkpoint_utils.py:277
Functionload_pretrained_component_from_model
Load a pretrained FairseqEncoder or FairseqDecoder from checkpoint into the provided `component` object. If state_dict fails to load, there m
fairseq/checkpoint_utils.py:661
Methodload_pretrained_embedding_from_file
(embed_path, dictionary, embed_dim)
fairseq/models/lstm_lm.py:72
Methodload_pretrained_embedding_from_file
(embed_path, dictionary, embed_dim)
fairseq/models/lstm.py:101
Methodload_split_langpair_datasets
(self, split, data_param_list)
fairseq/data/multilingual/multilingual_data_manager.py:828
Functionload_state_dict
(state_dict)
fairseq/logging/metrics.py:285
Methodload_state_dict
(self, state_dict)
fairseq/quantization_utils.py:137
Methodload_state_dict
Copies parameters and buffers from *state_dict* into this module and its descendants. Overrides the method in :class:`nn.Module`. Com
fairseq/model_parallel/models/pipeline_parallel_transformer/model.py:365
Methodload_state_dict
(self, state_dict)
fairseq/logging/meters.py:94
Methodload_state_dict
(self, state_dict)
fairseq/logging/meters.py:141
Methodload_state_dict
(self, state_dict)
fairseq/logging/meters.py:197
Methodload_state_dict
(self, state_dict)
fairseq/logging/meters.py:251
Methodload_state_dict
(self, *args, **kwargs)
fairseq/distributed/distributed_timeout_wrapper.py:73
Methodload_state_dict
Forward to the twice-wrapped module.
fairseq/distributed/module_proxy_wrapper.py:50
Methodload_state_dict
Load an LR scheduler state dict.
fairseq/optim/composite.py:107
Methodload_state_dict
Load an optimizer state dict. In general we should prefer the configuration of the existing optimizer instance (e.g., learning rate)
fairseq/optim/fairseq_optimizer.py:78
Methodload_state_dict
Load an optimizer state dict. In general we should prefer the configuration of the existing optimizer instance (e.g., learning rate)
fairseq/optim/fp16_optimizer.py:343
Methodload_state_dict
Load an LR scheduler state dict.
fairseq/optim/lr_scheduler/reduce_lr_on_plateau.py:114
Methodload_state_dict
(self, state_dict)
fairseq/optim/lr_scheduler/pass_through.py:30
Methodload_state_dict
(self, state_dict)
fairseq/optim/lr_scheduler/manual_lr_scheduler.py:78
Methodload_state_dict
Load an LR scheduler state dict.
fairseq/optim/lr_scheduler/fairseq_lr_scheduler.py:32
Methodload_state_dict
(self, state_dict)
fairseq/optim/lr_scheduler/fixed_schedule.py:47
Methodload_state_dict
Copies the state of the iterator from the given *state_dict*.
fairseq/data/iterators.py:141
Methodload_state_dict
(self, state_dict)
fairseq/data/iterators.py:223
Methodload_state_dict
Copies the state of the iterator from the given *state_dict*.
fairseq/data/iterators.py:426
Methodload_state_dict
(self, state_dict: Dict[str, Any])
fairseq/tasks/fairseq_task.py:563
Methodload_state_dict
Copies parameters and buffers from *state_dict* into this module and its descendants. Overrides the method in :class:`nn.Module`. Com
fairseq/models/fairseq_model.py:434
Methodload_state_dict
(self, state_dict, strict=True, model_cfg=None)
fairseq/models/multilingual_transformer.py:197
Methodload_target_dictionary
(self)
fairseq/tasks/audio_pretraining.py:118
Methodlog
Log intermediate stats according to log_interval.
fairseq/logging/progress_bar.py:190
Methodlog
Log intermediate stats according to log_interval.
fairseq/logging/progress_bar.py:236
Methodlog
Log intermediate stats according to log_interval.
fairseq/logging/progress_bar.py:260
Methodlog
Log intermediate stats according to log_interval.
fairseq/logging/progress_bar.py:297
Methodlog
Log intermediate stats to tensorboard.
fairseq/logging/progress_bar.py:350
← previousnext →2,301–2,400 of 3,098, ranked by callers