Model save
Browse files
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: FacebookAI/xlm-roberta-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- cnec
|
8 |
+
metrics:
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
- f1
|
12 |
+
- accuracy
|
13 |
+
model-index:
|
14 |
+
- name: CNEC1_1_62types_xlm-roberta-large
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Token Classification
|
18 |
+
type: token-classification
|
19 |
+
dataset:
|
20 |
+
name: cnec
|
21 |
+
type: cnec
|
22 |
+
config: default
|
23 |
+
split: validation
|
24 |
+
args: default
|
25 |
+
metrics:
|
26 |
+
- name: Precision
|
27 |
+
type: precision
|
28 |
+
value: 0.8078956644342615
|
29 |
+
- name: Recall
|
30 |
+
type: recall
|
31 |
+
value: 0.8744753910721099
|
32 |
+
- name: F1
|
33 |
+
type: f1
|
34 |
+
value: 0.8398680835470869
|
35 |
+
- name: Accuracy
|
36 |
+
type: accuracy
|
37 |
+
value: 0.9517155236348023
|
38 |
+
---
|
39 |
+
|
40 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
41 |
+
should probably proofread and complete it, then remove this comment. -->
|
42 |
+
|
43 |
+
# CNEC1_1_62types_xlm-roberta-large
|
44 |
+
|
45 |
+
This model is a fine-tuned version of [FacebookAI/xlm-roberta-large](https://huggingface.co/FacebookAI/xlm-roberta-large) on the cnec dataset.
|
46 |
+
It achieves the following results on the evaluation set:
|
47 |
+
- Loss: 0.2443
|
48 |
+
- Precision: 0.8079
|
49 |
+
- Recall: 0.8745
|
50 |
+
- F1: 0.8399
|
51 |
+
- Accuracy: 0.9517
|
52 |
+
|
53 |
+
## Model description
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Intended uses & limitations
|
58 |
+
|
59 |
+
More information needed
|
60 |
+
|
61 |
+
## Training and evaluation data
|
62 |
+
|
63 |
+
More information needed
|
64 |
+
|
65 |
+
## Training procedure
|
66 |
+
|
67 |
+
### Training hyperparameters
|
68 |
+
|
69 |
+
The following hyperparameters were used during training:
|
70 |
+
- learning_rate: 2e-05
|
71 |
+
- train_batch_size: 16
|
72 |
+
- eval_batch_size: 16
|
73 |
+
- seed: 42
|
74 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
75 |
+
- lr_scheduler_type: linear
|
76 |
+
- lr_scheduler_warmup_ratio: 0.1
|
77 |
+
- lr_scheduler_warmup_steps: 500
|
78 |
+
- num_epochs: 10
|
79 |
+
|
80 |
+
### Training results
|
81 |
+
|
82 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
83 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
84 |
+
| 1.3073 | 1.7 | 500 | 0.3156 | 0.6691 | 0.7375 | 0.7016 | 0.9264 |
|
85 |
+
| 0.2766 | 3.4 | 1000 | 0.2292 | 0.7654 | 0.8329 | 0.7977 | 0.9472 |
|
86 |
+
| 0.167 | 5.1 | 1500 | 0.2255 | 0.7762 | 0.8523 | 0.8125 | 0.9498 |
|
87 |
+
| 0.1066 | 6.8 | 2000 | 0.2431 | 0.7818 | 0.8573 | 0.8178 | 0.9492 |
|
88 |
+
| 0.0752 | 8.5 | 2500 | 0.2443 | 0.8079 | 0.8745 | 0.8399 | 0.9517 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.36.2
|
94 |
+
- Pytorch 2.1.2+cu121
|
95 |
+
- Datasets 2.16.1
|
96 |
+
- Tokenizers 0.15.0
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2235924364
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27b60e72ccbe9c9b59299da933f7d2cc58c95b98208a7d37532325088a0c2750
|
3 |
size 2235924364
|
runs/Mar08_20-00-34_g05/events.out.tfevents.1709924440.g05.4128189.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3403beaa0d0ec3dc2f02fac17b85b418b5af5f089a8b980fc4e0593d4e0b843b
|
3 |
+
size 12231
|