tr-aravindan commited on
Commit
7897d24
·
verified ·
1 Parent(s): 490e98c

t5-large_PREFIX_TUNING_SEQ2SEQ_EMOTION

Browse files
README.md CHANGED
@@ -1,11 +1,13 @@
1
  ---
2
- license: apache-2.0
3
  library_name: peft
4
  tags:
 
 
5
  - generated_from_trainer
6
  datasets:
7
  - emotion
8
- base_model: t5-large
9
  model-index:
10
  - name: output_emotion
11
  results: []
@@ -16,9 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # output_emotion
18
 
19
- This model is a fine-tuned version of [t5-large](https://huggingface.co/t5-large) on the emotion dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 6.9008
22
 
23
  ## Model description
24
 
@@ -43,14 +45,14 @@ The following hyperparameters were used during training:
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
- - num_epochs: 4
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss |
51
  |:-------------:|:-----:|:----:|:---------------:|
52
- | 7.3148 | 2.0 | 1800 | 6.9641 |
53
- | 7.243 | 4.0 | 3600 | 6.9008 |
54
 
55
 
56
  ### Framework versions
 
1
  ---
2
+ license: mit
3
  library_name: peft
4
  tags:
5
+ - trl
6
+ - sft
7
  - generated_from_trainer
8
  datasets:
9
  - emotion
10
+ base_model: gpt2
11
  model-index:
12
  - name: output_emotion
13
  results: []
 
18
 
19
  # output_emotion
20
 
21
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the emotion dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 7.0852
24
 
25
  ## Model description
26
 
 
45
  - seed: 42
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
+ - num_epochs: 5
49
 
50
  ### Training results
51
 
52
  | Training Loss | Epoch | Step | Validation Loss |
53
  |:-------------:|:-----:|:----:|:---------------:|
54
+ | 8.5945 | 2.0 | 1800 | 7.5670 |
55
+ | 7.7948 | 4.0 | 3600 | 7.0852 |
56
 
57
 
58
  ### Framework versions
adapter_config.json CHANGED
@@ -1,15 +1,15 @@
1
  {
2
  "auto_mapping": null,
3
- "base_model_name_or_path": "t5-large",
4
- "encoder_hidden_size": 1024,
5
  "inference_mode": true,
6
- "num_attention_heads": 16,
7
- "num_layers": 24,
8
- "num_transformer_submodules": 2,
9
  "num_virtual_tokens": 20,
10
  "peft_type": "PREFIX_TUNING",
11
  "prefix_projection": false,
12
  "revision": null,
13
- "task_type": "SEQ_2_SEQ_LM",
14
- "token_dim": 1024
15
  }
 
1
  {
2
  "auto_mapping": null,
3
+ "base_model_name_or_path": "gpt2",
4
+ "encoder_hidden_size": 768,
5
  "inference_mode": true,
6
+ "num_attention_heads": 12,
7
+ "num_layers": 12,
8
+ "num_transformer_submodules": 1,
9
  "num_virtual_tokens": 20,
10
  "peft_type": "PREFIX_TUNING",
11
  "prefix_projection": false,
12
  "revision": null,
13
+ "task_type": "CAUSAL_LM",
14
+ "token_dim": 768
15
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bebba8b22ac27f2315d4f4a3ed95623b6b40dd4f234b54ab71a7e032b0d4a187
3
- size 3932288
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5eb993463d87b17c54f1002ca3696b0a3c4119108f0a980777e29262dbbf2e2
3
+ size 1474688
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<|endoftext|>",
3
+ "eos_token": "<|endoftext|>",
4
+ "pad_token": "<|endoftext|>",
5
+ "unk_token": "<|endoftext|>"
6
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": true,
15
+ "eos_token": "<|endoftext|>",
16
+ "model_max_length": 1024,
17
+ "pad_token": "<|endoftext|>",
18
+ "tokenizer_class": "GPT2Tokenizer",
19
+ "unk_token": "<|endoftext|>"
20
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:258163b6c372cb200e4a20cd72507fbac270a717e115e0d2c7d6ac2dc5ea4564
3
- size 4347
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01d43876c345d1baf67f49e8db9f2c55e987541a027dc3ae941960105c22f03e
3
+ size 4219
vocab.json ADDED
The diff for this file is too large to render. See raw diff