Yuvrajg2107 commited on
Commit
b1dfa66
·
verified ·
1 Parent(s): 5f9ce85

Copying README.md from Yuvrajg2107/roberta-base-cpp

Browse files
Files changed (1) hide show
  1. README.md +71 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-base-cpp
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-base-cpp
18
+
19
+ This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.1043
22
+ - Accuracy: 0.9419
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 2e-05
42
+ - train_batch_size: 2
43
+ - eval_batch_size: 16
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 4
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 1
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
56
+ | 0.1244 | 0.125 | 1000 | 0.0842 | 0.931 |
57
+ | 0.0851 | 0.25 | 2000 | 0.2041 | 0.7715 |
58
+ | 0.0632 | 0.375 | 3000 | 0.1610 | 0.9123 |
59
+ | 0.0521 | 0.5 | 4000 | 0.0907 | 0.9224 |
60
+ | 0.0426 | 0.625 | 5000 | 0.2447 | 0.8784 |
61
+ | 0.0341 | 0.75 | 6000 | 0.0667 | 0.9641 |
62
+ | 0.0252 | 0.875 | 7000 | 0.0872 | 0.957 |
63
+ | 0.0184 | 1.0 | 8000 | 0.1043 | 0.9419 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.57.1
69
+ - Pytorch 2.8.0+cu126
70
+ - Datasets 4.4.1
71
+ - Tokenizers 0.22.1