davanstrien HF Staff commited on
Commit
2fce097
·
verified ·
1 Parent(s): b7afd73

Model save

Browse files
Files changed (5) hide show
  1. README.md +72 -0
  2. all_results.json +16 -0
  3. eval_results.json +11 -0
  4. model.safetensors +1 -1
  5. train_results.json +8 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: arxiv-new-datasets-modernbert-v3
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # arxiv-new-datasets-modernbert-v3
21
+
22
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1966
25
+ - Accuracy: 0.9523
26
+ - F1: 0.9523
27
+ - Precision: 0.9523
28
+ - Recall: 0.9523
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_ratio: 0.1
54
+ - num_epochs: 5
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 0.1198 | 1.0 | 425 | 0.2111 | 0.9311 | 0.9319 | 0.9360 | 0.9311 |
61
+ | 0.1327 | 2.0 | 850 | 0.1966 | 0.9523 | 0.9523 | 0.9523 | 0.9523 |
62
+ | 0.1925 | 3.0 | 1275 | 0.2396 | 0.9457 | 0.9458 | 0.9460 | 0.9457 |
63
+ | 0.0004 | 4.0 | 1700 | 0.3799 | 0.9364 | 0.9357 | 0.9371 | 0.9364 |
64
+ | 0.0 | 5.0 | 2125 | 0.3855 | 0.9417 | 0.9414 | 0.9417 | 0.9417 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.48.0.dev0
70
+ - Pytorch 2.10.0+cu128
71
+ - Datasets 4.5.0
72
+ - Tokenizers 0.21.4
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.952317880794702,
4
+ "eval_f1": 0.9522791647926332,
5
+ "eval_loss": 0.1966489851474762,
6
+ "eval_precision": 0.9522548670060105,
7
+ "eval_recall": 0.952317880794702,
8
+ "eval_runtime": 1.7864,
9
+ "eval_samples_per_second": 422.641,
10
+ "eval_steps_per_second": 26.87,
11
+ "total_flos": 1.156532129378304e+16,
12
+ "train_loss": 0.13934201941052998,
13
+ "train_runtime": 244.329,
14
+ "train_samples_per_second": 138.911,
15
+ "train_steps_per_second": 8.697
16
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.952317880794702,
4
+ "eval_f1": 0.9522791647926332,
5
+ "eval_loss": 0.1966489851474762,
6
+ "eval_precision": 0.9522548670060105,
7
+ "eval_recall": 0.952317880794702,
8
+ "eval_runtime": 1.7864,
9
+ "eval_samples_per_second": 422.641,
10
+ "eval_steps_per_second": 26.87
11
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a9836b60782ecea9a9b9d7b9f2aaebf5b3f642fb5500f9b9676c25b9164e1355
3
  size 598439784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34468ce93b23c4c5d4e9a8ffe9accf7e34f624e2814cd27d669a406f7d03774d
3
  size 598439784
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "total_flos": 1.156532129378304e+16,
4
+ "train_loss": 0.13934201941052998,
5
+ "train_runtime": 244.329,
6
+ "train_samples_per_second": 138.911,
7
+ "train_steps_per_second": 8.697
8
+ }