gyr66 commited on
Commit
3c1062f
β€’
1 Parent(s): 3b94a96

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +91 -0
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - zh
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - gyr66/privacy_detection
8
+ metrics:
9
+ - precision
10
+ - recall
11
+ - f1
12
+ - accuracy
13
+ model-index:
14
+ - name: bert-base-chinese-finetuned-ner
15
+ results:
16
+ - task:
17
+ name: Token Classification
18
+ type: token-classification
19
+ dataset:
20
+ name: gyr66/privacy_detection
21
+ type: gyr66/privacy_detection
22
+ config: null
23
+ split: None
24
+ metrics:
25
+ - name: Precision
26
+ type: precision
27
+ value: 0.3840122394339262
28
+ - name: Recall
29
+ type: recall
30
+ value: 0.5055387713997986
31
+ - name: F1
32
+ type: f1
33
+ value: 0.43647429627214435
34
+ - name: Accuracy
35
+ type: accuracy
36
+ value: 0.8564247370217519
37
+ ---
38
+
39
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
40
+ should probably proofread and complete it, then remove this comment. -->
41
+
42
+ # bert-base-chinese-finetuned-ner
43
+
44
+ This model is a fine-tuned version of [Danielwei0214/bert-base-chinese-finetuned-ner](https://huggingface.co/Danielwei0214/bert-base-chinese-finetuned-ner) on the gyr66/privacy_detection dataset.
45
+ It achieves the following results on the evaluation set:
46
+ - Loss: 0.4895
47
+ - Precision: 0.3840
48
+ - Recall: 0.5055
49
+ - F1: 0.4365
50
+ - Accuracy: 0.8564
51
+
52
+ ## Model description
53
+
54
+ More information needed
55
+
56
+ ## Intended uses & limitations
57
+
58
+ More information needed
59
+
60
+ ## Training and evaluation data
61
+
62
+ More information needed
63
+
64
+ ## Training procedure
65
+
66
+ ### Training hyperparameters
67
+
68
+ The following hyperparameters were used during training:
69
+ - learning_rate: 2e-05
70
+ - train_batch_size: 56
71
+ - eval_batch_size: 56
72
+ - seed: 42
73
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
74
+ - lr_scheduler_type: linear
75
+ - num_epochs: 3
76
+
77
+ ### Training results
78
+
79
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
80
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
81
+ | 1.3112 | 1.0 | 36 | 0.7305 | 0.2062 | 0.2535 | 0.2274 | 0.8028 |
82
+ | 0.6083 | 2.0 | 72 | 0.5295 | 0.3598 | 0.4668 | 0.4064 | 0.8451 |
83
+ | 0.4782 | 3.0 | 108 | 0.4895 | 0.3840 | 0.5055 | 0.4365 | 0.8564 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.27.3
89
+ - Pytorch 2.0.1+cu117
90
+ - Datasets 2.14.5
91
+ - Tokenizers 0.13.2