michelle75 commited on
Commit
4c2c68d
1 Parent(s): fffa3c4

Training in progress, step 500

Browse files
Files changed (5) hide show
  1. README.md +6 -6
  2. config.json +38 -19
  3. generation_config.json +2 -3
  4. model.safetensors +2 -2
  5. training_args.bin +1 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- base_model: distilroberta-base
4
  tags:
5
  - generated_from_trainer
6
  model-index:
@@ -13,9 +13,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # github_cybersecurity_READMEs
15
 
16
- This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 1.9832
19
 
20
  ## Model description
21
 
@@ -46,9 +46,9 @@ The following hyperparameters were used during training:
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
- | 2.7395 | 1.0 | 1250 | 2.2302 |
50
- | 2.3054 | 2.0 | 2500 | 2.0325 |
51
- | 2.2275 | 3.0 | 3750 | 1.9858 |
52
 
53
 
54
  ### Framework versions
 
1
  ---
2
  license: apache-2.0
3
+ base_model: distilgpt2
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
13
 
14
  # github_cybersecurity_READMEs
15
 
16
+ This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 2.8573
19
 
20
  ## Model description
21
 
 
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
+ | 3.0489 | 1.0 | 1250 | 2.9234 |
50
+ | 2.902 | 2.0 | 2500 | 2.8704 |
51
+ | 2.8353 | 3.0 | 3750 | 2.8573 |
52
 
53
 
54
  ### Framework versions
config.json CHANGED
@@ -1,27 +1,46 @@
1
  {
2
- "_name_or_path": "distilroberta-base",
 
 
3
  "architectures": [
4
- "RobertaForCausalLM"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "bos_token_id": 0,
8
- "classifier_dropout": null,
9
- "eos_token_id": 2,
10
- "hidden_act": "gelu",
11
- "hidden_dropout_prob": 0.1,
12
- "hidden_size": 768,
13
  "initializer_range": 0.02,
14
- "intermediate_size": 3072,
15
- "layer_norm_eps": 1e-05,
16
- "max_position_embeddings": 514,
17
- "model_type": "roberta",
18
- "num_attention_heads": 12,
19
- "num_hidden_layers": 6,
20
- "pad_token_id": 1,
21
- "position_embedding_type": "absolute",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.40.0.dev0",
24
- "type_vocab_size": 1,
25
  "use_cache": true,
26
- "vocab_size": 50265
27
  }
 
1
  {
2
+ "_name_or_path": "distilgpt2",
3
+ "_num_labels": 1,
4
+ "activation_function": "gelu_new",
5
  "architectures": [
6
+ "GPT2LMHeadModel"
7
  ],
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 50256,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 50256,
12
+ "id2label": {
13
+ "0": "LABEL_0"
14
+ },
15
  "initializer_range": 0.02,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_epsilon": 1e-05,
20
+ "model_type": "gpt2",
21
+ "n_ctx": 1024,
22
+ "n_embd": 768,
23
+ "n_head": 12,
24
+ "n_inner": null,
25
+ "n_layer": 6,
26
+ "n_positions": 1024,
27
+ "reorder_and_upcast_attn": false,
28
+ "resid_pdrop": 0.1,
29
+ "scale_attn_by_inverse_layer_idx": false,
30
+ "scale_attn_weights": true,
31
+ "summary_activation": null,
32
+ "summary_first_dropout": 0.1,
33
+ "summary_proj_to_labels": true,
34
+ "summary_type": "cls_index",
35
+ "summary_use_proj": true,
36
+ "task_specific_params": {
37
+ "text-generation": {
38
+ "do_sample": true,
39
+ "max_length": 50
40
+ }
41
+ },
42
  "torch_dtype": "float32",
43
  "transformers_version": "4.40.0.dev0",
 
44
  "use_cache": true,
45
+ "vocab_size": 50257
46
  }
generation_config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 0,
4
- "eos_token_id": 2,
5
- "pad_token_id": 1,
6
  "transformers_version": "4.40.0.dev0"
7
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
 
5
  "transformers_version": "4.40.0.dev0"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:81912bd7ede131cb98d81f5f40f6ab05f26936cf7ab8c7ce31a9901c66627522
3
- size 328693404
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9672d37a68559da4599e03a6757028c4dbe768105cee90d437983b4c7bce319
3
+ size 327657928
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:110b3ba92e63a2ec1f5abe30288582284085ef1ab832bab1bc9c64479dd8e85d
3
  size 4984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b9703f9a83601a5eaa6ca6169a8b2c3b1614cb9881166962af9231d5ad645bf
3
  size 4984