Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Determined22/zh-NER-TF
/ functions
Functions
32 in github.com/Determined22/zh-NER-TF
⨍
Functions
32
◇
Types & classes
1
↓ 3 callers
Function
batch_yield
:param data: :param batch_size: :param vocab: :param tag2label: :param shuffle: :return:
data.py:134
↓ 3 callers
Method
build_graph
(self)
model.py:34
↓ 3 callers
Function
read_corpus
read corpus and return the list of samples :param corpus_path: :return: data
data.py:12
↓ 2 callers
Method
add_summary
:param sess: :return:
model.py:138
↓ 2 callers
Method
dev_one_epoch
:param sess: :param dev: :return:
model.py:247
↓ 2 callers
Method
evaluate
:param label_list: :param seq_len_list: :param data: :param epoch: :return:
model.py:284
↓ 2 callers
Method
get_feed_dict
:param seqs: :param labels: :param lr: :param dropout: :return: feed_dict
model.py:224
↓ 2 callers
Function
get_logger
(filename)
utils.py:90
↓ 2 callers
Function
pad_sequences
:param sequences: :param pad_mark: :return:
data.py:117
↓ 2 callers
Method
predict_one_batch
:param sess: :param seqs: :return: label_list seq_len_list
model.py:261
↓ 1 callers
Method
add_placeholders
(self)
model.py:43
↓ 1 callers
Method
biLSTM_layer_op
(self)
model.py:62
↓ 1 callers
Function
conlleval
:param label_predict: :param label_path: :param metric_path: :return:
eval.py:4
↓ 1 callers
Method
demo_one
:param sess: :param sent: :return:
model.py:171
↓ 1 callers
Function
get_LOC_entity
(tag_seq, char_seq)
utils.py:44
↓ 1 callers
Function
get_ORG_entity
(tag_seq, char_seq)
utils.py:67
↓ 1 callers
Function
get_PER_entity
(tag_seq, char_seq)
utils.py:21
↓ 1 callers
Function
get_entity
(tag_seq, char_seq)
utils.py:14
↓ 1 callers
Method
init_op
(self)
model.py:135
↓ 1 callers
Method
lookup_layer_op
(self)
model.py:51
↓ 1 callers
Method
loss_op
(self)
model.py:92
↓ 1 callers
Function
random_embedding
:param vocab: :param embedding_dim: :return:
data.py:105
↓ 1 callers
Function
read_dictionary
:param vocab_path: :return:
data.py:92
↓ 1 callers
Method
run_one_epoch
:param sess: :param train: :param dev: :param tag2label: :param epoch: :param saver: :return
model.py:188
↓ 1 callers
Function
sentence2id
:param sent: :param word2id: :return:
data.py:73
↓ 1 callers
Method
softmax_pred_op
(self)
model.py:108
↓ 1 callers
Method
test
(self, test)
model.py:163
↓ 1 callers
Method
train
:param train: :param dev: :return:
model.py:147
↓ 1 callers
Method
trainstep_op
(self)
model.py:113
Method
__init__
(self, args, embeddings, tag2label, vocab, paths, config)
model.py:13
Function
str2bool
(v)
utils.py:4
Function
vocab_build
:param vocab_path: :param corpus_path: :param min_count: :return:
data.py:34