LahiruProjects
commited on
Commit
•
8bef513
1
Parent(s):
5d492a9
Model save
Browse files- README.md +89 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: distilbert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: criminal-case-classifier1
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# criminal-case-classifier1
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.8530
|
21 |
+
- Accuracy: 0.5077
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 5e-05
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- training_steps: 300
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 0.9563 | 0.31 | 10 | 1.1314 | 0.3385 |
|
53 |
+
| 1.1275 | 0.62 | 20 | 1.0607 | 0.4769 |
|
54 |
+
| 1.0692 | 0.94 | 30 | 1.0871 | 0.2923 |
|
55 |
+
| 1.0717 | 1.25 | 40 | 1.1759 | 0.4154 |
|
56 |
+
| 1.0113 | 1.56 | 50 | 1.1322 | 0.3538 |
|
57 |
+
| 0.8463 | 1.88 | 60 | 1.1809 | 0.3846 |
|
58 |
+
| 0.8573 | 2.19 | 70 | 1.0676 | 0.4154 |
|
59 |
+
| 0.8711 | 2.5 | 80 | 1.0690 | 0.3846 |
|
60 |
+
| 0.809 | 2.81 | 90 | 1.1253 | 0.4154 |
|
61 |
+
| 0.7148 | 3.12 | 100 | 1.0913 | 0.4769 |
|
62 |
+
| 0.5847 | 3.44 | 110 | 1.0920 | 0.5077 |
|
63 |
+
| 0.5486 | 3.75 | 120 | 1.0597 | 0.5538 |
|
64 |
+
| 0.5184 | 4.06 | 130 | 1.1016 | 0.4769 |
|
65 |
+
| 0.2637 | 4.38 | 140 | 1.1908 | 0.4923 |
|
66 |
+
| 0.3562 | 4.69 | 150 | 1.0238 | 0.5385 |
|
67 |
+
| 0.3292 | 5.0 | 160 | 1.1011 | 0.5692 |
|
68 |
+
| 0.1333 | 5.31 | 170 | 1.3049 | 0.5385 |
|
69 |
+
| 0.1256 | 5.62 | 180 | 1.2819 | 0.5538 |
|
70 |
+
| 0.1415 | 5.94 | 190 | 1.4929 | 0.5231 |
|
71 |
+
| 0.0942 | 6.25 | 200 | 1.5290 | 0.5538 |
|
72 |
+
| 0.0548 | 6.56 | 210 | 1.4844 | 0.5538 |
|
73 |
+
| 0.0457 | 6.88 | 220 | 1.6174 | 0.5077 |
|
74 |
+
| 0.0226 | 7.19 | 230 | 1.6499 | 0.5538 |
|
75 |
+
| 0.032 | 7.5 | 240 | 1.7371 | 0.5077 |
|
76 |
+
| 0.0158 | 7.81 | 250 | 1.8099 | 0.5385 |
|
77 |
+
| 0.0244 | 8.12 | 260 | 1.9706 | 0.4769 |
|
78 |
+
| 0.0134 | 8.44 | 270 | 1.8825 | 0.5231 |
|
79 |
+
| 0.0117 | 8.75 | 280 | 1.8414 | 0.5077 |
|
80 |
+
| 0.0111 | 9.06 | 290 | 1.8478 | 0.5077 |
|
81 |
+
| 0.0107 | 9.38 | 300 | 1.8530 | 0.5077 |
|
82 |
+
|
83 |
+
|
84 |
+
### Framework versions
|
85 |
+
|
86 |
+
- Transformers 4.39.3
|
87 |
+
- Pytorch 2.2.1+cu121
|
88 |
+
- Datasets 2.18.0
|
89 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267835644
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82ec1761c5b310a60eeddf2beedd68a7e26f624a6acdf54feefaa1f2e2fda79c
|
3 |
size 267835644
|