adamjweintraut
commited on
Commit
•
f5fbbdd
1
Parent(s):
f60f8ec
adamjweintraut/bart-finetuned-eli5_precomputed
Browse files- README.md +96 -0
- config.json +74 -0
- generation_config.json +13 -0
- model.safetensors +3 -0
- runs/Dec04_23-04-34_57871439e38d/events.out.tfevents.1701731075.57871439e38d.2744.0 +3 -0
- runs/Dec05_03-05-49_57871439e38d/events.out.tfevents.1701745569.57871439e38d.2744.1 +3 -0
- runs/Dec05_05-07-12_57871439e38d/events.out.tfevents.1701752837.57871439e38d.86687.0 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: bart-finetuned-eli5_precomputed
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# bart-finetuned-eli5_precomputed
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [facebook/bart-large](https://huggingface.co/facebook/bart-large) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 9.6500
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 5e-05
|
38 |
+
- train_batch_size: 2
|
39 |
+
- eval_batch_size: 2
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 2
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
49 |
+
| 3.6463 | 0.05 | 500 | 4.7759 |
|
50 |
+
| 3.4654 | 0.1 | 1000 | 5.9053 |
|
51 |
+
| 3.4482 | 0.15 | 1500 | 4.4967 |
|
52 |
+
| 3.565 | 0.2 | 2000 | 5.9963 |
|
53 |
+
| 3.6668 | 0.25 | 2500 | 7.3841 |
|
54 |
+
| 3.6065 | 0.3 | 3000 | 5.0156 |
|
55 |
+
| 3.3743 | 0.35 | 3500 | 4.0016 |
|
56 |
+
| 3.3529 | 0.4 | 4000 | 7.0397 |
|
57 |
+
| 3.5418 | 0.45 | 4500 | 9.1284 |
|
58 |
+
| 3.4724 | 0.5 | 5000 | 5.0625 |
|
59 |
+
| 3.4167 | 0.55 | 5500 | 6.0408 |
|
60 |
+
| 3.4061 | 0.6 | 6000 | 7.1911 |
|
61 |
+
| 3.6455 | 0.65 | 6500 | 5.6523 |
|
62 |
+
| 3.5153 | 0.7 | 7000 | 5.8586 |
|
63 |
+
| 3.4019 | 0.75 | 7500 | 6.6155 |
|
64 |
+
| 3.4094 | 0.8 | 8000 | 6.0468 |
|
65 |
+
| 3.399 | 0.85 | 8500 | 6.7307 |
|
66 |
+
| 3.4732 | 0.9 | 9000 | 11.2534 |
|
67 |
+
| 3.4973 | 0.95 | 9500 | 8.8126 |
|
68 |
+
| 3.4901 | 1.0 | 10000 | 7.7330 |
|
69 |
+
| 3.4378 | 1.05 | 10500 | 8.1397 |
|
70 |
+
| 3.4239 | 1.1 | 11000 | 7.5238 |
|
71 |
+
| 3.4238 | 1.15 | 11500 | 10.0907 |
|
72 |
+
| 3.5335 | 1.2 | 12000 | 9.3069 |
|
73 |
+
| 3.4442 | 1.25 | 12500 | 9.1980 |
|
74 |
+
| 3.1866 | 1.3 | 13000 | 10.1322 |
|
75 |
+
| 3.2806 | 1.35 | 13500 | 9.0616 |
|
76 |
+
| 3.323 | 1.4 | 14000 | 9.7061 |
|
77 |
+
| 3.3219 | 1.45 | 14500 | 7.5160 |
|
78 |
+
| 3.5641 | 1.5 | 15000 | 10.6759 |
|
79 |
+
| 3.2667 | 1.55 | 15500 | 9.1428 |
|
80 |
+
| 3.4873 | 1.6 | 16000 | 10.4514 |
|
81 |
+
| 3.4092 | 1.65 | 16500 | 10.0229 |
|
82 |
+
| 3.4617 | 1.7 | 17000 | 9.6849 |
|
83 |
+
| 3.3726 | 1.75 | 17500 | 9.7335 |
|
84 |
+
| 3.2492 | 1.8 | 18000 | 9.0959 |
|
85 |
+
| 3.3322 | 1.85 | 18500 | 9.4717 |
|
86 |
+
| 3.3306 | 1.9 | 19000 | 10.2230 |
|
87 |
+
| 3.3026 | 1.95 | 19500 | 9.9560 |
|
88 |
+
| 3.2199 | 2.0 | 20000 | 9.6500 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.36.0.dev0
|
94 |
+
- Pytorch 2.1.0+cu118
|
95 |
+
- Datasets 2.15.0
|
96 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/bart-large",
|
3 |
+
"activation_dropout": 0.1,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classif_dropout": 0.1,
|
13 |
+
"classifier_dropout": 0.0,
|
14 |
+
"d_model": 1024,
|
15 |
+
"decoder_attention_heads": 16,
|
16 |
+
"decoder_ffn_dim": 4096,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 12,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 16,
|
23 |
+
"encoder_ffn_dim": 4096,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 12,
|
26 |
+
"eos_token_id": 2,
|
27 |
+
"forced_bos_token_id": 0,
|
28 |
+
"forced_eos_token_id": 2,
|
29 |
+
"gradient_checkpointing": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
+
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_position_embeddings": 1024,
|
43 |
+
"model_type": "bart",
|
44 |
+
"no_repeat_ngram_size": 3,
|
45 |
+
"normalize_before": false,
|
46 |
+
"num_beams": 4,
|
47 |
+
"num_hidden_layers": 12,
|
48 |
+
"pad_token_id": 1,
|
49 |
+
"scale_embedding": false,
|
50 |
+
"task_specific_params": {
|
51 |
+
"summarization": {
|
52 |
+
"length_penalty": 1.0,
|
53 |
+
"max_length": 128,
|
54 |
+
"min_length": 12,
|
55 |
+
"num_beams": 4
|
56 |
+
},
|
57 |
+
"summarization_cnn": {
|
58 |
+
"length_penalty": 2.0,
|
59 |
+
"max_length": 142,
|
60 |
+
"min_length": 56,
|
61 |
+
"num_beams": 4
|
62 |
+
},
|
63 |
+
"summarization_xsum": {
|
64 |
+
"length_penalty": 1.0,
|
65 |
+
"max_length": 62,
|
66 |
+
"min_length": 11,
|
67 |
+
"num_beams": 6
|
68 |
+
}
|
69 |
+
},
|
70 |
+
"torch_dtype": "float32",
|
71 |
+
"transformers_version": "4.36.0.dev0",
|
72 |
+
"use_cache": true,
|
73 |
+
"vocab_size": 50265
|
74 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
5 |
+
"early_stopping": true,
|
6 |
+
"eos_token_id": 2,
|
7 |
+
"forced_bos_token_id": 0,
|
8 |
+
"forced_eos_token_id": 2,
|
9 |
+
"no_repeat_ngram_size": 3,
|
10 |
+
"num_beams": 4,
|
11 |
+
"pad_token_id": 1,
|
12 |
+
"transformers_version": "4.36.0.dev0"
|
13 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0c4065476f2e9d72e7c53eb88a02f3549d94e3a7f72ab7f7ff571ca32a6aefd
|
3 |
+
size 1625426996
|
runs/Dec04_23-04-34_57871439e38d/events.out.tfevents.1701731075.57871439e38d.2744.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72dea100df6fee91de3f12a7df558fa8344c088c189ec1f7d36a47da7b05a372
|
3 |
+
size 11270
|
runs/Dec05_03-05-49_57871439e38d/events.out.tfevents.1701745569.57871439e38d.2744.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ddf1397d9ea030b325f140f6a5b90bbccc4e8cbb46f1d4d0436602182891769b
|
3 |
+
size 5706
|
runs/Dec05_05-07-12_57871439e38d/events.out.tfevents.1701752837.57871439e38d.86687.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6a389e71f305353d3467d19b73244e01ceb3d555a6f57c9ce2bc9650d1f6f87
|
3 |
+
size 17686
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:39eef2beab49d93c8da8ce8ccead77bb4927e568e5719e825c12a4ec4ba91f22
|
3 |
+
size 4984
|