MCPcopy Create free account

hub / github.com/ImKeTT/AdaVAE / functions

Functions280 in github.com/ImKeTT/AdaVAE

Methodforward
(self, x, z, layer_past=None, attention_mask=None, head_mask=N
src/adapters/vae.py:279
Methodforward
(self, hidden_states: torch.Tensor, adapter_res:bool=True, residual: torch.Tensor=None, adapte
src/adapters/vae.py:393
Methodforward
(self, hidden_states: torch.Tensor, adapter_res:bool=True, residual: torch.Tensor=None, adapt
src/adapters/vae.py:452
Methodforward
(self, x, z=None, layer_past=None, attention_mask=None, head_m
src/adapters/vae.py:573
Methodforward
(self, x, z, layer_past=None, attention_mask=None, head_mask=None)
src/adapters/vae.py:655
Methodforward
( self, x, layer_past=None, attention_mask=None, head_mask=None, encoder_hidden_states=None,
src/adapters/vae.py:694
Methodforward
(self, x, z, layer_past=None, attention_mask=None, head_mask=N
src/adapters/vae.py:776
Methodforward
( self, input_ids=None, past=None, attention_mask=None,
src/adapters/vae.py:899
Methodforward
( self, input_ids=None, past=None, attention_mask=None,
src/adapters/vae.py:1113
Methodforward
(self, z)
src/adapters/vae.py:1291
Methodforward
(self, inputs)
src/adapters/vae.py:1314
Methodforward
( self, input_ids=None, past=None, attention_mask=None, token_type_ids
src/adapters/vae.py:1376
Methodforward
( self, input_ids=None, past=None, attention_mask=None, token_type_ids
src/adapters/vae.py:1605
Methodforward
(self, x: torch.Tensor)
src/adapters/common.py:159
Methodforward
(self, x)
src/adapters/common.py:213
Methodforward
(self, x, add_residual=True, residual=None)
src/adapters/common.py:259
Methodforward
(self, bsz, nsamples=1, device="cuda")
src/adapters/common.py:320
Methodforward
(self, bsz, nsamples=1, device="gpu")
src/adapters/common.py:395
Methodforward
(self, bsz, nsamples=1, device="cuda")
src/adapters/common.py:473
Methodforward
(self, x)
src/adapters/common.py:509
Methodforward
(self, x)
src/adapters/common.py:525
Methodforward
(self, input_ids=None, labels=None, past=None,
low_nlu/latent_classifier.py:30
Functionfrange_cycle_linear
(n_iter, start=0.0, stop=1.0, n_cycle=4, ratio=0.5)
src/utils.py:217
Functionfreeze_all_parameters
(model)
src/utils.py:162
Functionfreeze_all_parameters
(model: nn.Module)
src/adapters/common.py:34
Methodfrom_file
(file_path: str, x_label: str = 'text', y_label: str = 'label')
src/data.py:30
Methodfrom_file
(file_path: str)
src/data.py:65
Methodfrom_file
(file_path: str, dataset: str)
src/data.py:127
Methodfrom_file
(file_path: str)
src/data.py:161
Methodget_dev_examples
Gets a collection of `InputExample`s for the dev set.
low_nlu/utils_glue.py:74
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:104
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:136
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:164
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:179
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:222
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:272
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:316
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:383
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:416
Methodget_dev_examples
See base class.
low_nlu/utils_glue.py:448
Methodget_labels
Gets the list of labels for this data set.
low_nlu/utils_glue.py:78
Methodget_labels
See base class.
low_nlu/utils_glue.py:109
Methodget_labels
See base class.
low_nlu/utils_glue.py:142
Methodget_labels
See base class.
low_nlu/utils_glue.py:184
Methodget_labels
See base class.
low_nlu/utils_glue.py:227
Methodget_labels
See base class.
low_nlu/utils_glue.py:277
Methodget_labels
See base class.
low_nlu/utils_glue.py:321
Methodget_labels
See base class.
low_nlu/utils_glue.py:353
Methodget_labels
See base class.
low_nlu/utils_glue.py:389
Methodget_labels
See base class.
low_nlu/utils_glue.py:421
Methodget_labels
See base class.
low_nlu/utils_glue.py:453
Methodget_train_examples
Gets a collection of `InputExample`s for the train set.
low_nlu/utils_glue.py:70
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:98
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:131
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:174
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:217
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:267
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:311
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:378
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:411
Methodget_train_examples
See base class.
low_nlu/utils_glue.py:443
Functioninit_bert_weights
Initialize the weights.
src/adapters/common.py:57
Functioninit_bias_mlp
(module)
src/adapters/common.py:50
Functioninit_lisa_params
(module)
src/adapters/common.py:39
Functioninit_zero_weights
(module)
src/adapters/common.py:68
Methodkl_loss_v1
(self, mean1, logvar1, mean2, logvar2)
src/adapters/vae.py:1526
Functionlog_Bernoulli
(x, mean, average=False, dim=None)
src/adapters/common.py:551
Functionlog_Logistic_256
(x, mean, logvar, average=False, reduce=True, dim=None)
src/adapters/common.py:565
Functionlog_Normal_standard
(x, average=False, dim=None)
src/adapters/common.py:544
FunctionlogisticCDF
(x, u, s)
src/adapters/common.py:559
Functionprepare_dataset
(data_dir, dataset_name, tokenizer, train_bsz, train_seq_len, val_bsz, val_seq_len, test_bsz=1,
src/data.py:195
Functionprocess_csv
(path)
src/preprocesser.py:15
Functionprocess_imdb
(mode)
src/preprocesser.py:29
Functionsafe_log
(z)
src/utils.py:35
Methodsample_sequence_conditional_batch_soft
(self, past, context)
controlgen/ctrl_gen.py:314
Methodsample_sequence_conditional_batch_soft
(self, past, context)
controlgen/ctrl_gen.py:699
Functionset_trainable
(module, value)
dialogue/spacefusion.py:18
Functionsigmoid
(x)
src/adapters/common.py:562
Functiontest
(args)
src/test.py:520
Functiontrain
(args)
metrics/cls_ft.py:129
← previous201–280 of 280, ranked by callers