Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Xu-Wave/EA-CKGQA
/ functions
Functions
209 in github.com/Xu-Wave/EA-CKGQA
⨍
Functions
209
◇
Types & classes
25
↓ 1 callers
Function
model_fn_builder
Returns `model_fn` closure for TPUEstimator.
命名实体识别/bert/run_classifier.py:619
↓ 1 callers
Function
model_fn_builder
Returns `model_fn` closure for TPUEstimator.
命名实体识别/bert/extract_features.py:148
↓ 1 callers
Method
process_feature
Write a InputFeature to the TFRecordWriter as a tf.train.Example.
命名实体识别/bert/run_squad.py:1067
↓ 1 callers
Method
query
(self, username, password, db_name, sparql)
gStore配置/GstoreConnector.py:75
↓ 1 callers
Function
read_examples
Read a list of `InputExample`s from an input file.
命名实体识别/bert/extract_features.py:319
↓ 1 callers
Method
run_tester
(self, tester)
命名实体识别/bert/modeling_test.py:135
↓ 1 callers
Method
to_dict
Serializes this instance to a Python dictionary.
命名实体识别/bert/modeling.py:97
↓ 1 callers
Method
to_json_string
Serializes this instance to a JSON string.
命名实体识别/bert/modeling.py:102
↓ 1 callers
Function
transformer_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 callers
Function
truncate_seq_pair
Truncates a pair of sequences to a maximum sequence length.
命名实体识别/bert/create_pretraining_data.py:418
↓ 1 callers
Function
validate_flags_or_throw
Validate the input FLAGS or throw an exception.
命名实体识别/bert/run_squad.py:1097
↓ 1 callers
Function
write_instance_to_example_files
Create TF example files from `TrainingInstance`s.
命名实体识别/bert/create_pretraining_data.py:96
↓ 1 callers
Function
write_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
Function
append_feature
(feature)
命名实体识别/bert/run_squad.py:1226
Method
build
(self, db_name, rdf_file_path, username, password)
gStore配置/GstoreConnector.py:67
Method
checkpoint
(self, db_name)
gStore配置/GstoreConnector.py:100
Function
convert_examples_to_features
Convert a set of `InputExample`s to a list of `InputFeatures`.
命名实体识别/bert/run_classifier.py:767
Function
convert_ids_to_tokens
(inv_vocab, ids)
命名实体识别/bert/tokenization.py:148
Method
convert_ids_to_tokens
(self, ids)
命名实体识别/bert/tokenization.py:181
Function
convert_tokens_to_ids
(vocab, tokens)
命名实体识别/bert/tokenization.py:144
Function
cos_sim
(vector_a, vector_b)
由已知实体抽取子图等操作/cos_sim_and_delete_get_type.py:8
Method
create_int_feature
(values)
命名实体识别/bert/run_squad.py:1071
Function
create_optimizer
Creates an optimizer training op.
命名实体识别/bert/optimization.py:25
Function
delete_get_type
()
由已知实体抽取子图等操作/cos_sim_and_delete_get_type.py:18
Function
gelu
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
Function
get_assignment_map_from_checkpoint
Compute the union of the current variables and checkpoint variables.
命名实体识别/bert/modeling.py:317
Method
get_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:232
Method
get_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:263
Method
get_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:304
Method
get_dev_examples
See base class.
命名实体识别/bert/run_classifier.py:344
Method
get_labels
See base class.
命名实体识别/bert/run_classifier.py:250
Method
get_labels
See base class.
命名实体识别/bert/run_classifier.py:274
Method
get_labels
See base class.
命名实体识别/bert/run_classifier.py:314
Method
get_labels
See base class.
命名实体识别/bert/run_classifier.py:354
Method
get_test_examples
See base class.
命名实体识别/bert/run_classifier.py:269
Method
get_test_examples
See base class.
命名实体识别/bert/run_classifier.py:309
Method
get_test_examples
See base class.
命名实体识别/bert/run_classifier.py:349
Method
get_train_examples
See base class.
命名实体识别/bert/run_classifier.py:213
Method
get_train_examples
See base class.
命名实体识别/bert/run_classifier.py:258
Method
get_train_examples
See base class.
命名实体识别/bert/run_classifier.py:299
Method
get_train_examples
See base class.
命名实体识别/bert/run_classifier.py:339
Function
getlist
()
由已知实体抽取子图等操作/z_inget.py:5
Function
input_fn
The actual input function.
命名实体识别/bert/run_squad.py:715
Function
input_fn
The actual input function.
命名实体识别/bert/run_pretraining.py:331
Function
input_fn
The actual input function.
命名实体识别/bert/run_classifier.py:535
Function
input_fn
The actual input function.
命名实体识别/bert/extract_features.py:114
Function
input_fn_builder
Creates an `input_fn` closure to be passed to TPUEstimator.
命名实体识别/bert/run_classifier.py:713
Function
keyword_chou
实体确认过后,再执行此函数才有效; 执行效果为 把实体index除去,其余关键词均放入列表中,并进行return输出,供向量化替换使用 :param form_seg_list:分词列表 :param form_pos_list:词性列表 :param fo
由已知实体抽取子图等操作/entity_keywords_chou.py:8
Function
main
(_)
命名实体识别/bert/run_squad.py:1126
Function
main
(_)
命名实体识别/bert/run_classifier_with_tfhub.py:158
Function
main
(_)
命名实体识别/bert/run_pretraining.py:406
Function
main
(_)
命名实体识别/bert/create_pretraining_data.py:436
Function
main
(_)
命名实体识别/bert/run_classifier.py:783
Function
main
(_)
命名实体识别/bert/extract_features.py:343
Function
mention2ent_on_work
(ready_entity)
实体消歧/mention2ent_file_test.py:76
Function
metric_fn
(per_example_loss, label_ids, logits)
命名实体识别/bert/run_classifier_with_tfhub.py:120
Function
metric_fn
Computes the loss and accuracy of the model.
命名实体识别/bert/run_pretraining.py:187
Function
metric_fn
(per_example_loss, label_ids, logits, is_real_example)
命名实体识别/bert/run_classifier.py:684
Function
model_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_squad.py:595
Function
model_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_classifier_with_tfhub.py:91
Function
model_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_pretraining.py:114
Function
model_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/run_classifier.py:624
Function
model_fn
The `model_fn` for TPUEstimator.
命名实体识别/bert/extract_features.py:152
Method
monitor
(self, db_name)
gStore配置/GstoreConnector.py:96
Function
ner_on_work
(str_input)
命名实体识别/NER_test.py:5
Function
net
实现gStore的API连接,以及进行查询,后续会根据问题的类型进行相应的一些选项修改 :param sparql1: 查询语句1,以后可能会有查询语句2、3、4...
gStore配置/TT_Mission_gStore.py:15
Function
printable_text
Returns text encoded in a way suitable for print or `tf.logging`.
命名实体识别/bert/tokenization.py:98
Function
process_in_data
()
实体消歧/mention2ent_file_test.py:55
Method
show
(self)
gStore配置/GstoreConnector.py:84
Method
showUser
(self)
gStore配置/GstoreConnector.py:92
Method
test_adam
(self)
命名实体识别/bert/optimization_test.py:25
Method
test_basic_tokenizer_lower
(self)
命名实体识别/bert/tokenization_test.py:58
Method
test_basic_tokenizer_no_lower
(self)
命名实体识别/bert/tokenization_test.py:66
Method
test_chinese
(self)
命名实体识别/bert/tokenization_test.py:51
Method
test_config_to_json_string
(self)
命名实体识别/bert/modeling_test.py:129
Method
test_convert_tokens_to_ids
(self)
命名实体识别/bert/tokenization_test.py:93
Method
test_default
(self)
命名实体识别/bert/modeling_test.py:126
Method
test_full_tokenizer
(self)
命名实体识别/bert/tokenization_test.py:28
Method
test_is_control
(self)
命名实体识别/bert/tokenization_test.py:117
Method
test_is_punctuation
(self)
命名实体识别/bert/tokenization_test.py:126
Method
test_is_whitespace
(self)
命名实体识别/bert/tokenization_test.py:107
← previous
next →
101–200 of 209, ranked by callers