MCPcopy Create free account

hub / github.com/awslabs/gap-text2sql / functions

Functions889 in github.com/awslabs/gap-text2sql

Method__init__
(self, num_positions, embedding_dim, padding_idx=None)
relogic/pretrainkit/models/relationalsemparse/modeling_relational_bart.py:1001
Method__init__
Take in model size and number of heads.
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:141
Method__init__
(self, hidden_size, num_relation_kinds, dropout=0.2)
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:190
Method__init__
Take in model size and number of heads.
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:226
Method__init__
(self, size, dropout)
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:301
Method__init__
(self, size, self_attn, feed_forward, num_relation_kinds, dropout)
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:315
Method__init__
(self, d_model, d_ff, dropout=0.1)
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:338
Method__init__
(self, num_layers, num_heads, hidden_size, ff_size=None, dropout=0.1,
relogic/pretrainkit/models/relationalsemparse/relational_transformer.py:391
Method__init__
(self)
rat-sql-gap/seq2struct/ast_util.py:20
Method__init__
(self, optimizer)
rat-sql-gap/seq2struct/optimizers.py:82
Method__init__
(self, non_bert_params, bert_params, lr=1e-3, bert_lr=2e-5, **kwargs)
rat-sql-gap/seq2struct/optimizers.py:93
Method__init__
(self, path)
rat-sql-gap/seq2struct/utils/indexed_file.py:18
Method__init__
(self, path)
rat-sql-gap/seq2struct/utils/indexed_file.py:33
Method__init__
(self, **kwargs)
rat-sql-gap/seq2struct/utils/saver.py:18
Method__init__
(self, name)
rat-sql-gap/seq2struct/utils/vocab.py:12
Method__init__
(self, iterable, special_elems=(UNK, BOS, EOS))
rat-sql-gap/seq2struct/utils/vocab.py:34
Method__init__
(self, min_freq=None, max_count=None)
rat-sql-gap/seq2struct/utils/vocab.py:87
Method__init__
(self)
rat-sql-gap/seq2struct/utils/random_state.py:9
Method__init__
(self, seed=None)
rat-sql-gap/seq2struct/utils/random_state.py:28
Method__init__
(self, kind, lemmatize=False)
rat-sql-gap/seq2struct/resources/pretrained_embeddings.py:47
Method__init__
(self, dim, vocab_size, lang='en')
rat-sql-gap/seq2struct/resources/pretrained_embeddings.py:93
Method__init__
(self)
rat-sql-gap/seq2struct/resources/corenlp.py:8
Method__init__
(self, log_path=None, reopen_to_flush=False)
rat-sql-gap/seq2struct/commands/train.py:55
Method__init__
(self, logger, config)
rat-sql-gap/seq2struct/commands/train.py:77
Method__init__
(self, config)
rat-sql-gap/seq2struct/commands/infer.py:24
Method__init__
(self, config)
rat-sql-gap/seq2struct/commands/preprocess.py:14
Method__init__
(self, schemas, eval_foreign_key_maps, db_path)
rat-sql-gap/seq2struct/datasets/spider.py:179
Method__init__
(self, paths, tables_paths, db_path, limit=None)
rat-sql-gap/seq2struct/datasets/spider.py:192
Method__init__
(self, dataset)
rat-sql-gap/seq2struct/datasets/spider.py:217
Method__init__
(self, paths, tables_paths, db_path, limit=None)
rat-sql-gap/seq2struct/datasets/spider.py:259
Method__init__
(self, db_dir, kmaps, etype)
rat-sql-gap/seq2struct/datasets/spider_lib/evaluation.py:361
Method__init__
(self, schema)
rat-sql-gap/seq2struct/datasets/spider_lib/process_sql.py:52
Method__init__
(self, schema, table)
rat-sql-gap/seq2struct/datasets/spider_lib/preprocess/schema.py:8
Method__init__
(self, input_size, hidden_size, dropout=0.)
rat-sql-gap/seq2struct/models/variational_lstm.py:8
Method__init__
(self, query_size, key_size)
rat-sql-gap/seq2struct/models/attention.py:41
Method__init__
(self, query_size, value_size)
rat-sql-gap/seq2struct/models/attention.py:61
Method__init__
(self, query_size, key_size, proj_size)
rat-sql-gap/seq2struct/models/attention.py:67
Method__init__
(self, query_size, value_size, proj_size)
rat-sql-gap/seq2struct/models/attention.py:94
Method__init__
(self, h, query_size, value_size, dropout=0.1)
rat-sql-gap/seq2struct/models/attention.py:100
Method__init__
Take in model size and number of heads.
rat-sql-gap/seq2struct/models/transformer.py:130
Method__init__
(self, hidden_size, num_relation_kinds, dropout=0.2)
rat-sql-gap/seq2struct/models/transformer.py:179
Method__init__
Take in model size and number of heads.
rat-sql-gap/seq2struct/models/transformer.py:214
Method__init__
(self, size, dropout)
rat-sql-gap/seq2struct/models/transformer.py:287
Method__init__
(self, size, self_attn, feed_forward, num_relation_kinds, dropout)
rat-sql-gap/seq2struct/models/transformer.py:300
Method__init__
(self, d_model, d_ff, dropout=0.1)
rat-sql-gap/seq2struct/models/transformer.py:322
Method__init__
(self, *components)
rat-sql-gap/seq2struct/models/enc_dec.py:8
Method__init__
( self, encoder, decoder, encoder_preproc,
rat-sql-gap/seq2struct/models/enc_dec.py:25
Method__init__
( self, save_path, min_freq=3, max_count=5000, inc
rat-sql-gap/seq2struct/models/spider/spider_enc.py:133
Method__init__
( self, device, preproc, word_emb_size=128, recurr
rat-sql-gap/seq2struct/models/spider/spider_enc.py:277
Method__init__
( self, save_path, db_path, fix_issue_16_primary_keys=False,
rat-sql-gap/seq2struct/models/spider/spider_enc.py:640
Method__init__
( self, device, preproc, update_config={}, bert_to
rat-sql-gap/seq2struct/models/spider/spider_enc.py:755
Method__init__
(self, text, tokenizer)
rat-sql-gap/seq2struct/models/spider/spider_enc.py:1028
Method__init__
( self, save_path, db_path, fix_issue_16_primary_keys=False,
rat-sql-gap/seq2struct/models/spider/spider_enc.py:1168
Method__init__
( self, device, preproc, update_config={}, bart_version="fac
rat-sql-gap/seq2struct/models/spider/spider_enc.py:1282
Method__init__
(self, device, vocab, embedder, emb_size, learnable_words=[])
rat-sql-gap/seq2struct/models/spider/spider_enc_modules.py:40
Method__init__
(self, input_size, output_size)
rat-sql-gap/seq2struct/models/spider/spider_enc_modules.py:162
Method__init__
(self, device, num_layers, num_heads, hidden_size, ff_size=None, dropout=0.1,
rat-sql-gap/seq2struct/models/spider/spider_enc_modules.py:288
Method__init__
(self, device, hidden_size)
rat-sql-gap/seq2struct/models/spider/spider_enc_modules.py:704
Method__init__
( self, grammar, save_path, min_freq=3, max_count=
rat-sql-gap/seq2struct/models/nl2code/decoder.py:89
Method__init__
( self, device, preproc, # rule_emb_size=128,
rat-sql-gap/seq2struct/models/nl2code/decoder.py:314
Method__init__
(self, model, desc_enc, debug=False)
rat-sql-gap/seq2struct/models/nl2code/train_tree_traversal.py:57
Method__init__
(self, model, desc_enc)
rat-sql-gap/seq2struct/models/nl2code/tree_traversal.py:71
Method__init__
(self, model, desc_enc, example=None)
rat-sql-gap/seq2struct/models/nl2code/infer_tree_traversal.py:65
Method__init__
( self, save_path, min_freq=3, max_count=5000)
rat-sql-gap/seq2struct/models/nl2code/encoder.py:28
Method__init__
( self, device, preproc, word_emb_size=128, recurr
rat-sql-gap/seq2struct/models/nl2code/encoder.py:78
Method__init__
( self, output_from=False, use_table_pointer=False, include_l
rat-sql-gap/seq2struct/grammars/spider.py:41
Method__iter__
(self)
relogic/pretrainkit/multitask_trainer.py:117
Method__iter__
(self)
relogic/pretrainkit/trainer.py:113
Method__iter__
(self)
rat-sql-gap/seq2struct/utils/vocab.py:43
Method__len__
(self)
relogic/pretrainkit/multitask_trainer.py:130
Method__len__
(self)
relogic/pretrainkit/trainer.py:126
Method__len__
(self)
relogic/pretrainkit/datasets/text_generation/sql_to_text.py:46
Method__len__
(self)
relogic/pretrainkit/datasets/text_generation/entity_to_text.py:49
Method__len__
(self)
relogic/pretrainkit/datasets/semparse/column_inferring.py:34
Method__len__
(self)
relogic/pretrainkit/datasets/semparse/multid.py:49
Method__len__
(self)
relogic/pretrainkit/datasets/semparse/text2sql.py:94
Method__len__
(self)
relogic/pretrainkit/datasets/semparse/rat_text2sql.py:162
Method__len__
(self)
relogic/pretrainkit/datasets/semparse/tabart.py:101
Method__len__
Number of hypotheses in the list.
relogic/pretrainkit/models/semparse/semparse.py:1137
Method__len__
Number of hypotheses in the list.
relogic/pretrainkit/models/relationalsemparse/relational_semparse.py:1137
Method__len__
(self)
rat-sql-gap/seq2struct/utils/indexed_file.py:43
Method__len__
(self)
rat-sql-gap/seq2struct/utils/vocab.py:52
Method__len__
(self)
rat-sql-gap/seq2struct/datasets/spider.py:184
Method__len__
(self)
rat-sql-gap/seq2struct/datasets/spider.py:210
Method__len__
(self)
rat-sql-gap/seq2struct/datasets/spider.py:277
Method__len__
(self)
rat-sql-gap/seq2struct/models/enc_dec.py:18
Method__lt__
(self, other)
rat-sql-gap/seq2struct/utils/vocab.py:20
Method__post_init__
(self)
relogic/pretrainkit/datasets/text_generation/sql_to_text.py:59
Method__post_init__
(self)
relogic/pretrainkit/datasets/text_generation/entity_to_text.py:62
Method__post_init__
(self)
relogic/pretrainkit/datasets/semparse/multid.py:63
Method__post_init__
(self)
relogic/pretrainkit/datasets/semparse/tabart.py:116
Method__repr__
(self)
rat-sql-gap/seq2struct/utils/vocab.py:16
Method__setstate__
(self, state)
rat-sql-gap/seq2struct/optimizers.py:164
Method_calculate_rules
(cls, preproc)
rat-sql-gap/seq2struct/models/nl2code/decoder.py:474
Function_check_shapes
(shape_1, shape2)
relogic/pretrainkit/models/semparse/modeling_bart_copy.py:178
Function_check_shapes
(shape_1, shape2)
relogic/pretrainkit/models/relationalsemparse/modeling_relational_bart.py:177
Method_compute_loss_enc_batched
(self, batch, debug=False)
rat-sql-gap/seq2struct/models/enc_dec.py:76
Method_compute_loss_enc_batched2
(self, batch, debug=False)
rat-sql-gap/seq2struct/models/enc_dec.py:89
Method_compute_loss_unbatched
(self, batch, debug=False)
rat-sql-gap/seq2struct/models/enc_dec.py:100
Method_embed_token
(self, token, batch_idx)
rat-sql-gap/seq2struct/models/spider/spider_enc_modules.py:105
← previousnext →501–600 of 889, ranked by callers