elselse commited on
Commit
b167247
·
verified ·
1 Parent(s): a6e5f03

End of training

Browse files
Files changed (3) hide show
  1. README.md +63 -0
  2. emissions.csv +2 -0
  3. metrics.json +9 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: huggingface/CodeBERTa-small-v1
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: vuln-patch-cwe-guesser-model-huggingface-CodeBERTa-small-v1
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
+ # vuln-patch-cwe-guesser-model-huggingface-CodeBERTa-small-v1
18
+
19
+ This model is a fine-tuned version of [huggingface/CodeBERTa-small-v1](https://huggingface.co/huggingface/CodeBERTa-small-v1) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 4.3345
22
+ - Accuracy: 0.1685
23
+ - F1: 0.0060
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: 3e-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: 1
49
+ - label_smoothing_factor: 0.1
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | 4.5185 | 1.0 | 25 | 4.3345 | 0.1685 | 0.0060 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.55.0
61
+ - Pytorch 2.7.1+cu126
62
+ - Datasets 4.0.0
63
+ - Tokenizers 0.21.2
emissions.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2
+ 2025-08-11T09:45:12,codecarbon,61945ed5-1821-4ae2-9365-9e0bd059ad03,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,8.500327202491462,0.00014669702639236079,1.7257809364016435e-05,42.5,453.73812685402925,94.34468364715576,0.00010028959177240419,0.0010707180787505877,0.00022261617064019726,0.001393623841163189,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-60-generic-x86_64-with-glibc2.39,3.12.3,2.8.4,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.58582305908203,machine,N,1.0
metrics.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eval_loss": 4.33454704284668,
3
+ "eval_accuracy": 0.16853932584269662,
4
+ "eval_f1": 0.006009615384615384,
5
+ "eval_runtime": 0.288,
6
+ "eval_samples_per_second": 309.072,
7
+ "eval_steps_per_second": 10.418,
8
+ "epoch": 1.0
9
+ }