cedricbonhomme commited on
Commit
e05114f
·
verified ·
1 Parent(s): 137166c

End of training

Browse files
Files changed (4) hide show
  1. README.md +7 -22
  2. emissions.csv +1 -1
  3. model.safetensors +1 -1
  4. training_args.bin +2 -2
README.md CHANGED
@@ -7,8 +7,6 @@ tags:
7
  model-index:
8
  - name: vulnerability-description-generation-gpt2
9
  results: []
10
- datasets:
11
- - CIRCL/vulnerability
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,26 +14,13 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # vulnerability-description-generation-gpt2
18
 
19
- This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the dataset [CIRCL/vulnerability](https://huggingface.co/datasets/CIRCL/vulnerability).
20
-
21
-
22
  It achieves the following results on the evaluation set:
23
- - Loss: 1.8101
24
 
25
  ## Model description
26
 
27
- It is a text generation model and is aimed to assist in writing vulnerability descriptions.
28
-
29
- ## How to get started with the model
30
-
31
- ```python
32
- from transformers import pipeline
33
- pipe = pipeline("text-generation", model="CIRCL/vulnerability-description-generation-gpt2")
34
-
35
- >>> print(pipe("A new vulnerability in OpenSSL allows", max_length=300))
36
- [{'generated_text': 'A new vulnerability in OpenSSL allows remote attackers to create insecure connections. The impact of this vulnerability is that one or more TLS connections will be created under one username or one username/logon in a session for which another username or logon is valid. An attacker that can control the username or logon string of an openSSL host can effectively manipulate the OpenSSL host in a way that enables the attacker to create arbitrary openSSL connections by calling `http-server-create` in a non-secure sequence across other hosts. The vulnerability may be used to perform a man-in-the-middle attack, making the attacker completely different to the attacker. An exploitation may include MITM attacks and man-in-the-middle attacks. NOTE: the vendor states that "SUSE OpenSSL\'s implementation of \'openSSL_connect`, is not vulnerable to MITM attacks. If the attack vector is a MITM attack, OpenSSL will work under any circumstances." The CVE has been assigned for tracking purposes. In no way does the vendor\'s position change that an OpenSSL client should not use openSSL in the context of another OpenSSL server, but an attacker must choose the vulnerability according to their configuration if they are to exploit their attack. NOTE: the vendor indicates that it has considered the impact of this vulnerability "moderate". If by any measure, an OpenSSL client is susceptible to MITM attacks, that vulnerability would be considered low because it would be difficult to exploit a vulnerability that'}]
37
- ```
38
-
39
 
40
  ## Intended uses & limitations
41
 
@@ -63,9 +48,9 @@ The following hyperparameters were used during training:
63
 
64
  | Training Loss | Epoch | Step | Validation Loss |
65
  |:-------------:|:-----:|:-----:|:---------------:|
66
- | 1.0011 | 1.0 | 24037 | 1.9369 |
67
- | 0.9472 | 2.0 | 48074 | 1.8378 |
68
- | 0.9145 | 3.0 | 72111 | 1.8101 |
69
 
70
 
71
  ### Framework versions
@@ -73,4 +58,4 @@ The following hyperparameters were used during training:
73
  - Transformers 4.49.0
74
  - Pytorch 2.6.0+cu124
75
  - Datasets 3.3.2
76
- - Tokenizers 0.21.0
 
7
  model-index:
8
  - name: vulnerability-description-generation-gpt2
9
  results: []
 
 
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
14
 
15
  # vulnerability-description-generation-gpt2
16
 
17
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
 
 
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 1.8180
20
 
21
  ## Model description
22
 
23
+ More information needed
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  ## Intended uses & limitations
26
 
 
48
 
49
  | Training Loss | Epoch | Step | Validation Loss |
50
  |:-------------:|:-----:|:-----:|:---------------:|
51
+ | 1.0054 | 1.0 | 24218 | 1.9465 |
52
+ | 0.9361 | 2.0 | 48436 | 1.8464 |
53
+ | 0.9119 | 3.0 | 72654 | 1.8180 |
54
 
55
 
56
  ### Framework versions
 
58
  - Transformers 4.49.0
59
  - Pytorch 2.6.0+cu124
60
  - Datasets 3.3.2
61
+ - Tokenizers 0.21.0
emissions.csv CHANGED
@@ -1,2 +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-02-25T12:05:29,codecarbon,e0942870-54e4-4907-aedf-43a2d2ad0215,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,21151.06853593886,0.3749755749400021,1.772844593183848e-05,42.5,263.6295483964576,94.34470081329346,0.2495480891734155,2.7587781606318345,0.553947055534731,3.562273305339978,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-48-generic-x86_64-with-glibc2.39,3.12.3,2.8.3,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.58586883544922,machine,N,1.0
 
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-03-10T12:21:01,codecarbon,558e1049-e05c-4f87-b302-8f455d39b3c2,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,21965.787705404684,0.38321849426453464,1.7446153054199084e-05,42.5,186.38144146822282,94.34470081329346,0.2591390341620463,2.8062088269096535,0.5752332953131148,3.640581156384813,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-48-generic-x86_64-with-glibc2.39,3.12.3,2.8.3,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.58586883544922,machine,N,1.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6946ed62dd5eed0f49cceb439be2032d0d2a2231d66023b07cab9a055156a5bf
3
  size 497774208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dfe950e711bedaa2e076f7f3b67d275b831229d9ca3495ab4dc8980d1b5e38d
3
  size 497774208
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6f57248cd68a5287b1c079bb669b90fa07c2ff8f7a44299a1911daefa2da3cbd
3
- size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9687d078bda74be52b97a1749bf304807b5a1d5d5a57d56833744c0999a93028
3
+ size 5304