joelniklaus
commited on
Commit
•
d28cc2a
1
Parent(s):
5d1893c
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: legal-xlm-roberta-base
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
10 |
+
should probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# legal-xlm-roberta-base
|
13 |
+
|
14 |
+
This model was trained from scratch on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- Loss: 0.5484
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 0.0001
|
36 |
+
- train_batch_size: 16
|
37 |
+
- eval_batch_size: 16
|
38 |
+
- seed: 42
|
39 |
+
- distributed_type: tpu
|
40 |
+
- num_devices: 8
|
41 |
+
- gradient_accumulation_steps: 4
|
42 |
+
- total_train_batch_size: 512
|
43 |
+
- total_eval_batch_size: 128
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- lr_scheduler_warmup_ratio: 0.05
|
47 |
+
- training_steps: 1000000
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
52 |
+
|:-------------:|:-----:|:-------:|:---------------:|
|
53 |
+
| 1.2285 | 0.05 | 50000 | 0.9298 |
|
54 |
+
| 1.0417 | 0.1 | 100000 | 0.7723 |
|
55 |
+
| 0.9525 | 0.15 | 150000 | 0.7258 |
|
56 |
+
| 0.9668 | 0.2 | 200000 | 0.6884 |
|
57 |
+
| 0.8949 | 0.25 | 250000 | 0.6714 |
|
58 |
+
| 0.921 | 0.3 | 300000 | 0.6617 |
|
59 |
+
| 0.8324 | 0.35 | 350000 | 0.6423 |
|
60 |
+
| 0.8406 | 0.4 | 400000 | 0.6259 |
|
61 |
+
| 0.8136 | 0.45 | 450000 | 0.6147 |
|
62 |
+
| 0.8247 | 0.5 | 500000 | 0.6095 |
|
63 |
+
| 0.8649 | 0.55 | 550000 | 0.5985 |
|
64 |
+
| 0.8119 | 0.6 | 600000 | 0.5973 |
|
65 |
+
| 0.8422 | 0.65 | 650000 | 0.5813 |
|
66 |
+
| 0.8006 | 0.7 | 700000 | 0.5701 |
|
67 |
+
| 0.8072 | 0.75 | 750000 | 0.5662 |
|
68 |
+
| 0.8154 | 0.8 | 800000 | 0.5514 |
|
69 |
+
| 0.7794 | 0.85 | 850000 | 0.5562 |
|
70 |
+
| 0.7924 | 0.9 | 900000 | 0.5558 |
|
71 |
+
| 0.8207 | 0.95 | 950000 | 0.5587 |
|
72 |
+
| 0.8279 | 1.0 | 1000000 | 0.5484 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.20.1
|
78 |
+
- Pytorch 1.12.0+cu102
|
79 |
+
- Datasets 2.8.0
|
80 |
+
- Tokenizers 0.12.0
|