azherali commited on
Commit
1a0256a
·
verified ·
1 Parent(s): d285cdb

Model save

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: FacebookAI/roberta-base
3
+ library_name: peft
4
+ license: mit
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ - precision
9
+ - recall
10
+ tags:
11
+ - generated_from_trainer
12
+ model-index:
13
+ - name: CodeGenDetect-Roberta_Lora
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
+ # CodeGenDetect-Roberta_Lora
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: 0.0373
25
+ - Accuracy: 0.9884
26
+ - F1: 0.9884
27
+ - Precision: 0.9884
28
+ - Recall: 0.9884
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: 128
49
+ - eval_batch_size: 128
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 500
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
+ | 0.0526 | 1.02 | 4000 | 0.0545 | 0.9825 | 0.9825 | 0.9825 | 0.9825 |
62
+ | 0.0402 | 2.05 | 8000 | 0.0401 | 0.9872 | 0.9872 | 0.9872 | 0.9872 |
63
+ | 0.0349 | 3.07 | 12000 | 0.0416 | 0.9870 | 0.9871 | 0.9871 | 0.9870 |
64
+ | 0.0404 | 4.1 | 16000 | 0.0373 | 0.9884 | 0.9884 | 0.9884 | 0.9884 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - PEFT 0.9.0
70
+ - Transformers 4.38.2
71
+ - Pytorch 2.5.1+rocm6.2
72
+ - Datasets 2.21.0
73
+ - Tokenizers 0.15.2