MCPcopy Create free account

hub / github.com/FlyingFeather/DEA-SQL / functions

Functions1,466 in github.com/FlyingFeather/DEA-SQL

↓ 2 callersFunctionrebuild_sql_col
(valid_col_units, sql, kmap)
evaluation/ts_old/spider-master/evaluation.py:783
↓ 2 callersFunctionrebuild_sql_col
(valid_col_units, sql, kmap)
evaluation/test-suite-sql-eval/evaluation.py:922
↓ 2 callersFunctionremove_distinct
(s)
evaluation/test-suite-sql-eval/parse.py:139
↓ 2 callersFunctionres_map
(res, val_units)
evaluation/ts_old/spider-master/evaluation.py:630
↓ 2 callersFunctionresult_eq
(result1: List[Tuple], result2: List[Tuple], order_matters: bool)
evaluation/test-suite-sql-eval/exec_eval.py:77
↓ 2 callersFunctionrouge_n
Computes ROUGE-N of two text collections of sentences. Sourece: http://research.microsoft.com/en-us/um/people/cyl/download/ papers/rouge-workin
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py:140
↓ 2 callersMethodsetUp
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/rnn_encoder_test.py:73
↓ 2 callersMethodsetUp
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py:194
↓ 2 callersFunctionside
(s)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate-kai.js:142
↓ 2 callersFunctionside
(s)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate.js:301
↓ 2 callersFunctionsingle_vocab_file
Given a list of vocabulary file paths, return a path to a single vocabulary file that incorporates all of the vocabularies. If the list i
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/config_builder.py:165
↓ 2 callersFunctionskip_semicolon
(toks, start_idx)
hardness_eval.py:591
↓ 2 callersFunctionskip_semicolon
(toks, start_idx)
evaluation/ts_old/spider-master/process_sql.py:558
↓ 2 callersFunctionskip_semicolon
(toks, start_idx)
evaluation/test-suite-sql-eval/process_sql.py:562
↓ 2 callersFunctionsplit_characters_table_name
(original_list)
filter_characters.py:89
↓ 2 callersFunctionstrip_params
(parse_tree)
evaluation/ts_old/spider-master/baselines/nl2code/lang/ifttt/parse.py:49
↓ 2 callersFunctionto_batch_query
(sql_data, idxes, st, ed)
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/utils.py:113
↓ 2 callersFunctionto_batch_query
(sql_data, idxes, st, ed)
evaluation/ts_old/spider-master/baselines/typesql/scripts/utils.py:114
↓ 2 callersFunctiontokenize
(query: str)
evaluation/test-suite-sql-eval/parse.py:14
↓ 2 callersFunctiontype_str_to_type
(type_str)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/grammar.py:798
↓ 2 callersFunctiontypename
(x)
evaluation/ts_old/spider-master/baselines/nl2code/parse_hiro.py:6
↓ 2 callersFunctionunary_link_to_closure
(unary_link)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/unaryclosure.py:224
↓ 2 callersFunctionunescape
(text)
evaluation/ts_old/spider-master/baselines/nl2code/lang/util.py:26
↓ 2 callersFunctionunorder_row
(row: Tuple)
evaluation/test-suite-sql-eval/exec_eval.py:28
↓ 2 callersFunctionupdate
(source)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.js:42
↓ 1 callersMethod__eq__
(self, other)
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:94
↓ 1 callersMethod__init__
(self, params, mode)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/configurable.py:131
↓ 1 callersMethod__init__
(self, params, mode, name="input_att_copying_seq2seq")
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py:246
↓ 1 callersMethod__init__
(self, params, mode, name="schema_att_seq2seq")
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py:47
↓ 1 callersMethod__init__
(self, encoder_outputs, decoder_state_size, params, mode)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:54
↓ 1 callersMethod__init__
(self, *args, **kwargs)
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:286
↓ 1 callersMethod__init__
(self, input_dim, output_dim, init='uniform', name=None)
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/embeddings.py:30
↓ 1 callersMethod__repr__
(self)
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:36
↓ 1 callersFunction_add_graph_level
Adds a levelto the passed graph
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/bin/tools/generate_beam_viz.py:66
↓ 1 callersMethod_assert_correct_outputs
(self, initial_state_)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py:94
↓ 1 callersMethod_assert_correct_outputs
(self, initial_state_)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py:113
↓ 1 callersMethod_build
(self, initial_state, helper)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/beam_search_decoder.py:138
↓ 1 callersMethod_build
Subclasses should implement this method. See the `model_fn` documentation in tf.contrib.learn.Estimator class for a more detailed explanation.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py:148
↓ 1 callersMethod_build_train_op
Creates the training operation
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py:94
↓ 1 callersMethod_config_path
Returns the path to the configuration to be tested
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/example_config_test.py:61
↓ 1 callersMethod_create
Implements the logic for this bridge. This function should be implemented by child classes. Returns: A tuple initial_decoder_state ten
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:70
↓ 1 callersMethod_create_bridge
Creates the bridge class to be tests. Must be implemented by child classes
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py:59
↓ 1 callersMethod_create_bridge
Creates the bridge to be used between encoder and decoder
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:63
↓ 1 callersMethod_create_decoder
Creates a decoder instance based on the passed parameters.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:73
↓ 1 callersFunction_create_figure
Creates and returns a new figure that visualizes attention scores for for a single model predictions.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:43
↓ 1 callersMethod_create_layer
Creates the attention layer. Should be implemented by child classes
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py:44
↓ 1 callersMethod_create_optimizer
Creates the optimizer
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py:74
↓ 1 callersMethod_create_predictions
(self, decoder_output, features, labels, losses=None)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py:269
↓ 1 callersFunction_create_zero_outputs
Create a zero outputs Tensor structure.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py:127
↓ 1 callersMethod_decode_infer
Runs decoding in inference mode
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:93
↓ 1 callersMethod_decode_train
Runs decoding in training mode
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:83
↓ 1 callersMethod_get_beam_search_decoder
Wraps a decoder into a Beam Search decoder. Args: decoder: The original decoder Returns: A BeamSearchDecoder with the same inter
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py:203
↓ 1 callersFunction_get_ngrams
Calcualtes n-grams. Args: n: which n-grams to calculate text: An array of tokens Returns: A set of n-grams
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py:32
↓ 1 callersFunction_get_scores
Returns the attention scores, sliced by source and target length.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:35
↓ 1 callersFunction_get_unk_mapping
Reads a file that specifies a mapping from source to target tokens. The file must contain lines of the form <source>\t<target>" Args: filenam
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py:43
↓ 1 callersMethod_has_training_stopped
Determines whether the training has stopped.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/experiment.py:29
↓ 1 callersFunction_len_lcs
Returns the length of the Longest Common Subsequence between sequences x and y. Source: http://www.algorithmist.com/index.php/Longest_Common_Su
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py:65
↓ 1 callersFunction_load_model_from_config
Loads model from a configuration file
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/example_config_test.py:39
↓ 1 callersMethod_map
(self, schema)
hardness_eval.py:93
↓ 1 callersMethod_map
(self, schema)
evaluation/ts_old/spider-master/process_sql.py:64
↓ 1 callersMethod_map
(self, schema, table)
evaluation/ts_old/spider-master/preprocess/parse_raw_json.py:33
↓ 1 callersMethod_map
(self, schema, table)
evaluation/ts_old/spider-master/preprocess/parse_sql_one.py:33
↓ 1 callersMethod_map
(self, schema)
evaluation/test-suite-sql-eval/process_sql.py:64
↓ 1 callersFunction_parse_params
Parses parameter values to the types defined by the default parameters. Default parameters are used for missing values.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/configurable.py:86
↓ 1 callersMethod_preprocess
Model-specific preprocessing for features and labels: - Creates vocabulary lookup tables for source and target vocab - Converts tokens into v
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py:229
↓ 1 callersMethod_preprocess
Model-specific preprocessing for features and labels: - Creates vocabulary lookup tables for source and target vocab - Converts tokens
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py:250
↓ 1 callersMethod_print_params
Logs parameter values
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/configurable.py:136
↓ 1 callersFunction_recon
private recon calculation
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py:125
↓ 1 callersFunction_recon_lcs
Returns the Longest Subsequence between x and y. Source: http://www.algorithmist.com/index.php/Longest_Common_Subsequence Args: x: sequenc
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py:110
↓ 1 callersFunction_register_function_ops
Registers custom ops in the default graph. This is needed Because our checkpoint is saved with ops that are not part of Tensorflow.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/bin/tools/profile.py:48
↓ 1 callersMethod_schema_lookups
(self, features)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py:90
↓ 1 callersMethod_schema_lookups
(self, features)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py:172
↓ 1 callersFunction_shape
(batch_size, from_shape)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py:203
↓ 1 callersFunction_t
(s)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py:129
↓ 1 callersMethod_test_with_params
Tests the encoder with a given parameter configuration
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/conv_encoder_test.py:41
↓ 1 callersFunction_total_tensor_depth
Returns the size of a tensor without the first (batch) dimension
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:35
↓ 1 callersFunction_union_lcs
Returns LCS_u(r_i, C) which is the LCS score of the union longest common subsequence between reference sentence ri and candidate summary C. For e
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py:246
↓ 1 callersFunctionadd_aggr_prompt
()
prompt/get_prompt.py:107
↓ 1 callersFunctionanalyze_decode_results
(dataset, decode_results, verbose=True)
evaluation/ts_old/spider-master/baselines/nl2code/evaluation.py:266
↓ 1 callersMethodappend_token
(self, token, nt=None)
evaluation/ts_old/spider-master/baselines/nl2code/components.py:126
↓ 1 callersMethodapply_rule
(self, rule, nt=None)
evaluation/ts_old/spider-master/baselines/nl2code/components.py:104
↓ 1 callersFunctionask_chat
(model, messages: list, temperature, n)
llm/chatgpt.py:35
↓ 1 callersFunctionask_completion
(model, batch, temperature)
llm/chatgpt.py:17
↓ 1 callersFunctionatt_sum_bahdanau
Calculates a batch- and timweise dot product with a variable
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:38
↓ 1 callersFunctionatt_sum_dot
Calculates a batch- and timweise dot product
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:44
↓ 1 callersMethodbatch_size
(self, features, _labels)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/image2seq.py:70
↓ 1 callersMethodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:92
↓ 1 callersMethodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:177
↓ 1 callersMethodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:247
↓ 1 callersMethodbuild_decoder
(self, query_tokens, query_token_embed, query_token_embed_mask,mask)
evaluation/ts_old/spider-master/baselines/nl2code/model.py:221
↓ 1 callersFunctionbuild_foreign_key_map
(entry)
single_eval.py:869
↓ 1 callersFunctionbuild_foreign_key_map
(entry)
evaluation/ts_old/spider-master/evaluation.py:800
↓ 1 callersFunctionbuild_foreign_key_map
(entry)
evaluation/test-suite-sql-eval/evaluation.py:939
↓ 1 callersFunctionbuild_foreign_key_map_from_json
(table)
evaluation/ts_old/spider-master/evaluation.py:840
↓ 1 callersFunctionbuild_foreign_key_map_from_json
(table)
evaluation/test-suite-sql-eval/evaluation.py:979
↓ 1 callersMethodcan_expand
(self, node)
evaluation/ts_old/spider-master/baselines/nl2code/components.py:81
↓ 1 callersFunctioncanonicalize_example
(query, code)
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:677
↓ 1 callersFunctioncanonicalize_hs_example
(query, code)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/py_dataset.py:133
↓ 1 callersFunctioncanonicalize_ifttt_example
(annot, code)
evaluation/ts_old/spider-master/baselines/nl2code/lang/ifttt/ifttt_dataset.py:57
↓ 1 callersFunctioncanonicalize_sql_example
(query, sql, ast)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sql_dataset.py:136
← previousnext →301–400 of 1,466, ranked by callers