kaporter commited on
Commit
3aa55a5
1 Parent(s): 339f6dd
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - squad
7
+ model_index:
8
+ - name: bert-base-uncased-finetuned-squad
9
+ results:
10
+ - task:
11
+ name: Question Answering
12
+ type: question-answering
13
+ dataset:
14
+ name: squad
15
+ type: squad
16
+ args: plain_text
17
+ ---
18
+
19
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
20
+ should probably proofread and complete it, then remove this comment. -->
21
+
22
+ # bert-base-uncased-finetuned-squad
23
+
24
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the squad dataset.
25
+ It achieves the following results on the evaluation set:
26
+ - Loss: 1.0725
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 3
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss |
56
+ |:-------------:|:-----:|:-----:|:---------------:|
57
+ | 1.0749 | 1.0 | 5533 | 1.0167 |
58
+ | 0.7851 | 2.0 | 11066 | 1.0299 |
59
+ | 0.6067 | 3.0 | 16599 | 1.0725 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.8.1
65
+ - Pytorch 1.8.1
66
+ - Datasets 1.16.1
67
+ - Tokenizers 0.10.1
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "transformers_version": "4.8.1",
21
+ "type_vocab_size": 2,
22
+ "use_cache": true,
23
+ "vocab_size": 30522
24
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b25d0792426e56d51339399b21f3fa0edbe358b15cf208ef1ee0d53ce04bb0f3
3
+ size 435658487
runs/Nov28_16-41-04_ubuntu-env/1638139272.1769307/events.out.tfevents.1638139272.ubuntu-env.28817.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4632a77c9985b3533899aea852847b1061de124375a0950dfb70961dd246a45f
3
+ size 4234
runs/Nov28_16-41-04_ubuntu-env/events.out.tfevents.1638139272.ubuntu-env.28817.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8df9d597aadec2f6e42ba486f50e26bbba28d7f4df4536fb608ab0d7936ce877
3
+ size 2993
runs/Nov28_16-43-27_ubuntu-env/1638139413.309308/events.out.tfevents.1638139413.ubuntu-env.29065.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09bf69ff17927af4d9a5ae2c2a0149f2250ef3889bd7e97b5d9ccb1565012c4f
3
+ size 4234
runs/Nov28_16-43-27_ubuntu-env/events.out.tfevents.1638139413.ubuntu-env.29065.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b314b24223619667ef262212865130bab399839a5c121684a97ab4bed4650cc
3
+ size 9355
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-uncased", "tokenizer_class": "BertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f43c28b97480caa6008e5906b9a49f3a9e1659a7a5e52fc4dd565e0ed03d8a3c
3
+ size 2671
vocab.txt ADDED
The diff for this file is too large to render. See raw diff