elselse commited on
Commit
249db00
·
verified ·
1 Parent(s): 58966fc

End of training

Browse files
Files changed (3) hide show
  1. README.md +67 -0
  2. emissions.csv +2 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: cwe-patch-vulnerability-classification-distilbert-base
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # cwe-patch-vulnerability-classification-distilbert-base
19
+
20
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 3.8538
23
+ - Accuracy: 0.45
24
+ - F1: 0.0455
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 3e-05
44
+ - train_batch_size: 32
45
+ - eval_batch_size: 32
46
+ - seed: 42
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: 4
50
+ - label_smoothing_factor: 0.1
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
56
+ | 4.7783 | 1.0 | 23 | 4.3527 | 0.2625 | 0.0130 |
57
+ | 4.3145 | 2.0 | 46 | 4.0853 | 0.375 | 0.0368 |
58
+ | 4.1393 | 3.0 | 69 | 3.9154 | 0.45 | 0.0455 |
59
+ | 3.9761 | 4.0 | 92 | 3.8538 | 0.45 | 0.0455 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.54.1
65
+ - Pytorch 2.7.1+cu126
66
+ - Datasets 4.0.0
67
+ - Tokenizers 0.21.4
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-06T08:20:50,codecarbon,3491ee4d-b7c9-49e3-9405-6bfbbbf167b1,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,29.14565427135676,0.00047532554658237926,1.6308625023714466e-05,40.01619436,459.06543545204494,70.0,0.00031267302588574046,0.003656060702553532,0.0005468657374925292,0.004515599465931801,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-60-generic-x86_64-with-glibc2.39,3.12.3,3.0.4,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.58582305908203,machine,N,1.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:62d97d005d7051c423b977e7d5d5291ff6ae867e2407f20354c0f4f8834484f6
3
  size 268386256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06e323f8b5a56be1f1095edcace31bf1ca25917c04208b2699e1616af70f8cf7
3
  size 268386256