thu-coai / cotk

Conversational Toolkit. An Open-Source Toolkit for Fast Development and Fair Evaluation of Text Generation
Apache License 2.0
128 stars 27 forks source link

[Maintenance] Field测试情况 #444

Open hzhwcmhf opened 4 years ago

hzhwcmhf commented 4 years ago

Field没测的接口

加粗的是完全没测过的接口

接口名称 行数
Field (doc) 36
(doc) 86
_get_next 125
read_next 135
process_before_vocab 144
get_data_number 149
get_data 154
get_raw_data_hash 159
get_data_hash 164
(doc) 220
_InfiniteLength __new__ 235,239
Sentence __init__ 301,315,320-323
_create 328-329
get_pretrained_class 333
tokenize_sentences 372
tokenize 385-389
convert_ids_to_tokens 416
convert_ids_to_sentence 425-426
convert_sentence_to_ids 434
add_special_to_ids 443
remove_special_in_ids 452
process_sentences 480,483,485,492-496
(doc) 504
get_batch 507
trim_in_ids 516
_remove_special_in_ids 527-534
SentenceDefault remove_special_in_ids 577-581
get_batch 625
trim_in_ids 640-645
SentenceGPT2 __init__ 665-676
remove_special_in_ids 682-686
add_special_to_ids 679
get_batch 720-732
trim_in_ids 735-739
SentenceBERT __init__ 759-770
add_special_to_ids 773
remove_special_in_ids 776-780
get_batch 810-822
trim_in_ids 826-827
Session __init__ 920,930,928-932
process_sessions 976-981
_create 996-997
convert_multi_turn_tokens_to_ids 1006
convert_multi_turn_ids_to_tokens 1014
multi_turn_trim_in_ids 1024
get_pretrained_class 1028
get_candidate_pretrained_class 1035
SessionDefault get_batch 1157
SessionGPT2 __init__ 1192-1198
get_batch 1250-1263
SessionBERT __init__ 1283-1289
get_batch 1341-1354
SentenceCandidateGPT2 __init__ 1379
SentenceCandidateBERT __init__ 1392
_DenseLabelContent _get_next 1467
SparseLabel __init__ 1502
_SparseLabelContent _get_next 1575