elselse commited on
Commit
a5ecfe9
·
verified ·
1 Parent(s): 343aad4

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: microsoft/graphcodebert-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: vuln-patch-cwe-guesser-model-microsoft-graphcodebert-base
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-microsoft-graphcodebert-base
18
+
19
+ This model is a fine-tuned version of [microsoft/graphcodebert-base](https://huggingface.co/microsoft/graphcodebert-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 4.0621
22
+ - Accuracy: 0.3372
23
+ - F1: 0.0123
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.6512 | 1.0 | 25 | 4.0621 | 0.3372 | 0.0123 |
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:43:01,codecarbon,113d738a-e210-4483-bb6a-9ee16e791338,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,12.953200169838965,0.00022455010525202892,1.73354925661448e-05,42.5,456.2447039091083,94.34468364715576,0.0001528648026164673,0.001641035201799923,0.0003393291953216839,0.002133229199738074,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.062078952789307,
3
+ "eval_accuracy": 0.3372093023255814,
4
+ "eval_f1": 0.012301166489925769,
5
+ "eval_runtime": 0.382,
6
+ "eval_samples_per_second": 225.148,
7
+ "eval_steps_per_second": 7.854,
8
+ "epoch": 1.0
9
+ }