Model save
Browse files- README.md +77 -0
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: MHGanainy/xmod-shared-roberta-base-legal-multi
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: xmod-shared-roberta-base-legal-multi-downstream-build_rr
|
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 |
+
# xmod-shared-roberta-base-legal-multi-downstream-build_rr
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [MHGanainy/xmod-shared-roberta-base-legal-multi](https://huggingface.co/MHGanainy/xmod-shared-roberta-base-legal-multi) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.9259
|
21 |
+
- Precision-macro: 0.6337
|
22 |
+
- Recall-macro: 0.5884
|
23 |
+
- Macro-f1: 0.6021
|
24 |
+
- Precision-micro: 0.7895
|
25 |
+
- Recall-micro: 0.7895
|
26 |
+
- Micro-f1: 0.7895
|
27 |
+
- Accuracy: 0.7895
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 3e-05
|
47 |
+
- train_batch_size: 2
|
48 |
+
- eval_batch_size: 2
|
49 |
+
- seed: 1
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 20.0
|
53 |
+
- mixed_precision_training: Native AMP
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision-macro | Recall-macro | Macro-f1 | Precision-micro | Recall-micro | Micro-f1 | Accuracy |
|
58 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------------:|:------------:|:--------:|:---------------:|:------------:|:--------:|:--------:|
|
59 |
+
| No log | 1.0 | 124 | 0.8663 | 0.5370 | 0.4683 | 0.4780 | 0.7461 | 0.7461 | 0.7461 | 0.7461 |
|
60 |
+
| No log | 2.0 | 248 | 0.9013 | 0.4938 | 0.5409 | 0.5023 | 0.6982 | 0.6982 | 0.6982 | 0.6982 |
|
61 |
+
| No log | 3.0 | 372 | 0.7797 | 0.5765 | 0.5451 | 0.5415 | 0.7635 | 0.7635 | 0.7635 | 0.7635 |
|
62 |
+
| No log | 4.0 | 496 | 0.7203 | 0.6530 | 0.5478 | 0.5409 | 0.7718 | 0.7718 | 0.7718 | 0.7718 |
|
63 |
+
| 0.9675 | 5.0 | 620 | 0.7465 | 0.5984 | 0.5960 | 0.5866 | 0.7777 | 0.7777 | 0.7777 | 0.7777 |
|
64 |
+
| 0.9675 | 6.0 | 744 | 0.7503 | 0.6134 | 0.5692 | 0.5699 | 0.7791 | 0.7791 | 0.7791 | 0.7791 |
|
65 |
+
| 0.9675 | 7.0 | 868 | 0.7665 | 0.6552 | 0.5732 | 0.5877 | 0.7864 | 0.7864 | 0.7864 | 0.7864 |
|
66 |
+
| 0.9675 | 8.0 | 992 | 0.7651 | 0.6253 | 0.5880 | 0.5937 | 0.7926 | 0.7926 | 0.7926 | 0.7926 |
|
67 |
+
| 0.5065 | 9.0 | 1116 | 0.8560 | 0.6075 | 0.5930 | 0.5945 | 0.7767 | 0.7767 | 0.7767 | 0.7767 |
|
68 |
+
| 0.5065 | 10.0 | 1240 | 0.8643 | 0.6354 | 0.5842 | 0.5972 | 0.7902 | 0.7902 | 0.7902 | 0.7902 |
|
69 |
+
| 0.5065 | 11.0 | 1364 | 0.9259 | 0.6337 | 0.5884 | 0.6021 | 0.7895 | 0.7895 | 0.7895 | 0.7895 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- Transformers 4.44.2
|
75 |
+
- Pytorch 2.4.0+cu121
|
76 |
+
- Datasets 2.21.0
|
77 |
+
- Tokenizers 0.19.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 582161244
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d555efe22f13d0788b0d8966c8d93cf2d5f7ffed0a41f5a342faad7118570ea
|
3 |
size 582161244
|