hm192494 commited on
Commit
c951ce7
1 Parent(s): bc7ec62

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +4 -4
  2. config.json +19 -38
  3. special_tokens_map.json +1 -1
  4. tf_model.h5 +2 -2
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +1 -1
  7. vocab.json +0 -0
README.md CHANGED
@@ -12,10 +12,10 @@ probably proofread and complete it, then remove this comment. -->
12
 
13
  # hm192494/distilgpt2-finetuned-wikitext2
14
 
15
- This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
- - Train Loss: 3.3277
18
- - Validation Loss: 3.7689
19
  - Epoch: 0
20
 
21
  ## Model description
@@ -42,7 +42,7 @@ The following hyperparameters were used during training:
42
 
43
  | Train Loss | Validation Loss | Epoch |
44
  |:----------:|:---------------:|:-----:|
45
- | 3.3277 | 3.7689 | 0 |
46
 
47
 
48
  ### Framework versions
 
12
 
13
  # hm192494/distilgpt2-finetuned-wikitext2
14
 
15
+ This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on an unknown dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Train Loss: 6.1414
18
+ - Validation Loss: 5.4539
19
  - Epoch: 0
20
 
21
  ## Model description
 
42
 
43
  | Train Loss | Validation Loss | Epoch |
44
  |:----------:|:---------------:|:-----:|
45
+ | 6.1414 | 5.4539 | 0 |
46
 
47
 
48
  ### Framework versions
config.json CHANGED
@@ -1,45 +1,26 @@
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
  "transformers_version": "4.19.1",
 
43
  "use_cache": true,
44
- "vocab_size": 50257
45
  }
 
1
  {
2
+ "_name_or_path": "distilroberta-base",
 
 
3
  "architectures": [
4
+ "RobertaForMaskedLM"
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
  "transformers_version": "4.19.1",
23
+ "type_vocab_size": 1,
24
  "use_cache": true,
25
+ "vocab_size": 50265
26
  }
special_tokens_map.json CHANGED
@@ -1 +1 @@
1
- {"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5eef0d6b2075845ecf9a3ceb1a92cb04ca0b9b66d7f29f27b71cb506f0d95b41
3
- size 327745496
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07443bf6fd58aeef7a2204b225bbb6eeb38a434fef54f83e7881a0c38aa5544f
3
+ size 484838716
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1 +1 @@
1
- {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "distilgpt2", "tokenizer_class": "GPT2Tokenizer"}
 
1
+ {"errors": "replace", "bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "add_prefix_space": false, "trim_offsets": true, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilroberta-base", "tokenizer_class": "RobertaTokenizer"}
vocab.json CHANGED
The diff for this file is too large to render. See raw diff