BERTc-315M-CSC / csc_config.json
tf-bao's picture
Upload BERTc-315M-CSC release
73d3d73 verified
Raw
History Blame Contribute Delete
1.04 kB
{
"base_model": "Ismantic/BERTc-315M",
"task": "Chinese Spelling Correction",
"threshold": 0.7,
"max_len": 128,
"epoch": 10,
"metrics": {
"acc": 0.842998585572843,
"precision": 0.9395973154362416,
"recall": 0.7506702412868632,
"f1": 0.8345752608047688,
"TP": 280,
"FP": 18,
"FN": 93,
"TN": 316,
"n": 707
},
"args": {
"backbone_path": "/home/tfbao/Shiyu/BERTc/pretrain/modern_bertc/output_v4_large/checkpoint-8500",
"tokenizer_dir": "/home/tfbao/Shiyu/BERTc/pretrain/modern_bertc/tokenizer",
"train_pkl": "/home/tfbao/Shiyu/BERTc/csc/data/sighan_wang271k_pairs.pkl",
"test_tsv": "/home/tfbao/Shiyu/BERTc/csc/data/test/sighan2015_test_official.tsv",
"output_dir": "/home/tfbao/Shiyu/BERTc/csc/output_v4_large_csc_v8_lr3e5",
"epochs": 10,
"batch_size": 32,
"lr": 3e-05,
"warmup_ratio": 0.1,
"max_len": 128,
"det_weight": 0.3,
"threshold": 0.7,
"log_every": 200
},
"source_checkpoint": "finetune/sota/sota_csc_v4large_v8_best.pt"
}