sharmadhruv
commited on
Commit
•
8bcd62c
1
Parent(s):
d7fac75
End of training
Browse files- README.md +57 -0
- config.json +43 -43
- model.safetensors +2 -2
- special_tokens_map.json +51 -51
- tokenizer_config.json +73 -73
- training_args.bin +1 -1
README.md
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/bigbird-pegasus-large-pubmed
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: my_awesome_qa_model
|
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 |
+
# my_awesome_qa_model
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [google/bigbird-pegasus-large-pubmed](https://huggingface.co/google/bigbird-pegasus-large-pubmed) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 4.9818
|
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: 2e-05
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 4
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 1
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
49 |
+
| 4.9967 | 1.0 | 1000 | 4.9818 |
|
50 |
+
|
51 |
+
|
52 |
+
### Framework versions
|
53 |
+
|
54 |
+
- Transformers 4.41.2
|
55 |
+
- Pytorch 2.1.2
|
56 |
+
- Datasets 2.19.2
|
57 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -1,43 +1,43 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "google/bigbird-pegasus-large-pubmed",
|
3 |
-
"activation_dropout": 0.0,
|
4 |
-
"activation_function": "gelu_new",
|
5 |
-
"architectures": [
|
6 |
-
"BigBirdPegasusForQuestionAnswering"
|
7 |
-
],
|
8 |
-
"attention_dropout": 0.0,
|
9 |
-
"attention_type": "block_sparse",
|
10 |
-
"block_size": 64,
|
11 |
-
"bos_token_id": 2,
|
12 |
-
"classifier_dropout": 0.0,
|
13 |
-
"d_model": 1024,
|
14 |
-
"decoder_attention_heads": 16,
|
15 |
-
"decoder_ffn_dim": 4096,
|
16 |
-
"decoder_layerdrop": 0.0,
|
17 |
-
"decoder_layers": 16,
|
18 |
-
"decoder_start_token_id": 2,
|
19 |
-
"dropout": 0.1,
|
20 |
-
"encoder_attention_heads": 16,
|
21 |
-
"encoder_ffn_dim": 4096,
|
22 |
-
"encoder_layerdrop": 0.0,
|
23 |
-
"encoder_layers": 16,
|
24 |
-
"eos_token_id": 1,
|
25 |
-
"gradient_checkpointing": false,
|
26 |
-
"init_std": 0.02,
|
27 |
-
"is_encoder_decoder": true,
|
28 |
-
"length_penalty": 0.8,
|
29 |
-
"max_length": 256,
|
30 |
-
"max_position_embeddings": 4096,
|
31 |
-
"model_type": "bigbird_pegasus",
|
32 |
-
"num_beams": 5,
|
33 |
-
"num_hidden_layers": 16,
|
34 |
-
"num_random_blocks": 3,
|
35 |
-
"pad_token_id": 0,
|
36 |
-
"scale_embedding": true,
|
37 |
-
"tokenizer_class": "PegasusTokenizer",
|
38 |
-
"torch_dtype": "
|
39 |
-
"transformers_version": "4.41.2",
|
40 |
-
"use_bias": false,
|
41 |
-
"use_cache": true,
|
42 |
-
"vocab_size": 96103
|
43 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/bigbird-pegasus-large-pubmed",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"architectures": [
|
6 |
+
"BigBirdPegasusForQuestionAnswering"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"attention_type": "block_sparse",
|
10 |
+
"block_size": 64,
|
11 |
+
"bos_token_id": 2,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 1024,
|
14 |
+
"decoder_attention_heads": 16,
|
15 |
+
"decoder_ffn_dim": 4096,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 16,
|
18 |
+
"decoder_start_token_id": 2,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"encoder_attention_heads": 16,
|
21 |
+
"encoder_ffn_dim": 4096,
|
22 |
+
"encoder_layerdrop": 0.0,
|
23 |
+
"encoder_layers": 16,
|
24 |
+
"eos_token_id": 1,
|
25 |
+
"gradient_checkpointing": false,
|
26 |
+
"init_std": 0.02,
|
27 |
+
"is_encoder_decoder": true,
|
28 |
+
"length_penalty": 0.8,
|
29 |
+
"max_length": 256,
|
30 |
+
"max_position_embeddings": 4096,
|
31 |
+
"model_type": "bigbird_pegasus",
|
32 |
+
"num_beams": 5,
|
33 |
+
"num_hidden_layers": 16,
|
34 |
+
"num_random_blocks": 3,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"scale_embedding": true,
|
37 |
+
"tokenizer_class": "PegasusTokenizer",
|
38 |
+
"torch_dtype": "float32",
|
39 |
+
"transformers_version": "4.41.2",
|
40 |
+
"use_bias": false,
|
41 |
+
"use_cache": true,
|
42 |
+
"vocab_size": 96103
|
43 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7ed193bb74e6c8bcc91a0192476909e0429fbb77da6a1d6ebfd018df0e73206
|
3 |
+
size 2307633752
|
special_tokens_map.json
CHANGED
@@ -1,51 +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": "[CLS]",
|
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": "[SEP]",
|
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 |
-
}
|
|
|
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": "[CLS]",
|
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": "[SEP]",
|
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
CHANGED
@@ -1,73 +1,73 @@
|
|
1 |
-
{
|
2 |
-
"added_tokens_decoder": {
|
3 |
-
"0": {
|
4 |
-
"content": "<pad>",
|
5 |
-
"lstrip": false,
|
6 |
-
"normalized": true,
|
7 |
-
"rstrip": false,
|
8 |
-
"single_word": false,
|
9 |
-
"special": true
|
10 |
-
},
|
11 |
-
"1": {
|
12 |
-
"content": "</s>",
|
13 |
-
"lstrip": false,
|
14 |
-
"normalized": true,
|
15 |
-
"rstrip": false,
|
16 |
-
"single_word": false,
|
17 |
-
"special": true
|
18 |
-
},
|
19 |
-
"2": {
|
20 |
-
"content": "<s>",
|
21 |
-
"lstrip": false,
|
22 |
-
"normalized": true,
|
23 |
-
"rstrip": false,
|
24 |
-
"single_word": false,
|
25 |
-
"special": true
|
26 |
-
},
|
27 |
-
"65": {
|
28 |
-
"content": "[CLS]",
|
29 |
-
"lstrip": false,
|
30 |
-
"normalized": true,
|
31 |
-
"rstrip": false,
|
32 |
-
"single_word": false,
|
33 |
-
"special": true
|
34 |
-
},
|
35 |
-
"66": {
|
36 |
-
"content": "[SEP]",
|
37 |
-
"lstrip": false,
|
38 |
-
"normalized": true,
|
39 |
-
"rstrip": false,
|
40 |
-
"single_word": false,
|
41 |
-
"special": true
|
42 |
-
},
|
43 |
-
"67": {
|
44 |
-
"content": "[MASK]",
|
45 |
-
"lstrip": true,
|
46 |
-
"normalized": true,
|
47 |
-
"rstrip": false,
|
48 |
-
"single_word": false,
|
49 |
-
"special": true
|
50 |
-
},
|
51 |
-
"105": {
|
52 |
-
"content": "<unk>",
|
53 |
-
"lstrip": false,
|
54 |
-
"normalized": true,
|
55 |
-
"rstrip": false,
|
56 |
-
"single_word": false,
|
57 |
-
"special": true
|
58 |
-
}
|
59 |
-
},
|
60 |
-
"additional_special_tokens": [],
|
61 |
-
"bos_token": "<s>",
|
62 |
-
"clean_up_tokenization_spaces": true,
|
63 |
-
"cls_token": "[CLS]",
|
64 |
-
"eos_token": "</s>",
|
65 |
-
"mask_token": "[MASK]",
|
66 |
-
"mask_token_sent": null,
|
67 |
-
"model_max_length": 4096,
|
68 |
-
"offset": 0,
|
69 |
-
"pad_token": "<pad>",
|
70 |
-
"sep_token": "[SEP]",
|
71 |
-
"tokenizer_class": "PegasusTokenizer",
|
72 |
-
"unk_token": "<unk>"
|
73 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<pad>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "</s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": true,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": true,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"65": {
|
28 |
+
"content": "[CLS]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"66": {
|
36 |
+
"content": "[SEP]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": true,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"67": {
|
44 |
+
"content": "[MASK]",
|
45 |
+
"lstrip": true,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"105": {
|
52 |
+
"content": "<unk>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"additional_special_tokens": [],
|
61 |
+
"bos_token": "<s>",
|
62 |
+
"clean_up_tokenization_spaces": true,
|
63 |
+
"cls_token": "[CLS]",
|
64 |
+
"eos_token": "</s>",
|
65 |
+
"mask_token": "[MASK]",
|
66 |
+
"mask_token_sent": null,
|
67 |
+
"model_max_length": 4096,
|
68 |
+
"offset": 0,
|
69 |
+
"pad_token": "<pad>",
|
70 |
+
"sep_token": "[SEP]",
|
71 |
+
"tokenizer_class": "PegasusTokenizer",
|
72 |
+
"unk_token": "<unk>"
|
73 |
+
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5112
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f30372cc0156aa8c95ac4e76aa3db410490a4e31eacda6fe1f0efc0e29255ca8
|
3 |
size 5112
|