MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/jesb/utils.py:53
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/zwfc/utils.py:54
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/htfl/utils.py:53
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/jesbl/utils.py:54
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/sfzyza/utils.py:55
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/htfltpu/utils.py:53
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/lbwj/utils.py:53
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/ayfl/utils.py:53
↓ 2 callersFunctionload_torch_model
Load state dict to model. Args: model: model to be loaded model_path: state dict file path Returns: loaded model
CAIL2020/sfzyzb/utils.py:53
↓ 2 callersMethodload_train_and_valid_files
Load all files for SMP-CAIL2020-Argmine. Args: train_file, valid_file: files for SMP-CAIL2020-Argmine Returns:
CAIL2020/sfksy/data.py:160
↓ 2 callersMethodload_train_and_valid_files
Load all files for SMP-CAIL2020-Argmine. Args: train_file, valid_file: files for SMP-CAIL2020-Argmine Returns:
CAIL2020/ydljtpu/data.py:261
↓ 2 callersMethodload_train_and_valid_files
Load all files for SMP-CAIL2020-Argmine. Args: train_file, valid_file: files for SMP-CAIL2020-Argmine Returns:
CAIL2020/ydljx/data.py:261
↓ 2 callersMethodload_train_and_valid_files
Load all files for SMP-CAIL2020-Argmine. Args: train_file, valid_file: files for SMP-CAIL2020-Argmine Returns:
CAIL2020/ydljy/data.py:160
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
CAIL2020/ydlj/baseline/transformers/tokenization_bert.py:89
↓ 2 callersMethodlr_classification
(self, contents)
CAIL2018/xsfl/tensorflow_server_v2.py:178
↓ 2 callersMethodlr_classification
(self, contents)
CAIL2020/jesb/tensorflow_server_v2.py:178
↓ 2 callersFunctionmain
()
CAIL2020/lawbert/run_language_modeling.py:139
↓ 2 callersFunctionmakeData
(srcFile, tgtFile, srcDicts, tgtDicts, sort = False)
CAIL2020/sfzywg/rouge/preprocessing.py:95
↓ 2 callersFunctionmakeData
(srcFile, tgtFile, srcDicts, tgtDicts, sort = False)
CAIL2020/sfzyzc/rouge/preprocessing.py:95
↓ 2 callersFunctionmerge_eval
(main_eval, new_eval, prefix)
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:123
↓ 2 callersFunctionp_f1
(dic)
CAIL2020/sfkst/evaluate.py:47
↓ 2 callersFunctionp_f1
(dic)
CAIL2020/sfksu/evaluate.py:47
↓ 2 callersFunctionprecision
(dic)
CAIL2020/sfks/judge/precision.py:20
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljz/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljztpus/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljzt/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydlj/baseline/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljtpu/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljztpu/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljx/train.py:57
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljx/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljz(hong)tpu/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljy/train.py:58
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljy/run_cail.py:56
↓ 2 callersFunctionpredict
(model, dataloader, example_dict, feature_dict, prediction_file, need_sp_logit_file=False)
CAIL2020/ydljz(hong)/run_cail.py:56
↓ 2 callersMethodpredict_from_pb
(self, document)
CAIL2018/xsfl/tensorflow_server.py:138
↓ 2 callersMethodpredict_from_pb
(self, document)
CAIL2018/xsfl/tensorflow_server_v2.py:196
↓ 2 callersMethodpredict_from_pb
(self, document)
CAIL2020/jesb/tensorflow_server.py:138
↓ 2 callersMethodpredict_from_pb
(self, document)
CAIL2020/jesb/tensorflow_server_v2.py:198
↓ 2 callersMethodprepare_config_and_inputs_for_decoder
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_bert_test.py:127
↓ 2 callersMethodpresign
Call HF API to get a presigned url to upload `filename` to S3.
CAIL2020/ydlj/baseline/transformers/hf_api.py:103
↓ 2 callersMethodpresign_and_upload
Get a presigned url, then upload file to S3. Outputs: url: Read-only url for the stored file on S3.
CAIL2020/ydlj/baseline/transformers/hf_api.py:118
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/ruleresult/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/gbtimportance/gbttrain.py:45
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/filter/gbttrain.py:39
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/rulefact/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/gbtrank/gbttrain.py:40
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/ruleopinion/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyy/rulepropose/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/ruleresult/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/gbtimportance/gbttrain.py:45
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/filter/gbttrain.py:39
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/rulefact/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/gbtrank/gbttrain.py:40
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/ruleopinion/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzy/rulepropose/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/ruleresult/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/gbtimportance/gbttrain.py:45
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/filter/gbttrain.py:39
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/rulefact/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/gbtrank/gbttrain.py:40
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/ruleopinion/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfzyzc/sfzyy/rulepropose/gbttrain.py:38
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfks/gbt/gbttrain-option-all2.py:105
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfks/gbt/gbttrain-option.py:39
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfks/gbt/gbttrain-option-all.py:78
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfks/gbt/gbttrain-option-all3.py:121
↓ 2 callersFunctionprint_mem
()
CAIL2020/sfks/gbt/gbttrain.py:39
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfzyy/gbtimportance/CheckImportance.py:27
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfzyy/gbtrank/CompRank.py:33
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfzy/gbtimportance/CheckImportance.py:33
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfzy/gbtrank/CompRank.py:33
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfzyzc/sfzyy/gbtimportance/CheckImportance.py:33
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfzyzc/sfzyy/gbtrank/CompRank.py:33
↓ 2 callersMethodprint_mem
(self)
CAIL2020/sfks/gbt/SingleMulti.py:33
↓ 2 callersFunctionprocess_context
(line)
CAIL2020/sfzyzc/sfzyzb/termmatch.py:13
↓ 2 callersFunctionprocess_context
(line)
CAIL2020/sfzyzb/termmatch.py:13
↓ 2 callersMethodprune_heads
(self, heads)
CAIL2020/ydlj/baseline/transformers/modeling_xlm.py:116
↓ 2 callersMethodrandom_select
(self, axis, max_size)
CAIL2020/cocr/torchocr/datasets/det_modules/random_crop_data.py:89
↓ 2 callersMethodrefresh
(self)
CAIL2020/ydljz/data_iterator_pack.py:25
↓ 2 callersMethodrefresh
(self)
CAIL2020/ydljzs/data_iterator_pack.py:25
↓ 2 callersMethodrefresh
(self)
CAIL2020/ydljzt/data_iterator_pack.py:25
↓ 2 callersMethodrefresh
(self)
CAIL2020/ydlj/baseline/tools/data_iterator_pack.py:24
↓ 2 callersMethodrefresh
(self)
CAIL2020/ydljz(hong)/data_iterator_pack.py:25
↓ 2 callersMethodregion_wise_random_select
(self, regions, max_size)
CAIL2020/cocr/torchocr/datasets/det_modules/random_crop_data.py:97
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljz/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljzs/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljztpus/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljzt/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljtpu/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljztpu/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljx/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljz(hong)tpu/data_process.py:301
↓ 2 callersFunctionrelocate_tok_span
(orig_start_position, orig_end_position, orig_text)
CAIL2020/ydljz(hong)/data_process.py:301
↓ 2 callersMethodreset
Resets the accumulated gradients.
CAIL2020/ydlj/baseline/transformers/optimization_tf.py:233
↓ 2 callersMethodrouge_classification
(self, title)
CAIL2020/hyfl/torch_server.py:55
↓ 2 callersMethodsave_token
Save token, creating folder as needed.
CAIL2020/ydlj/baseline/transformers/hf_api.py:189
↓ 2 callersMethodseq2Htensor
(self, docs, max_sent, max_sent_len, v1=0, v2=0)
CAIL2020/sfks/formatter/qa/Comatch.py:39
↓ 2 callersFunctionset_config
()
CAIL2020/ydljztpus/config.py:20
↓ 2 callersFunctionset_config
()
CAIL2020/ydljztpu/config.py:20
← previousnext →1,101–1,200 of 6,528, ranked by callers