KoichiYasuoka commited on
Commit
57e450a
1 Parent(s): d28b7cc

initial release

Browse files
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "eos_token_id": 2,
8
+ "finetuning_task": "ner",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B",
15
+ "1": "E",
16
+ "2": "E2",
17
+ "3": "E3",
18
+ "4": "M",
19
+ "5": "S"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "B": 0,
25
+ "E": 1,
26
+ "E2": 2,
27
+ "E3": 3,
28
+ "M": 4,
29
+ "S": 5
30
+ },
31
+ "layer_norm_eps": 1e-05,
32
+ "max_position_embeddings": 514,
33
+ "model_type": "roberta",
34
+ "num_attention_heads": 12,
35
+ "num_hidden_layers": 12,
36
+ "pad_token_id": 1,
37
+ "position_embedding_type": "absolute",
38
+ "tokenizer_class": "BertTokenizer",
39
+ "transformers_version": "4.6.1",
40
+ "type_vocab_size": 1,
41
+ "use_cache": true,
42
+ "vocab_size": 26318
43
+ }
eval_results_ner.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ eval_loss = 0.2782273292541504
2
+ eval_accuracy_score = 0.9262469636974678
3
+ eval_precision = 0.9145419977575197
4
+ eval_recall = 0.901186530239708
5
+ eval_f1 = 0.9078151463827728
6
+ eval_runtime = 2.124
7
+ eval_samples_per_second = 338.039
8
+ epoch = 3.0
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f26c0d74c31c51ac42c98f0ea52eae0bf4353e65a71e58489fd35a03e7d9c13
3
+ size 422760843
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "name_or_path": "KoichiYasuoka/roberta-classical-chinese-base-char", "do_basic_tokenize": true, "never_split": null}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff