Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImKeTT/AdaVAE
/ functions
Functions
280 in github.com/ImKeTT/AdaVAE
⨍
Functions
280
◇
Types & classes
57
Method
forward
(self, x, z, layer_past=None, attention_mask=None, head_mask=N
src/adapters/vae.py:279
Method
forward
(self, hidden_states: torch.Tensor, adapter_res:bool=True, residual: torch.Tensor=None, adapte
src/adapters/vae.py:393
Method
forward
(self, hidden_states: torch.Tensor, adapter_res:bool=True, residual: torch.Tensor=None, adapt
src/adapters/vae.py:452
Method
forward
(self, x, z=None, layer_past=None, attention_mask=None, head_m
src/adapters/vae.py:573
Method
forward
(self, x, z, layer_past=None, attention_mask=None, head_mask=None)
src/adapters/vae.py:655
Method
forward
( self, x, layer_past=None, attention_mask=None, head_mask=None, encoder_hidden_states=None,
src/adapters/vae.py:694
Method
forward
(self, x, z, layer_past=None, attention_mask=None, head_mask=N
src/adapters/vae.py:776
Method
forward
( self, input_ids=None, past=None, attention_mask=None,
src/adapters/vae.py:899
Method
forward
( self, input_ids=None, past=None, attention_mask=None,
src/adapters/vae.py:1113
Method
forward
(self, z)
src/adapters/vae.py:1291
Method
forward
(self, inputs)
src/adapters/vae.py:1314
Method
forward
( self, input_ids=None, past=None, attention_mask=None, token_type_ids
src/adapters/vae.py:1376
Method
forward
( self, input_ids=None, past=None, attention_mask=None, token_type_ids
src/adapters/vae.py:1605
Method
forward
(self, x: torch.Tensor)
src/adapters/common.py:159
Method
forward
(self, x)
src/adapters/common.py:213
Method
forward
(self, x, add_residual=True, residual=None)
src/adapters/common.py:259
Method
forward
(self, bsz, nsamples=1, device="cuda")
src/adapters/common.py:320
Method
forward
(self, bsz, nsamples=1, device="gpu")
src/adapters/common.py:395
Method
forward
(self, bsz, nsamples=1, device="cuda")
src/adapters/common.py:473
Method
forward
(self, x)
src/adapters/common.py:509
Method
forward
(self, x)
src/adapters/common.py:525
Method
forward
(self, input_ids=None, labels=None, past=None,
low_nlu/latent_classifier.py:30
Function
frange_cycle_linear
(n_iter, start=0.0, stop=1.0, n_cycle=4, ratio=0.5)
src/utils.py:217
Function
freeze_all_parameters
(model)
src/utils.py:162
Function
freeze_all_parameters
(model: nn.Module)
src/adapters/common.py:34
Method
from_file
(file_path: str, x_label: str = 'text', y_label: str = 'label')
src/data.py:30
Method
from_file
(file_path: str)
src/data.py:65
Method
from_file
(file_path: str, dataset: str)
src/data.py:127
Method
from_file
(file_path: str)
src/data.py:161
Method
get_dev_examples
Gets a collection of `InputExample`s for the dev set.
low_nlu/utils_glue.py:74
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:104
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:136
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:164
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:179
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:222
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:272
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:316
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:383
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:416
Method
get_dev_examples
See base class.
low_nlu/utils_glue.py:448
Method
get_labels
Gets the list of labels for this data set.
low_nlu/utils_glue.py:78
Method
get_labels
See base class.
low_nlu/utils_glue.py:109
Method
get_labels
See base class.
low_nlu/utils_glue.py:142
Method
get_labels
See base class.
low_nlu/utils_glue.py:184
Method
get_labels
See base class.
low_nlu/utils_glue.py:227
Method
get_labels
See base class.
low_nlu/utils_glue.py:277
Method
get_labels
See base class.
low_nlu/utils_glue.py:321
Method
get_labels
See base class.
low_nlu/utils_glue.py:353
Method
get_labels
See base class.
low_nlu/utils_glue.py:389
Method
get_labels
See base class.
low_nlu/utils_glue.py:421
Method
get_labels
See base class.
low_nlu/utils_glue.py:453
Method
get_train_examples
Gets a collection of `InputExample`s for the train set.
low_nlu/utils_glue.py:70
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:98
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:131
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:174
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:217
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:267
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:311
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:378
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:411
Method
get_train_examples
See base class.
low_nlu/utils_glue.py:443
Function
init_bert_weights
Initialize the weights.
src/adapters/common.py:57
Function
init_bias_mlp
(module)
src/adapters/common.py:50
Function
init_lisa_params
(module)
src/adapters/common.py:39
Function
init_zero_weights
(module)
src/adapters/common.py:68
Method
kl_loss_v1
(self, mean1, logvar1, mean2, logvar2)
src/adapters/vae.py:1526
Function
log_Bernoulli
(x, mean, average=False, dim=None)
src/adapters/common.py:551
Function
log_Logistic_256
(x, mean, logvar, average=False, reduce=True, dim=None)
src/adapters/common.py:565
Function
log_Normal_standard
(x, average=False, dim=None)
src/adapters/common.py:544
Function
logisticCDF
(x, u, s)
src/adapters/common.py:559
Function
prepare_dataset
(data_dir, dataset_name, tokenizer, train_bsz, train_seq_len, val_bsz, val_seq_len, test_bsz=1,
src/data.py:195
Function
process_csv
(path)
src/preprocesser.py:15
Function
process_imdb
(mode)
src/preprocesser.py:29
Function
safe_log
(z)
src/utils.py:35
Method
sample_sequence_conditional_batch_soft
(self, past, context)
controlgen/ctrl_gen.py:314
Method
sample_sequence_conditional_batch_soft
(self, past, context)
controlgen/ctrl_gen.py:699
Function
set_trainable
(module, value)
dialogue/spacefusion.py:18
Function
sigmoid
(x)
src/adapters/common.py:562
Function
test
(args)
src/test.py:520
Function
train
(args)
metrics/cls_ft.py:129
← previous
201–280 of 280, ranked by callers