taherimoalem commited on
Commit
9161b4c
·
verified ·
1 Parent(s): ceb3aa9

Training complete

Browse files
Files changed (2) hide show
  1. README.md +66 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: bert-agnews
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
+ # bert-agnews
18
+
19
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.2343
22
+ - Accuracy: 0.946
23
+ - F1 Macro: 0.9456
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 42
46
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 4
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
54
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:--------:|
55
+ | 0.2213 | 1.0 | 3594 | 0.1723 | 0.939 | 0.9386 |
56
+ | 0.1288 | 2.0 | 7188 | 0.1712 | 0.9456 | 0.9453 |
57
+ | 0.0836 | 3.0 | 10782 | 0.1990 | 0.9478 | 0.9473 |
58
+ | 0.0539 | 4.0 | 14376 | 0.2343 | 0.946 | 0.9456 |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - Transformers 5.0.0
64
+ - Pytorch 2.5.1+cu121
65
+ - Datasets 4.5.0
66
+ - Tokenizers 0.22.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b7f1993041c18196245dd2ff1acddba407c4b7202c67d26f7a1b095e93bb45e
3
  size 437964776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3fd1eb70e21df178f547dfea2c262688fb46bb4fcbc0f4a616aeb731a9c257c
3
  size 437964776