tthhanh commited on
Commit
64f60c4
1 Parent(s): a16bd4e

End of training

Browse files
Files changed (2) hide show
  1. README.md +88 -3
  2. adapter_model.safetensors +1 -1
README.md CHANGED
@@ -1,3 +1,88 @@
1
- ---
2
- license: cc-by-3.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2-7B
3
+ library_name: peft
4
+ license: apache-2.0
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: legal_qwen
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # legal_qwen
16
+
17
+ This model is a fine-tuned version of [Qwen/Qwen2-7B](https://huggingface.co/Qwen/Qwen2-7B) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.5566
20
+ - Law Precision: 0.4434
21
+ - Law Recall: 0.6351
22
+ - Law F1: 0.5222
23
+ - Law Number: 74
24
+ - Violated by Precision: 0.3663
25
+ - Violated by Recall: 0.5139
26
+ - Violated by F1: 0.4277
27
+ - Violated by Number: 72
28
+ - Violated on Precision: 0.1507
29
+ - Violated on Recall: 0.2245
30
+ - Violated on F1: 0.1803
31
+ - Violated on Number: 49
32
+ - Violation Precision: 0.3132
33
+ - Violation Recall: 0.4430
34
+ - Violation F1: 0.3669
35
+ - Violation Number: 596
36
+ - Overall Precision: 0.3197
37
+ - Overall Recall: 0.4539
38
+ - Overall F1: 0.3751
39
+ - Overall Accuracy: 0.9062
40
+
41
+ ## Model description
42
+
43
+ More information needed
44
+
45
+ ## Intended uses & limitations
46
+
47
+ More information needed
48
+
49
+ ## Training and evaluation data
50
+
51
+ More information needed
52
+
53
+ ## Training procedure
54
+
55
+ ### Training hyperparameters
56
+
57
+ The following hyperparameters were used during training:
58
+ - learning_rate: 0.0001
59
+ - train_batch_size: 16
60
+ - eval_batch_size: 16
61
+ - seed: 42
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - num_epochs: 10
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Law Precision | Law Recall | Law F1 | Law Number | Violated by Precision | Violated by Recall | Violated by F1 | Violated by Number | Violated on Precision | Violated on Recall | Violated on F1 | Violated on Number | Violation Precision | Violation Recall | Violation F1 | Violation Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy |
69
+ |:-------------:|:-----:|:----:|:---------------:|:-------------:|:----------:|:------:|:----------:|:---------------------:|:------------------:|:--------------:|:------------------:|:---------------------:|:------------------:|:--------------:|:------------------:|:-------------------:|:----------------:|:------------:|:----------------:|:-----------------:|:--------------:|:----------:|:----------------:|
70
+ | No log | 1.0 | 45 | 0.6876 | 0.0238 | 0.0135 | 0.0172 | 74 | 0.0 | 0.0 | 0.0 | 72 | 0.0 | 0.0 | 0.0 | 49 | 0.0104 | 0.0319 | 0.0156 | 596 | 0.0105 | 0.0253 | 0.0149 | 0.7882 |
71
+ | No log | 2.0 | 90 | 0.4180 | 0.1235 | 0.1351 | 0.1290 | 74 | 0.25 | 0.1389 | 0.1786 | 72 | 0.0 | 0.0 | 0.0 | 49 | 0.0989 | 0.1846 | 0.1288 | 596 | 0.1052 | 0.1643 | 0.1283 | 0.8636 |
72
+ | No log | 3.0 | 135 | 0.3403 | 0.3647 | 0.4189 | 0.3899 | 74 | 0.3803 | 0.375 | 0.3776 | 72 | 0.0968 | 0.0612 | 0.075 | 49 | 0.1694 | 0.2903 | 0.2140 | 596 | 0.1937 | 0.2958 | 0.2341 | 0.8853 |
73
+ | No log | 4.0 | 180 | 0.3404 | 0.4 | 0.4054 | 0.4027 | 74 | 0.3721 | 0.4444 | 0.4051 | 72 | 0.1471 | 0.2041 | 0.1709 | 49 | 0.2298 | 0.3339 | 0.2722 | 596 | 0.2475 | 0.3426 | 0.2874 | 0.8974 |
74
+ | No log | 5.0 | 225 | 0.3894 | 0.4545 | 0.5405 | 0.4938 | 74 | 0.4022 | 0.5139 | 0.4512 | 72 | 0.1587 | 0.2041 | 0.1786 | 49 | 0.2725 | 0.3859 | 0.3194 | 596 | 0.2916 | 0.4008 | 0.3376 | 0.9016 |
75
+ | No log | 6.0 | 270 | 0.3922 | 0.4565 | 0.5676 | 0.5060 | 74 | 0.4118 | 0.4861 | 0.4459 | 72 | 0.2051 | 0.1633 | 0.1818 | 49 | 0.3081 | 0.4849 | 0.3768 | 596 | 0.3241 | 0.4728 | 0.3846 | 0.9070 |
76
+ | No log | 7.0 | 315 | 0.4751 | 0.4819 | 0.5405 | 0.5096 | 74 | 0.3953 | 0.4722 | 0.4304 | 72 | 0.1525 | 0.1837 | 0.1667 | 49 | 0.2579 | 0.3708 | 0.3042 | 596 | 0.2802 | 0.3843 | 0.3241 | 0.9011 |
77
+ | No log | 8.0 | 360 | 0.4684 | 0.4257 | 0.5811 | 0.4914 | 74 | 0.4 | 0.5278 | 0.4551 | 72 | 0.1429 | 0.2041 | 0.1681 | 49 | 0.3025 | 0.4446 | 0.3601 | 596 | 0.3117 | 0.4501 | 0.3683 | 0.9063 |
78
+ | No log | 9.0 | 405 | 0.5157 | 0.4554 | 0.6216 | 0.5257 | 74 | 0.4211 | 0.5556 | 0.4790 | 72 | 0.1515 | 0.2041 | 0.1739 | 49 | 0.2969 | 0.4329 | 0.3522 | 596 | 0.3130 | 0.4475 | 0.3684 | 0.9071 |
79
+ | No log | 10.0 | 450 | 0.5566 | 0.4434 | 0.6351 | 0.5222 | 74 | 0.3663 | 0.5139 | 0.4277 | 72 | 0.1507 | 0.2245 | 0.1803 | 49 | 0.3132 | 0.4430 | 0.3669 | 596 | 0.3197 | 0.4539 | 0.3751 | 0.9062 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - PEFT 0.12.0
85
+ - Transformers 4.44.0
86
+ - Pytorch 2.4.0+cu121
87
+ - Datasets 2.20.0
88
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58283463a5aed7bb53ac849e3afbd17e76ba447f6e8b0d4006f051e0c0747fd3
3
  size 40449946
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:809869b0ea5a9747d37d3fd45c1b2ace025d5631e5755731fe887173db8a6fab
3
  size 40449946