Training in progress, step 500
Browse files- README.md +142 -0
- config.json +75 -0
- generation_config.json +13 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +51 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/bart-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: bart-with-pubmed-noise-data-0.1
|
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-with-pubmed-noise-data-0.1
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [facebook/bart-base](https://huggingface.co/facebook/bart-base) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.1956
|
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: 16
|
39 |
+
- eval_batch_size: 16
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- lr_scheduler_warmup_steps: 10
|
44 |
+
- num_epochs: 3
|
45 |
+
- mixed_precision_training: Native AMP
|
46 |
+
|
47 |
+
### Training results
|
48 |
+
|
49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
50 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
51 |
+
| 0.3905 | 0.04 | 500 | 0.3471 |
|
52 |
+
| 0.3136 | 0.07 | 1000 | 0.3261 |
|
53 |
+
| 0.2971 | 0.11 | 1500 | 0.2971 |
|
54 |
+
| 0.3361 | 0.14 | 2000 | 0.2788 |
|
55 |
+
| 0.2502 | 0.18 | 2500 | 0.2780 |
|
56 |
+
| 0.2613 | 0.21 | 3000 | 0.2690 |
|
57 |
+
| 0.2683 | 0.25 | 3500 | 0.2591 |
|
58 |
+
| 0.2995 | 0.29 | 4000 | 0.2539 |
|
59 |
+
| 0.2317 | 0.32 | 4500 | 0.2481 |
|
60 |
+
| 0.2361 | 0.36 | 5000 | 0.2453 |
|
61 |
+
| 0.2523 | 0.39 | 5500 | 0.2440 |
|
62 |
+
| 0.236 | 0.43 | 6000 | 0.2391 |
|
63 |
+
| 0.2301 | 0.46 | 6500 | 0.2372 |
|
64 |
+
| 0.2259 | 0.5 | 7000 | 0.2328 |
|
65 |
+
| 0.2231 | 0.54 | 7500 | 0.2344 |
|
66 |
+
| 0.2098 | 0.57 | 8000 | 0.2285 |
|
67 |
+
| 0.2663 | 0.61 | 8500 | 0.2220 |
|
68 |
+
| 0.2139 | 0.64 | 9000 | 0.2265 |
|
69 |
+
| 0.2372 | 0.68 | 9500 | 0.2204 |
|
70 |
+
| 0.1946 | 0.71 | 10000 | 0.2213 |
|
71 |
+
| 0.1843 | 0.75 | 10500 | 0.2214 |
|
72 |
+
| 0.1872 | 0.79 | 11000 | 0.2178 |
|
73 |
+
| 0.2182 | 0.82 | 11500 | 0.2127 |
|
74 |
+
| 0.2123 | 0.86 | 12000 | 0.2118 |
|
75 |
+
| 0.1865 | 0.89 | 12500 | 0.2113 |
|
76 |
+
| 0.1782 | 0.93 | 13000 | 0.2080 |
|
77 |
+
| 0.1894 | 0.96 | 13500 | 0.2053 |
|
78 |
+
| 0.1989 | 1.0 | 14000 | 0.2097 |
|
79 |
+
| 0.1721 | 1.03 | 14500 | 0.2083 |
|
80 |
+
| 0.1353 | 1.07 | 15000 | 0.2102 |
|
81 |
+
| 0.164 | 1.11 | 15500 | 0.2140 |
|
82 |
+
| 0.1541 | 1.14 | 16000 | 0.2086 |
|
83 |
+
| 0.1421 | 1.18 | 16500 | 0.2112 |
|
84 |
+
| 0.1752 | 1.21 | 17000 | 0.2085 |
|
85 |
+
| 0.1452 | 1.25 | 17500 | 0.2105 |
|
86 |
+
| 0.1836 | 1.28 | 18000 | 0.2066 |
|
87 |
+
| 0.1444 | 1.32 | 18500 | 0.2083 |
|
88 |
+
| 0.1473 | 1.36 | 19000 | 0.2090 |
|
89 |
+
| 0.1723 | 1.39 | 19500 | 0.2084 |
|
90 |
+
| 0.1328 | 1.43 | 20000 | 0.2042 |
|
91 |
+
| 0.1842 | 1.46 | 20500 | 0.2032 |
|
92 |
+
| 0.1934 | 1.5 | 21000 | 0.2031 |
|
93 |
+
| 0.1412 | 1.53 | 21500 | 0.2008 |
|
94 |
+
| 0.1302 | 1.57 | 22000 | 0.2003 |
|
95 |
+
| 0.142 | 1.61 | 22500 | 0.2008 |
|
96 |
+
| 0.1479 | 1.64 | 23000 | 0.2025 |
|
97 |
+
| 0.1628 | 1.68 | 23500 | 0.2005 |
|
98 |
+
| 0.1126 | 1.71 | 24000 | 0.2016 |
|
99 |
+
| 0.1515 | 1.75 | 24500 | 0.1985 |
|
100 |
+
| 0.1605 | 1.78 | 25000 | 0.1984 |
|
101 |
+
| 0.1659 | 1.82 | 25500 | 0.1970 |
|
102 |
+
| 0.1404 | 1.86 | 26000 | 0.1980 |
|
103 |
+
| 0.1386 | 1.89 | 26500 | 0.1972 |
|
104 |
+
| 0.1119 | 1.93 | 27000 | 0.1976 |
|
105 |
+
| 0.168 | 1.96 | 27500 | 0.1940 |
|
106 |
+
| 0.1318 | 2.0 | 28000 | 0.1958 |
|
107 |
+
| 0.1307 | 2.03 | 28500 | 0.1987 |
|
108 |
+
| 0.1312 | 2.07 | 29000 | 0.2012 |
|
109 |
+
| 0.1237 | 2.11 | 29500 | 0.2002 |
|
110 |
+
| 0.1339 | 2.14 | 30000 | 0.2010 |
|
111 |
+
| 0.1471 | 2.18 | 30500 | 0.1999 |
|
112 |
+
| 0.1195 | 2.21 | 31000 | 0.1998 |
|
113 |
+
| 0.1002 | 2.25 | 31500 | 0.2000 |
|
114 |
+
| 0.1009 | 2.28 | 32000 | 0.2012 |
|
115 |
+
| 0.1608 | 2.32 | 32500 | 0.1995 |
|
116 |
+
| 0.1198 | 2.36 | 33000 | 0.2009 |
|
117 |
+
| 0.1053 | 2.39 | 33500 | 0.1990 |
|
118 |
+
| 0.1399 | 2.43 | 34000 | 0.2001 |
|
119 |
+
| 0.1043 | 2.46 | 34500 | 0.1994 |
|
120 |
+
| 0.1254 | 2.5 | 35000 | 0.1996 |
|
121 |
+
| 0.0987 | 2.53 | 35500 | 0.1966 |
|
122 |
+
| 0.119 | 2.57 | 36000 | 0.1974 |
|
123 |
+
| 0.1167 | 2.61 | 36500 | 0.1983 |
|
124 |
+
| 0.1119 | 2.64 | 37000 | 0.1974 |
|
125 |
+
| 0.1391 | 2.68 | 37500 | 0.1973 |
|
126 |
+
| 0.1036 | 2.71 | 38000 | 0.1971 |
|
127 |
+
| 0.1203 | 2.75 | 38500 | 0.1976 |
|
128 |
+
| 0.1498 | 2.78 | 39000 | 0.1976 |
|
129 |
+
| 0.1037 | 2.82 | 39500 | 0.1975 |
|
130 |
+
| 0.1141 | 2.85 | 40000 | 0.1961 |
|
131 |
+
| 0.0935 | 2.89 | 40500 | 0.1960 |
|
132 |
+
| 0.0985 | 2.93 | 41000 | 0.1963 |
|
133 |
+
| 0.108 | 2.96 | 41500 | 0.1955 |
|
134 |
+
| 0.1054 | 3.0 | 42000 | 0.1956 |
|
135 |
+
|
136 |
+
|
137 |
+
### Framework versions
|
138 |
+
|
139 |
+
- Transformers 4.37.2
|
140 |
+
- Pytorch 2.1.2+cu121
|
141 |
+
- Datasets 2.17.0
|
142 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/bart-base",
|
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": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"dropout": 0.1,
|
21 |
+
"early_stopping": true,
|
22 |
+
"encoder_attention_heads": 12,
|
23 |
+
"encoder_ffn_dim": 3072,
|
24 |
+
"encoder_layerdrop": 0.0,
|
25 |
+
"encoder_layers": 6,
|
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 |
+
"normalize_embedding": true,
|
47 |
+
"num_beams": 4,
|
48 |
+
"num_hidden_layers": 6,
|
49 |
+
"pad_token_id": 1,
|
50 |
+
"scale_embedding": false,
|
51 |
+
"task_specific_params": {
|
52 |
+
"summarization": {
|
53 |
+
"length_penalty": 1.0,
|
54 |
+
"max_length": 128,
|
55 |
+
"min_length": 12,
|
56 |
+
"num_beams": 4
|
57 |
+
},
|
58 |
+
"summarization_cnn": {
|
59 |
+
"length_penalty": 2.0,
|
60 |
+
"max_length": 142,
|
61 |
+
"min_length": 56,
|
62 |
+
"num_beams": 4
|
63 |
+
},
|
64 |
+
"summarization_xsum": {
|
65 |
+
"length_penalty": 1.0,
|
66 |
+
"max_length": 62,
|
67 |
+
"min_length": 11,
|
68 |
+
"num_beams": 6
|
69 |
+
}
|
70 |
+
},
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.37.2",
|
73 |
+
"use_cache": true,
|
74 |
+
"vocab_size": 50265
|
75 |
+
}
|
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.37.2"
|
13 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29f2330234d3f0e0a8f08066aa4d6ed37cd22c69cf5fb83920fbeac666e94e94
|
3 |
+
size 557912620
|
special_tokens_map.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"mask_token": {
|
24 |
+
"content": "<mask>",
|
25 |
+
"lstrip": true,
|
26 |
+
"normalized": true,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"pad_token": {
|
31 |
+
"content": "<pad>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": true,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": true,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": true,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<s>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": true,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"50264": {
|
37 |
+
"content": "<mask>",
|
38 |
+
"lstrip": true,
|
39 |
+
"normalized": true,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"bos_token": "<s>",
|
46 |
+
"clean_up_tokenization_spaces": true,
|
47 |
+
"cls_token": "<s>",
|
48 |
+
"eos_token": "</s>",
|
49 |
+
"errors": "replace",
|
50 |
+
"mask_token": "<mask>",
|
51 |
+
"model_max_length": 1024,
|
52 |
+
"pad_token": "<pad>",
|
53 |
+
"sep_token": "</s>",
|
54 |
+
"tokenizer_class": "BartTokenizer",
|
55 |
+
"unk_token": "<unk>"
|
56 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e92b3bbbadeb1c143866790bf97d052abd65dbdc1f525c3338f369dfc2a6f6e
|
3 |
+
size 4664
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|