Seba213 commited on
Commit
1e563cd
1 Parent(s): 166dfd3

NLP-Project

Browse files
README.md CHANGED
@@ -16,6 +16,8 @@ should probably proofread and complete it, then remove this comment. -->
16
  # flan-t5-base-samsum
17
 
18
  This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on the samsum dataset.
 
 
19
 
20
  ## Model description
21
 
@@ -43,6 +45,24 @@ The following hyperparameters were used during training:
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
  - lr_scheduler_type: linear
45
  - num_epochs: 3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
  ### Framework versions
48
 
 
16
  # flan-t5-base-samsum
17
 
18
  This model is a fine-tuned version of [google/flan-t5-base](https://huggingface.co/google/flan-t5-base) on the samsum dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: nan
21
 
22
  ## Model description
23
 
 
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
  - num_epochs: 3
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:----:|:---------------:|
54
+ | 0.0 | 0.2606 | 120 | nan |
55
+ | 0.0 | 0.5212 | 240 | nan |
56
+ | 0.0 | 0.7818 | 360 | nan |
57
+ | 0.0 | 1.0423 | 480 | nan |
58
+ | 0.0 | 1.3029 | 600 | nan |
59
+ | 0.0 | 1.5635 | 720 | nan |
60
+ | 0.0 | 1.8241 | 840 | nan |
61
+ | 0.0 | 2.0847 | 960 | nan |
62
+ | 0.0 | 2.3453 | 1080 | nan |
63
+ | 0.0 | 2.6059 | 1200 | nan |
64
+ | 0.0 | 2.8664 | 1320 | nan |
65
+
66
 
67
  ### Framework versions
68
 
config.json CHANGED
@@ -10,19 +10,26 @@
10
  "decoder_start_token_id": 0,
11
  "dense_act_fn": "gelu_new",
12
  "dropout_rate": 0.1,
 
13
  "eos_token_id": 1,
14
  "feed_forward_proj": "gated-gelu",
15
  "initializer_factor": 1.0,
16
  "is_encoder_decoder": true,
17
  "is_gated_act": true,
18
  "layer_norm_epsilon": 1e-06,
 
 
 
19
  "model_type": "t5",
20
  "n_positions": 512,
 
 
21
  "num_decoder_layers": 12,
22
  "num_heads": 12,
23
  "num_layers": 12,
24
  "output_past": true,
25
  "pad_token_id": 0,
 
26
  "relative_attention_max_distance": 128,
27
  "relative_attention_num_buckets": 32,
28
  "task_specific_params": {
 
10
  "decoder_start_token_id": 0,
11
  "dense_act_fn": "gelu_new",
12
  "dropout_rate": 0.1,
13
+ "early_stopping": true,
14
  "eos_token_id": 1,
15
  "feed_forward_proj": "gated-gelu",
16
  "initializer_factor": 1.0,
17
  "is_encoder_decoder": true,
18
  "is_gated_act": true,
19
  "layer_norm_epsilon": 1e-06,
20
+ "length_penalty": 2.0,
21
+ "max_length": 200,
22
+ "min_length": 30,
23
  "model_type": "t5",
24
  "n_positions": 512,
25
+ "no_repeat_ngram_size": 3,
26
+ "num_beams": 4,
27
  "num_decoder_layers": 12,
28
  "num_heads": 12,
29
  "num_layers": 12,
30
  "output_past": true,
31
  "pad_token_id": 0,
32
+ "prefix": "summarize: ",
33
  "relative_attention_max_distance": 128,
34
  "relative_attention_num_buckets": 32,
35
  "task_specific_params": {
generation_config.json CHANGED
@@ -1,6 +1,13 @@
1
  {
 
2
  "decoder_start_token_id": 0,
 
3
  "eos_token_id": 1,
 
 
 
 
 
4
  "pad_token_id": 0,
5
  "transformers_version": "4.42.3"
6
  }
 
1
  {
2
+ "_from_model_config": true,
3
  "decoder_start_token_id": 0,
4
+ "early_stopping": true,
5
  "eos_token_id": 1,
6
+ "length_penalty": 2.0,
7
+ "max_length": 200,
8
+ "min_length": 30,
9
+ "no_repeat_ngram_size": 3,
10
+ "num_beams": 4,
11
  "pad_token_id": 0,
12
  "transformers_version": "4.42.3"
13
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dcf92d16cb0d854f6a8de27d24317b2c799f6e304bc21a361cffbabb2df62812
3
  size 990345064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:197b346658905cda50c1a71fe0eb77a4d79306adaeb5d7a3c0e9208c91022d45
3
  size 990345064
tokenizer.json CHANGED
@@ -1,7 +1,21 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 95,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 95
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 0,
16
+ "pad_type_id": 0,
17
+ "pad_token": "<pad>"
18
+ },
19
  "added_tokens": [
20
  {
21
  "id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:badbd0459616285b96125c3e630ba24c8bbe0503e90777a658ae8f4c31a5d5c7
3
- size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a60c2ed5495b30eeb6d14c7483c484071c29e57de1d4e69ff70d7abf47fb1c7
3
+ size 5240