anvorja commited on
Commit
fe1f3e2
·
verified ·
1 Parent(s): c87dd8f

Model save

Browse files
Files changed (3) hide show
  1. README.md +89 -0
  2. config.json +1 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: FacebookAI/xlm-roberta-large-finetuned-conll03-english
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: xlm-roberta-large-clinical-ner-breast-cancer-sp
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # xlm-roberta-large-clinical-ner-breast-cancer-sp
20
+
21
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-large-finetuned-conll03-english](https://huggingface.co/FacebookAI/xlm-roberta-large-finetuned-conll03-english) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3023
24
+ - Precision: 0.8965
25
+ - Recall: 0.8959
26
+ - F1: 0.8962
27
+ - Accuracy: 0.9474
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: 1e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - gradient_accumulation_steps: 8
51
+ - total_train_batch_size: 64
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: cosine_with_restarts
54
+ - lr_scheduler_warmup_ratio: 0.2
55
+ - num_epochs: 20
56
+ - mixed_precision_training: Native AMP
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
61
+ |:-------------:|:-------:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
62
+ | 1.2687 | 1.0 | 213 | 1.3859 | 0.4556 | 0.3389 | 0.3887 | 0.6763 |
63
+ | 0.4857 | 2.0 | 426 | 0.5022 | 0.7673 | 0.7919 | 0.7794 | 0.8970 |
64
+ | 0.2519 | 3.0 | 639 | 0.3412 | 0.8407 | 0.8452 | 0.8430 | 0.9259 |
65
+ | 0.1671 | 4.0 | 852 | 0.3058 | 0.8711 | 0.8659 | 0.8685 | 0.9355 |
66
+ | 0.1423 | 5.0 | 1065 | 0.2983 | 0.8585 | 0.8659 | 0.8622 | 0.9340 |
67
+ | 0.0973 | 6.0 | 1278 | 0.2795 | 0.8773 | 0.8732 | 0.8753 | 0.9397 |
68
+ | 0.0655 | 7.0 | 1491 | 0.2775 | 0.8755 | 0.8726 | 0.8740 | 0.9393 |
69
+ | 0.0734 | 8.0 | 1704 | 0.2755 | 0.8799 | 0.8846 | 0.8822 | 0.9422 |
70
+ | 0.0575 | 9.0 | 1917 | 0.2900 | 0.8828 | 0.8793 | 0.8810 | 0.9409 |
71
+ | 0.0522 | 10.0 | 2130 | 0.2852 | 0.8864 | 0.8846 | 0.8855 | 0.9417 |
72
+ | 0.0559 | 11.0 | 2343 | 0.2735 | 0.8863 | 0.8893 | 0.8878 | 0.9441 |
73
+ | 0.0401 | 12.0 | 2556 | 0.2845 | 0.8833 | 0.8939 | 0.8886 | 0.9434 |
74
+ | 0.0326 | 13.0 | 2769 | 0.2845 | 0.8951 | 0.8933 | 0.8942 | 0.9462 |
75
+ | 0.0513 | 14.0 | 2982 | 0.2864 | 0.8886 | 0.8886 | 0.8886 | 0.9453 |
76
+ | 0.0223 | 15.0 | 3195 | 0.2920 | 0.8923 | 0.8899 | 0.8911 | 0.9455 |
77
+ | 0.0332 | 16.0 | 3408 | 0.2956 | 0.8906 | 0.8906 | 0.8906 | 0.9470 |
78
+ | 0.0262 | 17.0 | 3621 | 0.2987 | 0.8953 | 0.8959 | 0.8956 | 0.9469 |
79
+ | 0.018 | 18.0 | 3834 | 0.2999 | 0.8965 | 0.8959 | 0.8962 | 0.9474 |
80
+ | 0.02 | 19.0 | 4047 | 0.3023 | 0.8965 | 0.8959 | 0.8962 | 0.9472 |
81
+ | 0.0222 | 19.9088 | 4240 | 0.3023 | 0.8965 | 0.8959 | 0.8962 | 0.9474 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.48.2
87
+ - Pytorch 2.5.1+cu124
88
+ - Datasets 3.2.0
89
+ - Tokenizers 0.21.0
config.json CHANGED
@@ -6,6 +6,7 @@
6
  ],
7
  "attention_probs_dropout_prob": 0.1,
8
  "bos_token_id": 0,
 
9
  "classifier_dropout": null,
10
  "eos_token_id": 2,
11
  "hidden_act": "gelu",
 
6
  ],
7
  "attention_probs_dropout_prob": 0.1,
8
  "bos_token_id": 0,
9
+ "cancer_type": "mama",
10
  "classifier_dropout": null,
11
  "eos_token_id": 2,
12
  "hidden_act": "gelu",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8db1110da04d7ea688d0e0d9374f857865d4767cfc943de730b9c364226d649f
3
  size 2235612764
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef9db0d46c2abd3b0122c29d68b22f14aaa5aa303ab781dc3d943fc9612e7b0a
3
  size 2235612764