Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlyingFeather/DEA-SQL
/ types & classes
Types & classes
201 in github.com/FlyingFeather/DEA-SQL
⨍
Functions
1,466
◇
Types & classes
201
↳
Endpoints
1
↓ 51 callers
Class
ASTNode
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:8
↓ 16 callers
Class
Action
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:31
↓ 16 callers
Class
DataSet
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:165
↓ 8 callers
Class
DataEntry
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:138
↓ 6 callers
Class
Dense
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/core.py:82
↓ 4 callers
Class
CustomHelper
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 callers
Class
AttentionDecoderOutput
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 callers
Class
BeamDecoderOutput
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 callers
Class
DecodeTree
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:264
↓ 3 callers
Class
DecoderOutput
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 callers
Class
Hyp
evaluation/ts_old/spider-master/baselines/nl2code/components.py:53
↓ 3 callers
Class
LSTM
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/recurrent.py:246
↓ 3 callers
Class
RougeMetricSpec
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 callers
Class
SchemaAttentionDecoderOutput
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 callers
Class
SchemaCopyingAttentionDecoderOutput
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 callers
Class
SchemaMapAttentionDecoderOutput
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 callers
Class
AttentionLayerDot
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 callers
Class
BeamSearchState
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 callers
Class
Evaluator
A simple evaluator
single_eval.py:357
↓ 2 callers
Class
Evaluator
A simple evaluator
evaluation/ts_old/spider-master/evaluation.py:357
↓ 2 callers
Class
Evaluator
A simple evaluator
evaluation/test-suite-sql-eval/evaluation.py:356
↓ 2 callers
Class
Model
evaluation/ts_old/spider-master/baselines/nl2code/model.py:30
↓ 2 callers
Class
Rule
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:285
↓ 2 callers
Class
SQLNet
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/sqlnet.py:21
↓ 2 callers
Class
Schema
Simple schema which maps table&column to a unique identifier
evaluation/test-suite-sql-eval/process_sql.py:48
↓ 2 callers
Class
TypeSQL
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/typesql.py:21
↓ 1 callers
Class
AttentionDecoder
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 callers
Class
AttentionLayerBahdanau
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 callers
Class
AttentionSeq2Seq
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 callers
Class
BasicDecoder
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 callers
Class
BasicSeq2Seq
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 callers
Class
BeamSearchDecoder
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 callers
Class
BeamSearchStepOutput
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 callers
Class
BiLSTM
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/recurrent.py:358
↓ 1 callers
Class
BleuMetricSpec
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 callers
Class
CondAttLSTM
Conditional LSTM with Attention
evaluation/ts_old/spider-master/baselines/nl2code/components.py:195
↓ 1 callers
Class
CondPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/cond_predict.py:10
↓ 1 callers
Class
CondPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/cond_predict.py:10
↓ 1 callers
Class
ConvEncoder
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 callers
Class
Embedding
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 callers
Class
FilterCharacters
filter_characters.py:94
↓ 1 callers
Class
FinalBeamDecoderOutput
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 callers
Class
GroupPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/group_predict.py:10
↓ 1 callers
Class
GroupPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/group_predict.py:10
↓ 1 callers
Class
IFTTTGrammar
evaluation/ts_old/spider-master/baselines/nl2code/lang/ifttt/grammar.py:3
↓ 1 callers
Class
InitialStateBridge
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 callers
Class
Learner
evaluation/ts_old/spider-master/baselines/nl2code/learner.py:15
↓ 1 callers
Class
MyClass
common/wrapper.py:119
↓ 1 callers
Class
NER
extract Main Entity from the query
get_ner.py:17
↓ 1 callers
Class
OrderPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/order_predict.py:10
↓ 1 callers
Class
OrderPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/order_predict.py:10
↓ 1 callers
Class
PassThroughBridge
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 callers
Class
PointerNet
evaluation/ts_old/spider-master/baselines/nl2code/components.py:21
↓ 1 callers
Class
PoolingEncoder
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 callers
Class
PythonGrammar
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/grammar.py:832
↓ 1 callers
Class
SQLGrammar
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/grammar.py:812
↓ 1 callers
Class
SQLPromptError
prompt/get_sql_prompt_for_fewshot.py:9
↓ 1 callers
Class
SQLPromptFewshot
prompt/get_sql_prompt_for_fewshot.py:90
↓ 1 callers
Class
Schema
Simple schema which maps table&column to a unique identifier
hardness_eval.py:76
↓ 1 callers
Class
Schema
Simple schema which maps table&column to a unique identifier
evaluation/ts_old/spider-master/process_sql.py:48
↓ 1 callers
Class
Schema
Simple schema which maps table&column to a unique identifier
evaluation/ts_old/spider-master/preprocess/parse_raw_json.py:16
↓ 1 callers
Class
Schema
Simple schema which maps table&column to a unique identifier
evaluation/ts_old/spider-master/preprocess/parse_sql_one.py:16
↓ 1 callers
Class
SelPredictor
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/sel_predict.py:10
↓ 1 callers
Class
SelPredictor
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/sel_predict.py:10
↓ 1 callers
Class
Text2SQL
gen_sql.py:69
↓ 1 callers
Class
TimeoutError
evaluation/test-suite-sql-eval/evaluation.py:635
↓ 1 callers
Class
TrainOptions
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 callers
Class
Vocab
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:44
↓ 1 callers
Class
WordEmbedding
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/modules/word_embedding.py:9
↓ 1 callers
Class
WordEmbedding
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/word_embedding.py:9
↓ 1 callers
Class
ZeroBridge
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 callers
Class
_ColorfulFormatter
logger.py:130
Class
Adadelta
Reference: http://arxiv.org/abs/1212.5701
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:141
Class
Adadelta_GaussianNoise
Reference: http://arxiv.org/abs/1212.5701
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:179
Class
Adagrad
evaluation/ts_old/spider-master/baselines/nl2code/nn/optimizers.py:117
Class
Adam
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
Class
AggrType
aggr type
common/enumeration/sql.py:37
Class
AggregationType
common/enumeration/sql.py:28
Class
AttentionDecoderTest
Tests the `AttentionDecoder` class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:198
Class
AttentionLayer
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
Class
AttentionLayerBahdanauTest
Tests the AttentionLayerBahdanau class
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:95
Class
AttentionLayerDotTest
Tests the AttentionLayerDot class
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:83
Class
AttentionLayerTest
Tests the AttentionLayer module.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:30
Class
BaseAttentionCopyingSeq2Seq
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
Class
BasicDecoderTest
Tests the `BasicDecoder` class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:181
Class
BeamSearchConfig
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
Class
BidirectionalRNNEncoder
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
Class
BidirectionalRNNEncoderTest
Tests the BidirectionalRNNEncoder class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/rnn_encoder_test.py:68
Class
Bridge
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
Class
BridgeTest
Abstract class for bridge tests
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py:36
Class
CondAttLSTM
Conditional LSTM with Attention
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/recurrent.py:397
Class
Configurable
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
Class
ConvEncoderTest
Tests the ConvEncoder class.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/conv_encoder_test.py:29
Class
Convolution2d
a convolutional layer with max pooling
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/convolution.py:11
Class
CreateVocabularyLookupTableTest
Tests Vocabulary lookup table operations.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/vocab_test.py:54
Class
CrossEntropySequenceLossTest
Test for `sqe2seq.losses.sequence_mask`.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/losses_test.py:28
Class
DBEngine
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/lib/dbengine.py:12
Class
DBEngine
evaluation/ts_old/spider-master/baselines/typesql/scripts/lib/dbengine.py:12
Class
DataHelper
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:300
Class
DataIterator
evaluation/ts_old/spider-master/baselines/nl2code/learner.py:164
next →
1–100 of 201, ranked by callers