MCPcopy Create free account

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

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

↓ 4 callersMethodis_value_node
(self, node)
evaluation/ts_old/spider-master/baselines/nl2code/lang/grammar.py:79
↓ 4 callersFunctionload_word_emb
(file_name, load_used=False, use_small=False)
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/utils.py:220
↓ 4 callersFunctionload_word_emb
(file_name, load_used=False, use_small=False)
evaluation/ts_old/spider-master/baselines/typesql/scripts/utils.py:221
↓ 4 callersFunctionmake_input_pipeline
Builds the input pipeline configuration and adds it to the output_spec. Args: pipeline_name: the name of the pipeline to add to the
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/config_builder.py:309
↓ 4 callersFunctionndim_tensor
(ndim, name=None)
evaluation/ts_old/spider-master/baselines/nl2code/nn/utils/theano_utils.py:38
↓ 4 callersFunctionnormalize_create_table
(table_name, create_table_statement)
data_preprocess.py:15
↓ 4 callersFunctionparse
parse a python code into a tree structure code -> AST tree -> AST tree to internal tree structure
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:370
↓ 4 callersFunctionparse_col_unit
:returns next idx, (agg_op id, col_id)
hardness_eval.py:220
↓ 4 callersFunctionparse_col_unit
:returns next idx, (agg_op id, col_id)
evaluation/ts_old/spider-master/process_sql.py:191
↓ 4 callersFunctionparse_col_unit
:returns next idx, (agg_op id, col_id)
evaluation/test-suite-sql-eval/process_sql.py:191
↓ 4 callersFunctionparse_raw
(code)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/parse.py:270
↓ 4 callersFunctionrebuild_col_unit_col
(valid_col_units, col_unit, kmap)
single_eval.py:766
↓ 4 callersFunctionrebuild_col_unit_col
(valid_col_units, col_unit, kmap)
evaluation/ts_old/spider-master/evaluation.py:697
↓ 4 callersFunctionrebuild_col_unit_col
(valid_col_units, col_unit, kmap)
evaluation/test-suite-sql-eval/evaluation.py:836
↓ 4 callersFunctionrebuild_sql_val
(sql)
single_eval.py:741
↓ 4 callersFunctionrebuild_sql_val
(sql)
evaluation/ts_old/spider-master/evaluation.py:672
↓ 4 callersFunctionrebuild_sql_val
(sql)
evaluation/test-suite-sql-eval/evaluation.py:811
↓ 3 callersMethod__init__
Initializer
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:74
↓ 3 callersMethod__init__
(self, params, mode, name="att_copying_seq2seq")
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:33
↓ 3 callersMethod__init__
(self)
evaluation/ts_old/spider-master/baselines/nl2code/nn/layers/core.py:16
↓ 3 callersMethod_assert_correct_outputs
(self, initial_state_)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py:140
↓ 3 callersFunction_clear_flags
Resets Tensorflow's FLAG values
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/pipeline_test.py:41
↓ 3 callersFunction_create_from_dict
Creates a configurable class from a dictionary. The dictionary must have "class" and "params" properties. The class can be either fully qualified, o
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/configurable.py:44
↓ 3 callersFunction_deep_merge_dict
Recursively merges dict_y into dict_x.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/configurable.py:69
↓ 3 callersFunction_flatten_dict
Flattens a nested dictionary. Namedtuples within the dictionary are converted to dicts. Args: dict_: The dictionary to flatten. parent_ke
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py:29
↓ 3 callersMethod_test_multi_bleu
Runs a multi-bleu test.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/metrics_test.py:37
↓ 3 callersMethod_test_pipeline
Helper function to test the full model pipeline.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py:98
↓ 3 callersFunctionbreak_value_nodes
inplace break value nodes with a string separaed by spaces
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/seq2tree_exp.py:88
↓ 3 callersFunctioncanonicalize_query
canonicalize the query, replace strings to a special place holder
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:629
↓ 3 callersFunctioncombine_json
combine a list of json to a single json, which is the most consistent on the given keys :param json_list: a list of similar json with same ke
common/wrapper.py:65
↓ 3 callersMethodcompute_loss
Computes the sequence loss for this model. seq_loss is the cross entropy loss for the output sequence. Returns a tuple `(losses, loss)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:189
↓ 3 callersMethodcompute_output
Computes the decoder outputs.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py:150
↓ 3 callersFunctioncontainsSelect
(s)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate.js:34
↓ 3 callersFunctionembed_by_openai
(text: Union[List, str])
fewshot/embedding.py:12
↓ 3 callersFunctionembed_by_transformers
(text: Union[List, str])
fewshot/embedding.py:16
↓ 3 callersFunctionensure_in_spec
If key is not in spec, requests a value from the user and modifies spec to include that key:value pair. Args: spec: A dictionary sp
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/config_builder.py:20
↓ 3 callersFunctionepoch_acc
(model, batch_size, sql_data, table_data, schemas, pred_entry, error_print=False, train_flag = False)
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/utils.py:145
↓ 3 callersFunctionepoch_acc
(model, batch_size, sql_data, table_data, schemas, pred_entry, error_print=False, train_flag = False)
evaluation/ts_old/spider-master/baselines/typesql/scripts/utils.py:145
↓ 3 callersFunctioneval_exec_match
(db: str, p_str: str, g_str: str, plug_value: bool, keep_distinct: bool, progress_bar_for_each_datapoint: bool
evaluation/test-suite-sql-eval/exec_eval.py:186
↓ 3 callersFunctioneval_nested
(pred, label)
single_eval.py:222
↓ 3 callersFunctioneval_nested
(pred, label)
evaluation/ts_old/spider-master/evaluation.py:222
↓ 3 callersFunctioneval_nested
(pred, label)
evaluation/test-suite-sql-eval/evaluation.py:221
↓ 3 callersFunctionevaluate
(encoder, decoder, sentence, max_length=MAX_LENGTH, use_attention=True)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/plot-1.py:273
↓ 3 callersFunctionevaluate_ifttt_results
(dataset, decode_results, verbose=True)
evaluation/ts_old/spider-master/baselines/nl2code/evaluation.py:720
↓ 3 callersMethodfinalize
Applies final transformation to the decoder output once decoding is finished.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py:88
↓ 3 callersMethodforward
(self, q, col, col_num, pred_entry, gt_where = None, gt_cond=None, gt_sel=None)
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/model/sqlnet.py:58
↓ 3 callersMethodforward
(self, q, col, col_num, q_type, pred_entry, gt_where = None, gt_cond=None, gt_sel=None)
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/typesql.py:58
↓ 3 callersMethodgen_x_batch
(self, q, col, is_list=False, is_q=False)
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/word_embedding.py:59
↓ 3 callersFunctiongenerate_infer_spec
(spec, split="dev")
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/config_builder.py:359
↓ 3 callersMethodget_dataset_by_ids
(self, ids, name)
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:180
↓ 3 callersFunctionget_dict_from_str
(content)
common/common.py:114
↓ 3 callersFunctionget_foreign_keys
(db_id, table, create_table_statement, table_upper=False)
data_preprocess.py:60
↓ 3 callersFunctionget_grammar
(parse_trees)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:399
↓ 3 callersFunctionget_lower_list
(temp_list)
common/common.py:52
↓ 3 callersFunctionget_similar_text_embed_by_knn
Get similar samples from train set based on text embedding :param train: the train set :param text: the text to embed, which can be the
fewshot/auto_selection.py:32
↓ 3 callersFunctionifttt_ast_to_parse_tree
(s, attach_func_to_channel=True)
evaluation/ts_old/spider-master/baselines/nl2code/lang/ifttt/parse.py:39
↓ 3 callersFunctioninput_fn
Creates features and labels.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/utils.py:255
↓ 3 callersFunctionload_data_new
(sql_path, table_data, use_small=False)
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/utils.py:22
↓ 3 callersFunctionload_data_new
(sql_path, table_data, use_small=False)
evaluation/ts_old/spider-master/baselines/typesql/scripts/utils.py:22
↓ 3 callersFunctionload_json
(dir)
evaluation/src/evaluation.py:9
↓ 3 callersFunctionmerge_broken_value_nodes
redo *break_value_nodes*
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/seq2tree_exp.py:106
↓ 3 callersFunctionparse_condition
(toks, start_idx, tables_with_alias, schema, default_tables=None)
hardness_eval.py:333
↓ 3 callersFunctionparse_condition
(toks, start_idx, tables_with_alias, schema, default_tables=None)
evaluation/ts_old/spider-master/process_sql.py:304
↓ 3 callersFunctionparse_condition
(toks, start_idx, tables_with_alias, schema, default_tables=None)
evaluation/test-suite-sql-eval/process_sql.py:304
↓ 3 callersFunctionparse_django
(code_file)
evaluation/ts_old/spider-master/baselines/nl2code/main.py:125
↓ 3 callersFunctionparse_sql
(toks, start_idx, tables_with_alias, schema)
hardness_eval.py:527
↓ 3 callersFunctionparse_sql
(toks, start_idx, tables_with_alias, schema)
evaluation/ts_old/spider-master/process_sql.py:494
↓ 3 callersFunctionparse_sql
(toks, start_idx, tables_with_alias, schema)
evaluation/test-suite-sql-eval/process_sql.py:498
↓ 3 callersFunctionparse_tree_to_python_ast
(tree)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:193
↓ 3 callersFunctionparse_val_unit
(toks, start_idx, tables_with_alias, schema, default_tables=None)
hardness_eval.py:258
↓ 3 callersFunctionparse_val_unit
(toks, start_idx, tables_with_alias, schema, default_tables=None)
evaluation/ts_old/spider-master/process_sql.py:229
↓ 3 callersFunctionparse_val_unit
(toks, start_idx, tables_with_alias, schema, default_tables=None)
evaluation/test-suite-sql-eval/process_sql.py:229
↓ 3 callersFunctionparse_value
(toks, start_idx, tables_with_alias, schema, default_tables=None)
hardness_eval.py:299
↓ 3 callersFunctionparse_value
(toks, start_idx, tables_with_alias, schema, default_tables=None)
evaluation/ts_old/spider-master/process_sql.py:270
↓ 3 callersFunctionparse_value
(toks, start_idx, tables_with_alias, schema, default_tables=None)
evaluation/test-suite-sql-eval/process_sql.py:270
↓ 3 callersFunctionpreprocess_sql_dataset
(data_file,ast_file)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sql_dataset.py:154
↓ 3 callersFunctionpython_ast_to_parse_tree
(node)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/parse.py:14
↓ 3 callersFunctionrebuild_condition_col
(valid_col_units, condition, kmap)
single_eval.py:807
↓ 3 callersFunctionrebuild_condition_col
(valid_col_units, condition, kmap)
evaluation/ts_old/spider-master/evaluation.py:738
↓ 3 callersFunctionrebuild_condition_col
(valid_col_units, condition, kmap)
evaluation/test-suite-sql-eval/evaluation.py:877
↓ 3 callersFunctionrebuild_condition_val
(condition)
single_eval.py:728
↓ 3 callersFunctionrebuild_condition_val
(condition)
evaluation/ts_old/spider-master/evaluation.py:659
↓ 3 callersFunctionrebuild_condition_val
(condition)
evaluation/test-suite-sql-eval/evaluation.py:798
↓ 3 callersFunctionrebuild_val_unit_col
(valid_col_units, val_unit, kmap)
single_eval.py:778
↓ 3 callersFunctionrebuild_val_unit_col
(valid_col_units, val_unit, kmap)
evaluation/ts_old/spider-master/evaluation.py:709
↓ 3 callersFunctionrebuild_val_unit_col
(valid_col_units, val_unit, kmap)
evaluation/test-suite-sql-eval/evaluation.py:848
↓ 3 callersFunctionseq2tree_repr_to_ast_tree
(tree_repr)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/seq2tree_exp.py:82
↓ 3 callersFunctionto_batch_seq
(sql_data, table_data, idxes, st, ed, schemas, ret_vis_data=False)
evaluation/ts_old/spider-master/baselines/sqlnet/scripts/utils.py:64
↓ 3 callersFunctionto_batch_seq
(sql_data, table_data, idxes, st, ed, schemas, ret_vis_data=False)
evaluation/ts_old/spider-master/baselines/typesql/scripts/utils.py:64
↓ 3 callersFunctiontokenize
(str)
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:104
↓ 3 callersMethodtrain
(self)
evaluation/ts_old/spider-master/baselines/nl2code/learner.py:27
↓ 3 callersFunctionunbatch_dict
Converts a dictionary of batch items to a batch/list of dictionary items.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py:32
↓ 3 callersFunctionuniform
(shape, scale=0.01, name=None)
evaluation/ts_old/spider-master/baselines/nl2code/nn/initializations.py:14
↓ 3 callersFunctionvariableFromSentence
(lang, sentence)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/plot-1.py:57
↓ 2 callersMethod__init__
Initializer. Args: initialize_fn: callable that returns `(finished, next_inputs)` for the first iteration. sample_fn: callabl
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/helper.py:96
↓ 2 callersMethod__init__
(self, params, mode, name="bidi_rnn_encoder")
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:118
↓ 2 callersMethod__init__
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:38
↓ 2 callersMethod__init__
(self, params, mode, vocab_size, attention_keys,
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py:82
↓ 2 callersMethod__init__
(self, *args)
evaluation/ts_old/spider-master/baselines/nl2code/components.py:54
↓ 2 callersMethod_calculate_softmax
(self, list_of_contexts)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py:175
← previousnext →101–200 of 1,466, ranked by callers