MCPcopy Create free account

hub / github.com/FlyingFeather/DEA-SQL / types & classes

Types & classes201 in github.com/FlyingFeather/DEA-SQL

↓ 51 callersClassASTNode
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:8
↓ 16 callersClassAction
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:31
↓ 16 callersClassDataSet
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:165
↓ 8 callersClassDataEntry
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:138
↓ 6 callersClassDense
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/core.py:82
↓ 4 callersClassCustomHelper
Base abstract class that allows the user to customize sampling.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/helper.py:93
↓ 3 callersClassAttentionDecoderOutput
Augmented decoder output that also includes the attention scores.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention_decoder.py:30
↓ 3 callersClassBeamDecoderOutput
Structure for the output of a beam search decoder. This class is used to define the output at each step as well as the final output of the decoder.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/beam_search_decoder.py:46
↓ 3 callersClassDecodeTree
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:264
↓ 3 callersClassDecoderOutput
Output of an RNN decoder. Note that we output both the logits and predictions because during dynamic decoding the predictions may not correspond
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py:38
↓ 3 callersClassHyp
evaluation/ts_old/spider-master/baselines/nl2code/components.py:53
↓ 3 callersClassLSTM
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/recurrent.py:246
↓ 3 callersClassRougeMetricSpec
Calculates BLEU score using the Moses multi-bleu.perl script.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:184
↓ 3 callersClassSchemaAttentionDecoderOutput
Augmented decoder output that also includes the attention scores.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py:21
↓ 3 callersClassSchemaCopyingAttentionDecoderOutput
Augmented decoder output that also includes the attention scores and copy vals.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py:32
↓ 3 callersClassSchemaMapAttentionDecoderOutput
Augmented decoder output that also includes the attention scores.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py:44
↓ 2 callersClassAttentionLayerDot
An attention layer that calculates attention scores using a dot product.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:133
↓ 2 callersClassBeamSearchState
State for a single step of beam search. Args: log_probs: The current log probabilities of all beams finished: A boolean vector that specifi
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:28
↓ 2 callersClassEvaluator
A simple evaluator
single_eval.py:357
↓ 2 callersClassEvaluator
A simple evaluator
evaluation/ts_old/spider-master/evaluation.py:357
↓ 2 callersClassEvaluator
A simple evaluator
evaluation/test-suite-sql-eval/evaluation.py:356
↓ 2 callersClassModel
evaluation/ts_old/spider-master/baselines/nl2code/model.py:30
↓ 2 callersClassRule
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:285
↓ 2 callersClassSQLNet
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/sqlnet.py:21
↓ 2 callersClassSchema
Simple schema which maps table&column to a unique identifier
evaluation/test-suite-sql-eval/process_sql.py:48
↓ 2 callersClassTypeSQL
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/typesql.py:21
↓ 1 callersClassAttentionDecoder
An RNN Decoder that uses attention over an input sequence. Args: cell: An instance of ` tf.contrib.rnn.RNNCell` helper: An instance of `tf.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention_decoder.py:40
↓ 1 callersClassAttentionLayerBahdanau
An attention layer that calculates attention scores using a parameterized multiplication.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:142
↓ 1 callersClassAttentionSeq2Seq
Sequence2Sequence model with attention mechanism. Args: source_vocab_info: An instance of `VocabInfo` for the source vocabulary targe
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_seq2seq.py:31
↓ 1 callersClassBasicDecoder
Simple RNN decoder that performed a softmax operations on the cell output.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/basic_decoder.py:27
↓ 1 callersClassBasicSeq2Seq
Basic Sequence2Sequence model with a unidirectional encoder and decoder. The last encoder state is used to initialize the decoder and thus both mu
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:32
↓ 1 callersClassBeamSearchDecoder
The BeamSearchDecoder wraps another decoder to perform beam search instead of greedy selection. This decoder must be used with batch size of 1, whic
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/beam_search_decoder.py:71
↓ 1 callersClassBeamSearchStepOutput
Outputs for a single step of beam search. Args: scores: Score for each beam, a float32 vector predicted_ids: predictions for this step step
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:40
↓ 1 callersClassBiLSTM
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/recurrent.py:358
↓ 1 callersClassBleuMetricSpec
Calculates BLEU score using the Moses multi-bleu.perl script.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:173
↓ 1 callersClassCondAttLSTM
Conditional LSTM with Attention
evaluation/ts_old/spider-master/baselines/nl2code/components.py:195
↓ 1 callersClassCondPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/cond_predict.py:10
↓ 1 callersClassCondPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/cond_predict.py:10
↓ 1 callersClassConvEncoder
A deep convolutional encoder, as described in https://arxiv.org/abs/1611.02344. The encoder supports optional positions embeddings. Params:
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/conv_encoder.py:31
↓ 1 callersClassEmbedding
Turn positive integers (indexes) into denses vectors of fixed size. eg. [[4], [20]] -> [[0.25, 0.1], [0.6, -0.2]] @input_dim
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/embeddings.py:22
↓ 1 callersClassFilterCharacters
filter_characters.py:94
↓ 1 callersClassFinalBeamDecoderOutput
Final outputs returned by the beam search after all decoding is finished. Args: predicted_ids: The final prediction. A tensor of shape `[
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/beam_search_decoder.py:32
↓ 1 callersClassGroupPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/group_predict.py:10
↓ 1 callersClassGroupPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/group_predict.py:10
↓ 1 callersClassIFTTTGrammar
evaluation/ts_old/spider-master/baselines/nl2code/lang/ifttt/grammar.py:3
↓ 1 callersClassInitialStateBridge
A bridge that creates an initial decoder state based on the output of the encoder. This state is created by passing the encoder outputs through an
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:112
↓ 1 callersClassLearner
evaluation/ts_old/spider-master/baselines/nl2code/learner.py:15
↓ 1 callersClassMyClass
common/wrapper.py:119
↓ 1 callersClassNER
extract Main Entity from the query
get_ner.py:17
↓ 1 callersClassOrderPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/order_predict.py:10
↓ 1 callersClassOrderPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/order_predict.py:10
↓ 1 callersClassPassThroughBridge
Passes the encoder state through to the decoder as-is. This bridge can only be used if encoder and decoder have the exact same state size, i.e. us
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:96
↓ 1 callersClassPointerNet
evaluation/ts_old/spider-master/baselines/nl2code/components.py:21
↓ 1 callersClassPoolingEncoder
An encoder that pools over embeddings, as described in https://arxiv.org/abs/1611.02344. The encoder supports optional positions embeddings and a
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/pooling_encoder.py:88
↓ 1 callersClassPythonGrammar
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/grammar.py:832
↓ 1 callersClassSQLGrammar
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/grammar.py:812
↓ 1 callersClassSQLPromptError
prompt/get_sql_prompt_for_fewshot.py:9
↓ 1 callersClassSQLPromptFewshot
prompt/get_sql_prompt_for_fewshot.py:90
↓ 1 callersClassSchema
Simple schema which maps table&column to a unique identifier
hardness_eval.py:76
↓ 1 callersClassSchema
Simple schema which maps table&column to a unique identifier
evaluation/ts_old/spider-master/process_sql.py:48
↓ 1 callersClassSchema
Simple schema which maps table&column to a unique identifier
evaluation/ts_old/spider-master/preprocess/parse_raw_json.py:16
↓ 1 callersClassSchema
Simple schema which maps table&column to a unique identifier
evaluation/ts_old/spider-master/preprocess/parse_sql_one.py:16
↓ 1 callersClassSelPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/sel_predict.py:10
↓ 1 callersClassSelPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/sel_predict.py:10
↓ 1 callersClassText2SQL
gen_sql.py:69
↓ 1 callersClassTimeoutError
evaluation/test-suite-sql-eval/evaluation.py:635
↓ 1 callersClassTrainOptions
A collection of options that are passed to the training script and can be saved to perform inference later. Args: task: Name of the training
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/utils.py:37
↓ 1 callersClassVocab
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:44
↓ 1 callersClassWordEmbedding
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/word_embedding.py:9
↓ 1 callersClassWordEmbedding
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/word_embedding.py:9
↓ 1 callersClassZeroBridge
A bridge that does not pass any information between encoder and decoder and sets the initial decoder state to 0. The input function is not modified.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:80
↓ 1 callersClass_ColorfulFormatter
logger.py:130
ClassAdadelta
Reference: http://arxiv.org/abs/1212.5701
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:141
ClassAdadelta_GaussianNoise
Reference: http://arxiv.org/abs/1212.5701
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:179
ClassAdagrad
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:117
ClassAdam
Reference: http://arxiv.org/abs/1412.6980v8 Default parameters follow those provided in the original paper.
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:223
ClassAggrType
aggr type
common/enumeration/sql.py:37
ClassAggregationType
common/enumeration/sql.py:28
ClassAttentionDecoderTest
Tests the `AttentionDecoder` class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:198
ClassAttentionLayer
Attention layer according to https://arxiv.org/abs/1409.0473. Params: num_units: Number of units used in the attention layer
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:50
ClassAttentionLayerBahdanauTest
Tests the AttentionLayerBahdanau class
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:95
ClassAttentionLayerDotTest
Tests the AttentionLayerDot class
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:83
ClassAttentionLayerTest
Tests the AttentionLayer module.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:30
ClassBaseAttentionCopyingSeq2Seq
Base class for Sequence2Sequence model with attention-based copying. Args: source_vocab_info: An instance of `VocabInfo` for the sou
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:23
ClassBasicDecoderTest
Tests the `BasicDecoder` class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:181
ClassBeamSearchConfig
Configuration object for beam search. Args: beam_width: Number of beams to use, an integer vocab_size: Output vocabulary size eos_token
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:54
ClassBidirectionalRNNEncoder
A bidirectional RNN encoder. Uses the same cell for both the forward and backward RNN. Stacking should be performed as part of the cell. Arg
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:107
ClassBidirectionalRNNEncoderTest
Tests the BidirectionalRNNEncoder class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/rnn_encoder_test.py:68
ClassBridge
An abstract bridge class. A bridge defines how state is passed between encoder and decoder. All logic is contained in the `_create` method, which
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:41
ClassBridgeTest
Abstract class for bridge tests
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py:36
ClassCondAttLSTM
Conditional LSTM with Attention
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/recurrent.py:397
ClassConfigurable
Interface for all classes that are configurable via a parameters dictionary. Args: params: A dictionary of parameters. mode: A value in t
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/configurable.py:122
ClassConvEncoderTest
Tests the ConvEncoder class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/conv_encoder_test.py:29
ClassConvolution2d
a convolutional layer with max pooling
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/convolution.py:11
ClassCreateVocabularyLookupTableTest
Tests Vocabulary lookup table operations.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/vocab_test.py:54
ClassCrossEntropySequenceLossTest
Test for `sqe2seq.losses.sequence_mask`.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/losses_test.py:28
ClassDBEngine
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/lib/dbengine.py:12
ClassDBEngine
evaluation/ts_old/spider-master/baselines/typesql/scripts/lib/dbengine.py:12
ClassDataHelper
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:300
ClassDataIterator
evaluation/ts_old/spider-master/baselines/nl2code/learner.py:164
next →1–100 of 201, ranked by callers