Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/K-Quant/HiDy
/ functions
Functions
461 in github.com/K-Quant/HiDy
⨍
Functions
461
◇
Types & classes
78
Method
get_test_examples
See base class.
other_experiment/ner_model_selection/bert_based/processors/ner_span.py:189
Method
get_test_examples
See base class.
other_experiment/ner_model_selection/bert_based/processors/ner_span.py:228
Method
get_train_examples
Gets a collection of `InputExample`s for the train set.
other_experiment/ner_model_selection/bert_based/processors/utils_ner.py:9
Method
get_train_examples
See base class.
other_experiment/ner_model_selection/bert_based/processors/ner_seq.py:204
Method
get_train_examples
See base class.
other_experiment/ner_model_selection/bert_based/processors/ner_span.py:181
Method
get_train_examples
See base class.
other_experiment/ner_model_selection/bert_based/processors/ner_span.py:220
Function
hook
(module, input, output=None)
other_experiment/ner_model_selection/bert_based/tools/common.py:296
Function
init_single_model
(model)
application/FFD/ffd.py:114
Method
iter_batch
(self)
application/SMP/utils/dataloader.py:61
Function
json_to_text
将json list写入text文件中 :param file_path: :param data: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:201
Method
link_event2company
(self)
other_experiment/fusion/DART.py:226
Method
load_company_alias_dict
(self, path)
other_experiment/fusion/DART.py:640
Function
load_model
用于加载模型
other_experiment/ner_model_selection/bilstm_based/utils.py:18
Function
load_model
加载模型 :param model: :param model_name: :param model_path: :param only_param: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:231
Function
load_numpy
加载.npy文件 :param file_path: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:178
Function
load_pickle
读取pickle文件 :param pickle_path: :param file_name: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:140
Function
lr_lambda
(current_step)
other_experiment/ner_model_selection/bert_based/callback/lr_scheduler.py:17
Function
main
(args, device)
application/SMP/exp/prediction.py:71
Function
masked_acc
(out, label, mask)
other_experiment/FFD_ablation/GCN_exp/utils.py:18
Function
merge_maps
用于合并两个word2id或者两个tag2id
other_experiment/ner_model_selection/bilstm_based/utils.py:4
Function
mkdir_p
(path, log=True)
other_experiment/FFD_ablation/HAN_exp/utils.py:24
Function
model_device
判断环境 cpu还是gpu 支持单机多卡 :param n_gpu: :param model: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:85
Function
normalize_adj
(mx)
other_experiment/FFD_ablation/GAT_exp/utils.py:100
Function
normalize_features
(mx)
other_experiment/FFD_ablation/GAT_exp/utils.py:108
Method
offset
(self, offset_val)
ner/data_utils/data_utils.py:120
Function
parse_index_file
Parse index file.
other_experiment/FFD_ablation/GCN_exp/data.py:12
Function
preprocess_features
Row-normalize feature matrix and convert to tuple representation
other_experiment/FFD_ablation/GCN_exp/data.py:146
Function
print_config
(config)
other_experiment/ner_model_selection/bert_based/tools/common.py:13
Function
reader
read json
tax_policy/utils.py:63
Function
register_hook
(module)
other_experiment/ner_model_selection/bert_based/tools/common.py:295
Function
research_report_ner
(begin_point, report_data)
sentiment_score/sentiment_sore.py:40
Method
reset
(self)
other_experiment/ner_model_selection/bert_based/callback/lr_scheduler.py:298
Method
reset
(self,start_at)
other_experiment/ner_model_selection/bert_based/callback/trainingmonitor.py:26
Method
restore
(self)
other_experiment/ner_model_selection/bert_based/callback/adversarial.py:37
Method
restore
(self)
other_experiment/ner_model_selection/bert_based/callback/adversarial.py:88
Function
restore_checkpoint
加载模型 :param resume_path: :param model: :param optimizer: :return: 注意: 如果是加载Bert模型的话,需要调整,不能使用该模式 可以使用模块自带的Bert_model.from
other_experiment/ner_model_selection/bert_based/tools/common.py:103
Method
restore_grad
(self)
other_experiment/ner_model_selection/bert_based/callback/adversarial.py:106
Method
result
(self)
other_experiment/ner_model_selection/bert_based/metrics/ner_metrics.py:74
Function
sample_mask
Create mask.
other_experiment/FFD_ablation/GCN_exp/data.py:22
Function
save_model
存储不含有显卡信息的state_dict或model :param model: :param model_name: :param only_param: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:215
Function
save_numpy
保存成.npy文件 :param data: :param file_path: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:167
Function
save_pickle
保存成pickle文件 :param data: :param file_name: :param pickle_path: :return:
other_experiment/ner_model_selection/bert_based/tools/common.py:126
Function
set_seed
(seed)
tax_policy/utils.py:14
Function
setup_for_sampling
(args)
other_experiment/FFD_ablation/HAN_exp/utils.py:67
Function
sparse_dropout
(x, rate, noise_shape)
other_experiment/FFD_ablation/GCN_exp/utils.py:29
Method
step
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
other_experiment/ner_model_selection/bert_based/callback/optimizater/lars.py:45
Method
step
(self, closure=None)
other_experiment/ner_model_selection/bert_based/callback/optimizater/ralamb.py:20
Method
step
(self, closure=None)
other_experiment/ner_model_selection/bert_based/callback/optimizater/radam.py:25
Method
step
Performs a single Lookahead optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
other_experiment/ner_model_selection/bert_based/callback/optimizater/lookahead.py:80
Method
step
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
other_experiment/ner_model_selection/bert_based/callback/optimizater/lamb.py:41
Method
step
(self, closure=None)
other_experiment/ner_model_selection/bert_based/callback/optimizater/adafactor.py:67
Method
step
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
other_experiment/ner_model_selection/bert_based/callback/optimizater/adabound.py:52
Method
step
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
other_experiment/ner_model_selection/bert_based/callback/optimizater/ralars.py:39
Method
step
Performs a single optimization step. Arguments: closure (callable, optional): A closure that reevaluates the model
other_experiment/ner_model_selection/bert_based/callback/optimizater/nadam.py:37
Method
step
(self, closure=None)
other_experiment/ner_model_selection/bert_based/callback/optimizater/novograd.py:33
Method
step
(self, closure=None)
other_experiment/ner_model_selection/bert_based/callback/optimizater/planradam.py:14
Function
str2bool
Support bool type for argparse.
tax_policy/utils.py:20
Function
summary
打印模型结构信息 :param model: :param inputs: :param batch_size: :param show_input: :return: Example: >>> print("model su
other_experiment/ner_model_selection/bert_based/tools/common.py:280
Method
test
(self, sents_tensor, lengths, _, args)
other_experiment/ner_model_selection/bilstm_based/models/bilstm.py:34
Method
update
(self, true_subject, pred_subject)
other_experiment/ner_model_selection/bert_based/metrics/ner_metrics.py:91
Function
work
()
company_rel/data_processing.py:176
← previous
401–461 of 461, ranked by callers