serene89104 commited on
Commit
fc0f57e
1 Parent(s): 3151dfb

End of training

Browse files
Files changed (3) hide show
  1. README.md +62 -0
  2. generation_config.json +6 -0
  3. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert/distilgpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: distilgpt2-finetuned-cybersecurity
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # distilgpt2-finetuned-cybersecurity
17
+
18
+ This model is a fine-tuned version of [distilbert/distilgpt2](https://huggingface.co/distilbert/distilgpt2) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 2.4812
21
+ - Accuracy: 0.1575
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 1e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3.0
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
52
+ | 2.6492 | 1.0 | 21830 | 2.6045 | 0.1576 |
53
+ | 2.5026 | 2.0 | 43660 | 2.5068 | 0.1568 |
54
+ | 2.4877 | 3.0 | 65490 | 2.4812 | 0.1575 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.38.2
60
+ - Pytorch 2.2.1+cu118
61
+ - Datasets 2.18.0
62
+ - Tokenizers 0.15.2
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.38.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:296816d745d18bfe77ae86c767cf781c2ad743eda4286048eb76bf275ddd31be
3
  size 327657928
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ee722cafa20ea5ff00be539bc4a601786467a772b8fae3253f8b42bb5c04091
3
  size 327657928