MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

↓ 2 callersFunctioncompute_loss
(batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljy/run_cail.py:42
↓ 2 callersFunctioncompute_loss
(batch, start_logits, end_logits, type_logits, sp_logits, start_position, end_position)
CAIL2020/ydljz(hong)/run_cail.py:42
↓ 2 callersMethodconvert
(self, tokens, l, bk=False)
CAIL2020/sfksz/formatter/WordFormatter.py:23
↓ 2 callersMethodconvert
(self, tokens, l, bk=False)
CAIL2020/sfksz/formatter/BertWordFormatter.py:24
↓ 2 callersMethodconvert
(self, tokens, l, bk=False)
CAIL2020/sfksz/formatter/MultiWordFormatter.py:23
↓ 2 callersMethodconvert
(self, tokens, which, l)
CAIL2020/sfkst/data.py:20
↓ 2 callersMethodconvert
(self, tokens, l, bk=False)
CAIL2020/sfks/formatter/qa/Word.py:25
↓ 2 callersMethodconvert
(self, tokens, which, l)
CAIL2020/sfks/formatter/qa/Bert.py:18
↓ 2 callersMethodconvert
(self, tokens, which, l)
CAIL2020/sfks/formatter/qa/Bert.py:147
↓ 2 callersMethodconvert
(self, tokens, l)
CAIL2020/sfks/formatter/qa/Char.py:16
↓ 2 callersMethodconvertToIdx
(self, labels, unkWord, bosWord=None, eosWord=None)
CAIL2020/sfzywg/rouge/dict.py:124
↓ 2 callersMethodconvertToIdx
(self, labels, unkWord, bosWord=None, eosWord=None)
CAIL2020/sfzyzc/rouge/dict.py:124
↓ 2 callersFunctionconvert_gpt2_checkpoint_to_pytorch
(gpt2_checkpoint_path, gpt2_config_file, pytorch_dump_folder_path)
CAIL2020/ydlj/baseline/transformers/convert_gpt2_original_tf_checkpoint_to_pytorch.py:33
↓ 2 callersMethodconvert_ids_to_tokens
Convert tokens to ids. Args: tokens_list: word list Returns: index list
CAIL2020/jesbl/data.py:97
↓ 2 callersFunctionconvert_openai_checkpoint_to_pytorch
(openai_checkpoint_folder_path, openai_config_file, pytorch_dump_folder_path)
CAIL2020/ydlj/baseline/transformers/convert_openai_original_tf_checkpoint_to_pytorch.py:33
↓ 2 callersFunctionconvert_tf_checkpoint_to_pytorch
(tf_checkpoint_path, bert_config_file, pytorch_dump_path)
CAIL2020/ydlj/baseline/transformers/convert_bert_original_tf_checkpoint_to_pytorch.py:29
↓ 2 callersFunctionconvert_tf_weight_name_to_pt_weight_name
Convert a TF 2.0 model variable name in a pytorch model weight name. Conventions for TF2.0 scopes -> PyTorch attribute names conversions:
CAIL2020/ydlj/baseline/transformers/modeling_tf_pytorch_utils.py:28
↓ 2 callersFunctionconvert_to_tokens
(example, features, ids, y1, y2, q_type)
CAIL2020/ydljztpu/tools/utils.py:104
↓ 2 callersMethodconvert_tokens_to_ids
Convert tokens to ids. Args: tokens_list: word list Returns: index list
CAIL2020/jesb/data.py:82
↓ 2 callersMethodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string. The most simple way to do it is ' '.join(self.convert_ids_to_tokens(token_ids)
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:1149
↓ 2 callersFunctionconvert_transfo_xl_checkpoint_to_pytorch
(tf_checkpoint_path, transfo_xl_config_file,
CAIL2020/ydlj/baseline/transformers/convert_transfo_xl_original_tf_checkpoint_to_pytorch.py:48
↓ 2 callersFunctionconvert_xlm_checkpoint_to_pytorch
(xlm_checkpoint_path, pytorch_dump_folder_path)
CAIL2020/ydlj/baseline/transformers/convert_xlm_original_pytorch_checkpoint_to_pytorch.py:32
↓ 2 callersFunctionconvert_xlnet_checkpoint_to_pytorch
(tf_checkpoint_path, bert_config_file, pytorch_dump_folder_path, finetuning_task=None)
CAIL2020/ydlj/baseline/transformers/convert_xlnet_original_tf_checkpoint_to_pytorch.py:46
↓ 2 callersFunctioncut
(s)
CAIL2020/sfksz/utils/jiebacutter.py:13
↓ 2 callersFunctioncut
(s)
CAIL2020/sfksz/utils/cutter.py:11
↓ 2 callersMethodcut_text
(self, alltext)
CAIL2020/znwd/summarizer.py:12
↓ 2 callersMethodcut_text
(self, alltext)
CAIL2020/sfks/gbt/SingleMulti.py:22
↓ 2 callersMethodcut_text
(self, alltext)
CAIL2020/lbwjtpu/summarizer.py:12
↓ 2 callersMethodcut_text
(self, alltext)
CAIL2020/lbwj/summarizer.py:12
↓ 2 callersMethodcut_text
(self, alltext)
CAIL2020/lbwjx/summarizer.py:12
↓ 2 callersFunctiondfs_search
(path, recursive)
CAIL2020/sfkst/dataset_tool.py:4
↓ 2 callersFunctiondfs_search
(path, recursive)
CAIL2020/sfksx/dataset_tool.py:4
↓ 2 callersFunctiondigit2formal
(word, prefix_type = 0)
CAIL2020/jesb/datagen/contract_gen_v7.py:85
↓ 2 callersFunctiondigit2formal
(word)
CAIL2020/jesb/datagen/contract_gen_v6.py:85
↓ 2 callersFunctiondigit2formal
(word, prefix_type = 0)
CAIL2020/jesb/datagen/contract_gen_v8.py:126
↓ 2 callersMethoddistance
compute the distance from point to a line ys: coordinates in the first axis xs: coordinates in the second axis point_
CAIL2020/cocr/torchocr/datasets/det_modules/make_border_map.py:91
↓ 2 callersFunctiondraw_bbox
(img_path, result, color=(255, 0, 0), thickness=2)
CAIL2020/cocr/torchocr/utils/vis.py:65
↓ 2 callersMethodempty
(self)
CAIL2020/ydljzs/data_iterator_pack.py:30
↓ 2 callersMethodempty
(self)
CAIL2020/ydljzt/data_iterator_pack.py:30
↓ 2 callersMethodempty
(self)
CAIL2020/ydlj/baseline/tools/data_iterator_pack.py:29
↓ 2 callersMethodempty
(self)
CAIL2020/ydljtpu/data_iterator_pack.py:30
↓ 2 callersMethodempty
(self)
CAIL2020/ydljz(hong)/data_iterator_pack.py:30
↓ 2 callersMethodevaluate_image
(self, gt, pred)
CAIL2020/cocr/torchocr/metrics/iou_utils.py:37
↓ 2 callersFunctionf1_score
(prediction, ground_truth)
CAIL2020/ydlj/evaluate/evaluate.py:26
↓ 2 callersMethodfindArticles
(self, contract_title)
CAIL2020/htflsen/articlebyarticle.py:55
↓ 2 callersMethodfindArticles_default_2
(self, contract_title)
CAIL2020/htflsen/articlebyarticle.py:69
↓ 2 callersFunctionfind_best_thresh
(preds, scores, na_probs, qid_to_has_ans)
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:175
↓ 2 callersFunctionfind_best_thresh_v2
(preds, scores, na_probs, qid_to_has_ans)
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:128
↓ 2 callersFunctionflatten
(ll)
CAIL2020/zwfc/main.py:128
↓ 2 callersFunctionflatten
(ll)
CAIL2020/jesbl/main.py:126
↓ 2 callersMethodformat_check
文件格式验证 :param file_path: 文件路径 :return: Bool类型:是否通过格式检查,通过为True,反之False
CAIL2020/stsb/eval.py:31
↓ 2 callersFunctionformat_time
(seconds)
CAIL2020/sfzywg/rouge/utils.py:202
↓ 2 callersFunctionformat_time
(seconds)
CAIL2020/sfzyzc/rouge/utils.py:202
↓ 2 callersFunctiongen_amount
(formal = True)
CAIL2020/jesb/datagen/contract_gen.py:23
↓ 2 callersMethodgen_score
(self, arr)
CAIL2018/judger/judger.py:141
↓ 2 callersMethodgen_score
(self, arr)
CAIL2018/svc/judger/judger.py:141
↓ 2 callersFunctiongen_with_rule
(type = 0)
CAIL2020/jesb/classdata/contract_type_v1.py:115
↓ 2 callersFunctiongen_with_rule
(type = 0)
CAIL2020/jesb/datagen/contract_gen_v5.py:71
↓ 2 callersFunctiongen_with_rule
(type = 0)
CAIL2020/jesb/datagen/contract_gen_v4.py:73
↓ 2 callersFunctiongen_with_rule
(type = 0)
CAIL2020/jesb/datagen/contract_gen_v3.py:73
↓ 2 callersMethodgetIntention
(self, contract_title, contract_article)
CAIL2020/htflsen/torch_server.py:43
↓ 2 callersMethodget_abstract
(self, title, content)
CAIL2020/sfzyzc/torch_server.py:64
↓ 2 callersMethodget_batch
(self, i, bptt=None)
CAIL2020/ydlj/baseline/transformers/tokenization_transfo_xl.py:295
↓ 2 callersFunctionget_constant_schedule_with_warmup
Create a schedule with a constant learning rate preceded by a warmup period during which the learning rate increases linearly between 0 and 1.
CAIL2020/ydlj/baseline/transformers/optimization.py:33
↓ 2 callersFunctionget_cosine_schedule_with_warmup
Create a schedule with a learning rate that decreases following the values of the cosine function between 0 and `pi * cycles` after a warmup
CAIL2020/ydlj/baseline/transformers/optimization.py:57
↓ 2 callersFunctionget_cosine_with_hard_restarts_schedule_with_warmup
Create a schedule with a learning rate that decreases following the values of the cosine function with several hard restarts, after a warmup
CAIL2020/ydlj/baseline/transformers/optimization.py:71
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/ydljz/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/ydljzs/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/znwd/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/covid/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/hyfl/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/ydljzt/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/htflx/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/jesb/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/htfl/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/ayfl-4/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/sfzyzc/sfzyzb/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/htfltpu/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/lbwjtpu/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/rlfl/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/lbwj/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/sfksx/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/ayfl/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/lbwjx/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/ydljz(hong)/utils.py:26
↓ 2 callersFunctionget_csv_logger
Get csv logger. Args: log_file_name: file name title: first line in file log_format: default: '%(message)s' log_l
CAIL2020/sfzyzb/utils.py:26
↓ 2 callersFunctionget_dataset
(args: DataTrainingArguments, tokenizer: PreTrainedTokenizer, evaluate=False)
CAIL2020/lawbert/run_language_modeling.py:129
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljz/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljzs/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljztpus/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljzt/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydlj/baseline/tools/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljtpu/data_helper.py:58
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljztpu/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljx/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljz(hong)tpu/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljy/data_helper.py:47
↓ 2 callersMethodget_example_file
(self, tag)
CAIL2020/ydljz(hong)/data_helper.py:47
↓ 2 callersMethodget_feature_file
(self, tag)
CAIL2020/ydljz/data_helper.py:44
↓ 2 callersMethodget_feature_file
(self, tag)
CAIL2020/ydljzs/data_helper.py:44
← previousnext →901–1,000 of 6,528, ranked by callers