MCPcopy Create free account

hub / github.com/ShenDezhou/CAIL / functions

Functions6,528 in github.com/ShenDezhou/CAIL

MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_gpt2_test.py:30
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_distilbert_test.py:209
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlm_test.py:292
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_bert_test.py:272
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_test.py:34
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_albert_test.py:31
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_ctrl_test.py:175
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_gpt2_test.py:202
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_openai_gpt_test.py:201
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_transfo_xl_test.py:189
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_openai_test.py:30
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_gpt2_test.py:221
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_japanese_test.py:127
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_roberta_test.py:185
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_transfo_xl_test.py:190
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_albert_test.py:208
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_xlnet_test.py:32
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_distilbert_test.py:189
MethodsetUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlnet_test.py:351
MethodsetUpClass
Share this valid token in all tests below.
CAIL2020/ydlj/baseline/transformers/tests/hf_api_test.py:49
Methodset_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_distilbert.py:434
Methodset_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_ctrl.py:302
Methodset_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:622
Methodset_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_transfo_xl.py:649
Methodset_input_embeddings
(self, value)
CAIL2020/ydlj/baseline/transformers/modeling_bert.py:626
Methodset_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_gpt2.py:370
Methodset_input_embeddings
(self, value)
CAIL2020/ydlj/baseline/transformers/modeling_albert.py:476
Methodset_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_openai.py:372
Methodset_input_embeddings
(self, value)
CAIL2020/ydlj/baseline/transformers/modeling_roberta.py:189
Functionset_random_seed
Set random seed. Args: seed (int): Seed to be used. use_cuda: whether depend on cuda deterministic (bool): Whether to set
CAIL2020/cocr/det_train.py:51
Functionset_random_seed
Set random seed. Args: seed (int): Seed to be used. use_cuda: whether depend on cuda deterministic (bool): Whether to set
CAIL2020/cocr/rec_train.py:49
Functionset_seed
(args)
CAIL2020/ydljz/train.py:330
Functionset_seed
(args)
CAIL2020/ydljzs/train.py:323
Functionset_seed
(args)
CAIL2020/ydljztpus/train.py:382
Functionset_seed
(args)
CAIL2020/ydljzt/train.py:326
Functionset_seed
(args)
CAIL2020/ydljztpu/train.py:385
Functionset_seed
(args)
CAIL2020/ydljz(hong)tpu/train.py:380
Functionset_seed
(args)
CAIL2020/ydljz(hong)/train.py:331
Methodsetparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:107
Methodsetparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:141
Methodsetparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:158
Methodsetparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:175
Methodsetparam
(self, lower=5, upper=85)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:192
Methodsetparam
(self, lower=5, upper=10)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:214
Methodsetparam
(self, lower=-5, upper=5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:245
Methodsetparam
(self, degree=5, angle=180)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:279
Methodsetparam
(self, rate=0.02)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:299
Methodsetparam
(self, max_rate=0.95, min_rate=0.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:318
Methodsetparam
(self, maxv=2)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:338
Methodsetparam
(self, maxv_h=4, maxv_w=4)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:359
Methodsetparam
(self, max_rate=1.2, min_rate=0.8)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:398
Methodshape
separate heads
CAIL2020/ydlj/baseline/transformers/modeling_distilbert.py:167
Methodshape
separate heads
CAIL2020/ydlj/baseline/transformers/modeling_tf_distilbert.py:228
Methodshape
projection
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlm.py:136
Functionshortenlines
(raw_html)
CAIL2020/sfzyza/data/pairalign.py:51
Functionsingle_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksz/tools/accuracy_tool.py:70
Functionsingle_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfkst/accuracy_tool.py:80
Functionsingle_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksu/accuracy_tool.py:80
Functionsingle_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfks/tools/accuracy_tool.py:80
Functionsingle_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksz/tools/accuracy_tool.py:162
Functionsingle_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfkst/accuracy_tool.py:146
Functionsingle_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksu/accuracy_tool.py:146
Functionsingle_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfks/tools/accuracy_tool.py:146
Functionslow
Decorator marking a test as slow. Slow tests are skipped by default. Set the RUN_SLOW environment variable to a truthy value to run them
CAIL2020/ydlj/baseline/transformers/tests/utils.py:31
Methodspecial_tokens_map
A dictionary mapping special token class attribute (cls_token, unk_token...) to their values ('<unk>', '<cls>'...)
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:1195
Methodsplit
(self, content)
CAIL2020/jesbl/torch_server.py:111
Methodsplit_on_token
(tok, text)
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:653
Methodsplit_on_tokens
(tok_list, text)
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:671
Functionsquad_convert_examples_to_features
Converts a list of examples into a list of features that can be directly given as data to a model. It is model-dependant and takes advantage
CAIL2020/ydlj/baseline/transformers/data/processors/squad.py:79
Functionsquad_evaluate
(examples, preds, no_answer_probs=None, no_answer_probability_threshold=1.0)
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:208
Methodstep
Number of accumulated steps.
CAIL2020/ydlj/baseline/transformers/optimization_tf.py:210
FunctionstrQ2B
全角转半角
CAIL2018/xsfl/tensorflow_server.py:101
FunctionstrQ2B
全角转半角
CAIL2018/xsfl/tensorflow_server_v2.py:127
FunctionstrQ2B
全角转半角
CAIL2020/jesb/tensorflow_server.py:101
FunctionstrQ2B
全角转半角
CAIL2020/jesb/tensorflow_server_v2.py:127
Methodsummarize
(self, statement)
CAIL2020/znwd/summarizer.py:27
Methodsummarize
(self, statement)
CAIL2020/lbwjtpu/summarizer.py:27
Methodsummarize
(self, statement)
CAIL2020/lbwj/summarizer.py:27
Methodsummarize
(self, statement)
CAIL2020/lbwjx/summarizer.py:27
Functionswish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:184
Functionswish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_openai.py:55
Functionswish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_bert.py:81
Functionswish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_bert.py:141
Functionswish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlnet.py:53
Functionswish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_openai.py:123
MethodtearDown
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:49
Functiontest
(parameters, config, gpu_list)
CAIL2020/sfks/tools/test_tool.py:13
Methodtest
(self, truth_path, output_path)
CAIL2018/judger/judger.py:162
MethodtestGradientAccumulator
(self)
CAIL2020/ydlj/baseline/transformers/tests/optimization_tf_test.py:25
MethodtestGradientAccumulatorDistributionStrategy
(self)
CAIL2020/ydlj/baseline/transformers/tests/optimization_tf_test.py:39
Methodtest_adam_w
(self)
CAIL2020/ydlj/baseline/transformers/tests/optimization_test.py:67
Methodtest_add_special_tokens
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:197
Methodtest_add_tokens_tokenizer
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:148
Methodtest_added_tokens_do_lower_case
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:115
Methodtest_albert_model
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_albert_test.py:204
Methodtest_albert_model
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_albert_test.py:215
Methodtest_attention_outputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_common_test.py:124
Methodtest_attention_outputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_common_test.py:200
Methodtest_basic_tokenizer_lower
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_test.py:67
Methodtest_basic_tokenizer_no_lower
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_test.py:75
← previousnext →6,001–6,100 of 6,528, ranked by callers