jiaqianjing commited on
Commit
728d601
1 Parent(s): 59c9ba3

lalalala...

Browse files
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - precision
7
+ - recall
8
+ - f1
9
+ - accuracy
10
+ model_index:
11
+ - name: chinese-address-ner
12
+ results:
13
+ - task:
14
+ name: Token Classification
15
+ type: token-classification
16
+ metric:
17
+ name: Accuracy
18
+ type: accuracy
19
+ value: 0.9852459016393442
20
+ ---
21
+
22
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
23
+ should probably proofread and complete it, then remove this comment. -->
24
+
25
+ # chinese-address-ner
26
+
27
+ This model is a fine-tuned version of [hfl/chinese-roberta-wwm-ext](https://huggingface.co/hfl/chinese-roberta-wwm-ext) on an unkown dataset.
28
+ It achieves the following results on the evaluation set:
29
+ - Loss: 0.0999
30
+ - Precision: 0.9739
31
+ - Recall: 0.9849
32
+ - F1: 0.9794
33
+ - Accuracy: 0.9852
34
+
35
+ ## Model description
36
+
37
+ More information needed
38
+
39
+ ## Intended uses & limitations
40
+
41
+ More information needed
42
+
43
+ ## Training and evaluation data
44
+
45
+ More information needed
46
+
47
+ ## Training procedure
48
+
49
+ ### Training hyperparameters
50
+
51
+ The following hyperparameters were used during training:
52
+ - learning_rate: 2e-05
53
+ - train_batch_size: 50
54
+ - eval_batch_size: 50
55
+ - seed: 42
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: linear
58
+ - num_epochs: 1
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
63
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
64
+ | 0.0656 | 0.14 | 1 | 0.1061 | 0.9665 | 0.9811 | 0.9738 | 0.9844 |
65
+ | 0.1305 | 0.29 | 2 | 0.1096 | 0.9630 | 0.9811 | 0.9720 | 0.9836 |
66
+ | 0.1009 | 0.43 | 3 | 0.0999 | 0.9739 | 0.9849 | 0.9794 | 0.9852 |
67
+ | 0.0844 | 0.57 | 4 | 0.0911 | 0.9739 | 0.9849 | 0.9794 | 0.9852 |
68
+ | 0.0773 | 0.71 | 5 | 0.0858 | 0.9703 | 0.9849 | 0.9775 | 0.9852 |
69
+ | 0.0997 | 0.86 | 6 | 0.0815 | 0.9739 | 0.9849 | 0.9794 | 0.9861 |
70
+ | 0.0904 | 1.0 | 7 | 0.0795 | 0.9739 | 0.9849 | 0.9794 | 0.9861 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.8.2
76
+ - Pytorch 1.7.0
77
+ - Datasets 1.9.0
78
+ - Tokenizers 0.10.3
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "_name_or_path": "./temp",
3
  "architectures": [
4
- "BertModel"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
 
1
  {
2
+ "_name_or_path": "hfl/chinese-roberta-wwm-ext",
3
  "architectures": [
4
+ "BertForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:027e05e7a238b11c6b342faa3240219a1f775ee04e0ad49cda384e1b3ddcc1e4
3
- size 409154751
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f5bc5e7cab925ee75014bf7ef3e13f22485d273cc142b7373512b90c4a0c929
3
+ size 406840575
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.json ADDED
The diff for this file is too large to render. See raw diff
 
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": "/Users/jiaqianjing/.cache/huggingface/transformers/d521373fc7ac35f63d56cf303de74a202403dcf1aaa792cd01f653694be59563.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "name_or_path": "hfl/chinese-roberta-wwm-ext", "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c526b67941a58e1e03428eda35a847bc94544f67059fbb835249722bde88f02d
3
+ size 2607
vocab.txt ADDED
The diff for this file is too large to render. See raw diff