m-aliabbas1 commited on
Commit
8d4377f
·
verified ·
1 Parent(s): d2a4716

Model save

Browse files
Files changed (2) hide show
  1. README.md +78 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: FacebookAI/roberta-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: roberta_en_med_merged_classes
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
+ # roberta_en_med_merged_classes
18
+
19
+ This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4635
22
+ - Accuracy: 0.8405
23
+ - F1 Macro: 0.8001
24
+ - F1 Weighted: 0.8401
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: 32
45
+ - eval_batch_size: 64
46
+ - seed: 42
47
+ - gradient_accumulation_steps: 2
48
+ - total_train_batch_size: 64
49
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 6
53
+ - mixed_precision_training: Native AMP
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|:-----------:|
59
+ | 0.7259 | 0.4681 | 400 | 0.6577 | 0.7766 | 0.6330 | 0.7683 |
60
+ | 0.5302 | 0.9362 | 800 | 0.5115 | 0.8099 | 0.7577 | 0.8083 |
61
+ | 0.4494 | 1.4037 | 1200 | 0.4656 | 0.8280 | 0.7818 | 0.8278 |
62
+ | 0.4417 | 1.8719 | 1600 | 0.4583 | 0.8334 | 0.7872 | 0.8326 |
63
+ | 0.3551 | 2.3394 | 2000 | 0.4665 | 0.8239 | 0.7727 | 0.8238 |
64
+ | 0.3486 | 2.8075 | 2400 | 0.4337 | 0.8390 | 0.7933 | 0.8372 |
65
+ | 0.3028 | 3.2750 | 2800 | 0.4387 | 0.8391 | 0.7961 | 0.8392 |
66
+ | 0.2975 | 3.7431 | 3200 | 0.4378 | 0.8407 | 0.7986 | 0.8400 |
67
+ | 0.2576 | 4.2106 | 3600 | 0.4655 | 0.8359 | 0.7975 | 0.8358 |
68
+ | 0.2602 | 4.6788 | 4000 | 0.4580 | 0.8374 | 0.7960 | 0.8377 |
69
+ | 0.2196 | 5.1463 | 4400 | 0.4635 | 0.8405 | 0.8001 | 0.8401 |
70
+ | 0.2153 | 5.6144 | 4800 | 0.4738 | 0.8388 | 0.7961 | 0.8385 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.56.1
76
+ - Pytorch 2.8.0+cu126
77
+ - Datasets 4.1.0
78
+ - Tokenizers 0.22.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:33542d657951fc711393135a39b0e0684ed25d61cf98113bff1a12483ddbcf73
3
  size 498640508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eb800bc17157d0d10ddf12c989ea5d772fb27a113d5ec91153dca705ec335fc
3
  size 498640508