Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShenDezhou/CAIL
/ functions
Functions
6,528 in github.com/ShenDezhou/CAIL
⨍
Functions
6,528
◇
Types & classes
1,183
↳
Endpoints
4
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_gpt2_test.py:30
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_distilbert_test.py:209
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlm_test.py:292
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_bert_test.py:272
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_test.py:34
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_albert_test.py:31
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_ctrl_test.py:175
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_gpt2_test.py:202
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_openai_gpt_test.py:201
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_transfo_xl_test.py:189
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_openai_test.py:30
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_gpt2_test.py:221
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_japanese_test.py:127
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_roberta_test.py:185
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_transfo_xl_test.py:190
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_albert_test.py:208
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_xlnet_test.py:32
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_distilbert_test.py:189
Method
setUp
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_xlnet_test.py:351
Method
setUpClass
Share this valid token in all tests below.
CAIL2020/ydlj/baseline/transformers/tests/hf_api_test.py:49
Method
set_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_distilbert.py:434
Method
set_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_ctrl.py:302
Method
set_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:622
Method
set_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_transfo_xl.py:649
Method
set_input_embeddings
(self, value)
CAIL2020/ydlj/baseline/transformers/modeling_bert.py:626
Method
set_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_gpt2.py:370
Method
set_input_embeddings
(self, value)
CAIL2020/ydlj/baseline/transformers/modeling_albert.py:476
Method
set_input_embeddings
(self, new_embeddings)
CAIL2020/ydlj/baseline/transformers/modeling_openai.py:372
Method
set_input_embeddings
(self, value)
CAIL2020/ydlj/baseline/transformers/modeling_roberta.py:189
Function
set_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
Function
set_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
Function
set_seed
(args)
CAIL2020/ydljz/train.py:330
Function
set_seed
(args)
CAIL2020/ydljzs/train.py:323
Function
set_seed
(args)
CAIL2020/ydljztpus/train.py:382
Function
set_seed
(args)
CAIL2020/ydljzt/train.py:326
Function
set_seed
(args)
CAIL2020/ydljztpu/train.py:385
Function
set_seed
(args)
CAIL2020/ydljz(hong)tpu/train.py:380
Function
set_seed
(args)
CAIL2020/ydljz(hong)/train.py:331
Method
setparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:107
Method
setparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:141
Method
setparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:158
Method
setparam
(self, lower=0.5, upper=1.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:175
Method
setparam
(self, lower=5, upper=85)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:192
Method
setparam
(self, lower=5, upper=10)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:214
Method
setparam
(self, lower=-5, upper=5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:245
Method
setparam
(self, degree=5, angle=180)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:279
Method
setparam
(self, rate=0.02)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:299
Method
setparam
(self, max_rate=0.95, min_rate=0.5)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:318
Method
setparam
(self, maxv=2)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:338
Method
setparam
(self, maxv_h=4, maxv_w=4)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:359
Method
setparam
(self, max_rate=1.2, min_rate=0.8)
CAIL2020/cocr/torchocr/utils/CreateRecAug.py:398
Method
shape
separate heads
CAIL2020/ydlj/baseline/transformers/modeling_distilbert.py:167
Method
shape
separate heads
CAIL2020/ydlj/baseline/transformers/modeling_tf_distilbert.py:228
Method
shape
projection
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlm.py:136
Function
shortenlines
(raw_html)
CAIL2020/sfzyza/data/pairalign.py:51
Function
single_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksz/tools/accuracy_tool.py:70
Function
single_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfkst/accuracy_tool.py:80
Function
single_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksu/accuracy_tool.py:80
Function
single_label_top1_accuracy
(outputs, label, config, result=None)
CAIL2020/sfks/tools/accuracy_tool.py:80
Function
single_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksz/tools/accuracy_tool.py:162
Function
single_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfkst/accuracy_tool.py:146
Function
single_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfksu/accuracy_tool.py:146
Function
single_label_top2_accuracy
(outputs, label, config, result=None)
CAIL2020/sfks/tools/accuracy_tool.py:146
Function
slow
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
Method
special_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
Method
split
(self, content)
CAIL2020/jesbl/torch_server.py:111
Method
split_on_token
(tok, text)
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:653
Method
split_on_tokens
(tok_list, text)
CAIL2020/ydlj/baseline/transformers/tokenization_utils.py:671
Function
squad_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
Function
squad_evaluate
(examples, preds, no_answer_probs=None, no_answer_probability_threshold=1.0)
CAIL2020/ydlj/baseline/transformers/data/metrics/squad_metrics.py:208
Method
step
Number of accumulated steps.
CAIL2020/ydlj/baseline/transformers/optimization_tf.py:210
Function
strQ2B
全角转半角
CAIL2018/xsfl/tensorflow_server.py:101
Function
strQ2B
全角转半角
CAIL2018/xsfl/tensorflow_server_v2.py:127
Function
strQ2B
全角转半角
CAIL2020/jesb/tensorflow_server.py:101
Function
strQ2B
全角转半角
CAIL2020/jesb/tensorflow_server_v2.py:127
Method
summarize
(self, statement)
CAIL2020/znwd/summarizer.py:27
Method
summarize
(self, statement)
CAIL2020/lbwjtpu/summarizer.py:27
Method
summarize
(self, statement)
CAIL2020/lbwj/summarizer.py:27
Method
summarize
(self, statement)
CAIL2020/lbwjx/summarizer.py:27
Function
swish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_xlnet.py:184
Function
swish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_openai.py:55
Function
swish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_bert.py:81
Function
swish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_bert.py:141
Function
swish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_tf_xlnet.py:53
Function
swish
(x)
CAIL2020/ydlj/baseline/transformers/modeling_openai.py:123
Method
tearDown
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:49
Function
test
(parameters, config, gpu_list)
CAIL2020/sfks/tools/test_tool.py:13
Method
test
(self, truth_path, output_path)
CAIL2018/judger/judger.py:162
Method
testGradientAccumulator
(self)
CAIL2020/ydlj/baseline/transformers/tests/optimization_tf_test.py:25
Method
testGradientAccumulatorDistributionStrategy
(self)
CAIL2020/ydlj/baseline/transformers/tests/optimization_tf_test.py:39
Method
test_adam_w
(self)
CAIL2020/ydlj/baseline/transformers/tests/optimization_test.py:67
Method
test_add_special_tokens
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:197
Method
test_add_tokens_tokenizer
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:148
Method
test_added_tokens_do_lower_case
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_tests_commons.py:115
Method
test_albert_model
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_albert_test.py:204
Method
test_albert_model
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_albert_test.py:215
Method
test_attention_outputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_common_test.py:124
Method
test_attention_outputs
(self)
CAIL2020/ydlj/baseline/transformers/tests/modeling_tf_common_test.py:200
Method
test_basic_tokenizer_lower
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_test.py:67
Method
test_basic_tokenizer_no_lower
(self)
CAIL2020/ydlj/baseline/transformers/tests/tokenization_bert_test.py:75
← previous
next →
6,001–6,100 of 6,528, ranked by callers