azherali commited on
Commit
0373633
·
verified ·
1 Parent(s): d20c47d

Model save

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: CodeDetect-RoBERTa-T2
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
+ # CodeDetect-RoBERTa-T2
21
+
22
+ This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 1.2475
25
+ - Accuracy: 0.6348
26
+ - F1: 0.5913
27
+ - Precision: 0.5843
28
+ - Recall: 0.6057
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: 64
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED 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_steps: 0.1
54
+ - num_epochs: 5
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
60
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
61
+ | 1.1223 | 1.0 | 13235 | 1.1464 | 0.5887 | 0.5454 | 0.5491 | 0.5840 |
62
+ | 0.9116 | 2.0 | 26470 | 1.0812 | 0.6198 | 0.5809 | 0.5791 | 0.6149 |
63
+ | 0.7414 | 3.0 | 39705 | 1.1232 | 0.6290 | 0.5835 | 0.5782 | 0.6064 |
64
+ | 0.5937 | 4.0 | 52940 | 1.1859 | 0.6312 | 0.5859 | 0.5796 | 0.6029 |
65
+ | 0.4897 | 5.0 | 66175 | 1.2475 | 0.6348 | 0.5913 | 0.5843 | 0.6057 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 5.13.1
71
+ - Pytorch 2.11.0+cu130
72
+ - Datasets 4.0.0
73
+ - Tokenizers 0.22.2