update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
- f1
|
8 |
+
- recall
|
9 |
+
model-index:
|
10 |
+
- name: camembert-base-finetuned-ICDCode_5
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# camembert-base-finetuned-ICDCode_5
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [camembert-base](https://huggingface.co/camembert-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.6574
|
22 |
+
- Accuracy: 0.8964
|
23 |
+
- F1: 0.8750
|
24 |
+
- Recall: 0.8964
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 50
|
45 |
+
- eval_batch_size: 50
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 8
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:------:|
|
55 |
+
| 3.7466 | 1.0 | 4411 | 1.9448 | 0.7201 | 0.6541 | 0.7201 |
|
56 |
+
| 1.5264 | 2.0 | 8822 | 1.2045 | 0.8134 | 0.7691 | 0.8134 |
|
57 |
+
| 1.0481 | 3.0 | 13233 | 0.9473 | 0.8513 | 0.8149 | 0.8513 |
|
58 |
+
| 0.8304 | 4.0 | 17644 | 0.8098 | 0.8718 | 0.8427 | 0.8718 |
|
59 |
+
| 0.7067 | 5.0 | 22055 | 0.7352 | 0.8834 | 0.8574 | 0.8834 |
|
60 |
+
| 0.6285 | 6.0 | 26466 | 0.6911 | 0.8898 | 0.8659 | 0.8898 |
|
61 |
+
| 0.5779 | 7.0 | 30877 | 0.6641 | 0.8958 | 0.8741 | 0.8958 |
|
62 |
+
| 0.549 | 8.0 | 35288 | 0.6574 | 0.8964 | 0.8750 | 0.8964 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.19.2
|
68 |
+
- Pytorch 1.11.0+cu113
|
69 |
+
- Datasets 2.2.2
|
70 |
+
- Tokenizers 0.12.1
|