MCPcopy Create free account

hub / github.com/Xu-Wave/EA-CKGQA / functions

Functions209 in github.com/Xu-Wave/EA-CKGQA

↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
命名实体识别/bert/run_classifier.py:619
↓ 1 callersFunctionmodel_fn_builder
Returns `model_fn` closure for TPUEstimator.
命名实体识别/bert/extract_features.py:148
↓ 1 callersMethodprocess_feature
Write a InputFeature to the TFRecordWriter as a tf.train.Example.
命名实体识别/bert/run_squad.py:1067
↓ 1 callersMethodquery
(self, username, password, db_name, sparql)
gStore配置/GstoreConnector.py:75
↓ 1 callersFunctionread_examples
Read a list of `InputExample`s from an input file.
命名实体识别/bert/extract_features.py:319
↓ 1 callersMethodrun_tester
(self, tester)
命名实体识别/bert/modeling_test.py:135
↓ 1 callersMethodto_dict
Serializes this instance to a Python dictionary.
命名实体识别/bert/modeling.py:97
↓ 1 callersMethodto_json_string
Serializes this instance to a JSON string.
命名实体识别/bert/modeling.py:102
↓ 1 callersFunctiontransformer_model
Multi-headed, multi-layer Transformer from "Attention is All You Need". This is almost an exact implementation of the original Transformer encoder.
命名实体识别/bert/modeling.py:754
↓ 1 callersFunctiontruncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
命名实体识别/bert/create_pretraining_data.py:418
↓ 1 callersFunctionvalidate_flags_or_throw
Validate the input FLAGS or throw an exception.
命名实体识别/bert/run_squad.py:1097
↓ 1 callersFunctionwrite_instance_to_example_files
Create TF example files from `TrainingInstance`s.
命名实体识别/bert/create_pretraining_data.py:96
↓ 1 callersFunctionwrite_predictions
Write final predictions to the json file and log-odds of null if needed.
命名实体识别/bert/run_squad.py:741
Method__init__
(self, ip, port)
gStore配置/GstoreConnector.py:14
Method__init__
(self, qas_id, question_text, doc_tokens, orig_ans
命名实体识别/bert/run_squad.py:163
Method__init__
(self, unique_id, example_index, doc_span_index, t
命名实体识别/bert/run_squad.py:200
Method__init__
(self, filename, is_training)
命名实体识别/bert/run_squad.py:1061
Method__init__
(self, parent, batch_size=13, seq_length=7,
命名实体识别/bert/modeling_test.py:33
Method__init__
(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels, is_random_next)
命名实体识别/bert/create_pretraining_data.py:71
Method__init__
(self, vocab_file, do_lower_case=True)
命名实体识别/bert/tokenization.py:164
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
命名实体识别/bert/tokenization.py:188
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=200)
命名实体识别/bert/tokenization.py:303
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first sequence. For sin
命名实体识别/bert/run_classifier.py:130
Method__init__
(self, input_ids, input_mask, segment_ids, label_i
命名实体识别/bert/run_classifier.py:164
Method__init__
(self)
命名实体识别/bert/run_classifier.py:210
Method__init__
Constructs a AdamWeightDecayOptimizer.
命名实体识别/bert/optimization.py:90
Method__init__
Constructs BertConfig. Args: vocab_size: Vocabulary size of `inputs_ids` in `BertModel`. hidden_size: Size of the encoder layers and
命名实体识别/bert/modeling.py:34
Method__init__
Constructor for BertModel. Args: config: `BertConfig` instance. is_training: bool. true for training model, false for eval model. Con
命名实体识别/bert/modeling.py:131
Method__init__
(self, unique_id, text_a, text_b)
命名实体识别/bert/extract_features.py:83
Method__init__
(self, unique_id, tokens, input_ids, input_mask, input_type_ids)
命名实体识别/bert/extract_features.py:92
Method__repr__
(self)
命名实体识别/bert/create_pretraining_data.py:92
Method__str__
(self)
命名实体识别/bert/run_squad.py:179
Functionappend_feature
(feature)
命名实体识别/bert/run_squad.py:1226
Methodbuild
(self, db_name, rdf_file_path, username, password)
gStore配置/GstoreConnector.py:67
Methodcheckpoint
(self, db_name)
gStore配置/GstoreConnector.py:100
Functionconvert_examples_to_features
Convert a set of `InputExample`s to a list of `InputFeatures`.
命名实体识别/bert/run_classifier.py:767
Functionconvert_ids_to_tokens
(inv_vocab, ids)
命名实体识别/bert/tokenization.py:148
Methodconvert_ids_to_tokens
(self, ids)
命名实体识别/bert/tokenization.py:181
Functionconvert_tokens_to_ids
(vocab, tokens)
命名实体识别/bert/tokenization.py:144
Functioncos_sim
(vector_a, vector_b)
由已知实体抽取子图等操作/cos_sim_and_delete_get_type.py:8
Methodcreate_int_feature
(values)
命名实体识别/bert/run_squad.py:1071
Functioncreate_optimizer
Creates an optimizer training op.
命名实体识别/bert/optimization.py:25
Functiondelete_get_type
()
由已知实体抽取子图等操作/cos_sim_and_delete_get_type.py:18
Functiongelu
Gaussian Error Linear Unit. This is a smoother version of the RELU. Original paper: https://arxiv.org/abs/1606.08415 Args: x: float Tensor
命名实体识别/bert/modeling.py:264
Functionget_assignment_map_from_checkpoint
Compute the union of the current variables and checkpoint variables.
命名实体识别/bert/modeling.py:317
Methodget_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:232
Methodget_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:263
Methodget_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:304
Methodget_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:344
Methodget_labels
See base class.
命名实体识别/bert/run_classifier.py:250
Methodget_labels
See base class.
命名实体识别/bert/run_classifier.py:274
Methodget_labels
See base class.
命名实体识别/bert/run_classifier.py:314
Methodget_labels
See base class.
命名实体识别/bert/run_classifier.py:354
Methodget_test_examples
See base class.
命名实体识别/bert/run_classifier.py:269
Methodget_test_examples
See base class.
命名实体识别/bert/run_classifier.py:309
Methodget_test_examples
See base class.
命名实体识别/bert/run_classifier.py:349
Methodget_train_examples
See base class.
命名实体识别/bert/run_classifier.py:213
Methodget_train_examples
See base class.
命名实体识别/bert/run_classifier.py:258
Methodget_train_examples
See base class.
命名实体识别/bert/run_classifier.py:299
Methodget_train_examples
See base class.
命名实体识别/bert/run_classifier.py:339
Functiongetlist
()
由已知实体抽取子图等操作/z_inget.py:5
Functioninput_fn
The actual input function.
命名实体识别/bert/run_squad.py:715
Functioninput_fn
The actual input function.
命名实体识别/bert/run_pretraining.py:331
Functioninput_fn
The actual input function.
命名实体识别/bert/run_classifier.py:535
Functioninput_fn
The actual input function.
命名实体识别/bert/extract_features.py:114
Functioninput_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
命名实体识别/bert/run_classifier.py:713
Functionkeyword_chou
实体确认过后,再执行此函数才有效; 执行效果为 把实体index除去,其余关键词均放入列表中,并进行return输出,供向量化替换使用 :param form_seg_list:分词列表 :param form_pos_list:词性列表 :param fo
由已知实体抽取子图等操作/entity_keywords_chou.py:8
Functionmain
(_)
命名实体识别/bert/run_squad.py:1126
Functionmain
(_)
命名实体识别/bert/run_classifier_with_tfhub.py:158
Functionmain
(_)
命名实体识别/bert/run_pretraining.py:406
Functionmain
(_)
命名实体识别/bert/create_pretraining_data.py:436
Functionmain
(_)
命名实体识别/bert/run_classifier.py:783
Functionmain
(_)
命名实体识别/bert/extract_features.py:343
Functionmention2ent_on_work
(ready_entity)
实体消歧/mention2ent_file_test.py:76
Functionmetric_fn
(per_example_loss, label_ids, logits)
命名实体识别/bert/run_classifier_with_tfhub.py:120
Functionmetric_fn
Computes the loss and accuracy of the model.
命名实体识别/bert/run_pretraining.py:187
Functionmetric_fn
(per_example_loss, label_ids, logits, is_real_example)
命名实体识别/bert/run_classifier.py:684
Functionmodel_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_squad.py:595
Functionmodel_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_classifier_with_tfhub.py:91
Functionmodel_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_pretraining.py:114
Functionmodel_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_classifier.py:624
Functionmodel_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/extract_features.py:152
Methodmonitor
(self, db_name)
gStore配置/GstoreConnector.py:96
Functionner_on_work
(str_input)
命名实体识别/NER_test.py:5
Functionnet
实现gStore的API连接,以及进行查询,后续会根据问题的类型进行相应的一些选项修改 :param sparql1: 查询语句1,以后可能会有查询语句2、3、4...
gStore配置/TT_Mission_gStore.py:15
Functionprintable_text
Returns text encoded in a way suitable for print or `tf.logging`.
命名实体识别/bert/tokenization.py:98
Functionprocess_in_data
()
实体消歧/mention2ent_file_test.py:55
Methodshow
(self)
gStore配置/GstoreConnector.py:84
MethodshowUser
(self)
gStore配置/GstoreConnector.py:92
Methodtest_adam
(self)
命名实体识别/bert/optimization_test.py:25
Methodtest_basic_tokenizer_lower
(self)
命名实体识别/bert/tokenization_test.py:58
Methodtest_basic_tokenizer_no_lower
(self)
命名实体识别/bert/tokenization_test.py:66
Methodtest_chinese
(self)
命名实体识别/bert/tokenization_test.py:51
Methodtest_config_to_json_string
(self)
命名实体识别/bert/modeling_test.py:129
Methodtest_convert_tokens_to_ids
(self)
命名实体识别/bert/tokenization_test.py:93
Methodtest_default
(self)
命名实体识别/bert/modeling_test.py:126
Methodtest_full_tokenizer
(self)
命名实体识别/bert/tokenization_test.py:28
Methodtest_is_control
(self)
命名实体识别/bert/tokenization_test.py:117
Methodtest_is_punctuation
(self)
命名实体识别/bert/tokenization_test.py:126
Methodtest_is_whitespace
(self)
命名实体识别/bert/tokenization_test.py:107
← previousnext →101–200 of 209, ranked by callers