EC2 Default User commited on
Commit
c4b0cb2
1 Parent(s): 20d577e
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - conll2003
6
+ model_index:
7
+ - name: distilbert-base-uncased-squad2-with-ner-with-neg-with-multi
8
+ results:
9
+ - task:
10
+ name: Question Answering
11
+ type: question-answering
12
+ dataset:
13
+ name: conll2003
14
+ type: conll2003
15
+ args: conll2003
16
+ ---
17
+
18
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
19
+ should probably proofread and complete it, then remove this comment. -->
20
+
21
+ # distilbert-base-uncased-squad2-with-ner-with-neg-with-multi
22
+
23
+ This model is a fine-tuned version of [twmkn9/distilbert-base-uncased-squad2](https://huggingface.co/twmkn9/distilbert-base-uncased-squad2) on the conll2003 dataset.
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 5.0
49
+
50
+ ### Training results
51
+
52
+
53
+
54
+ ### Framework versions
55
+
56
+ - Transformers 4.8.2
57
+ - Pytorch 1.8.1+cu111
58
+ - Datasets 1.8.0
59
+ - Tokenizers 0.10.3
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "twmkn9/distilbert-base-uncased-squad2",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForQuestionAnswering"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "eos_token_ids": null,
11
+ "hidden_dim": 3072,
12
+ "initializer_range": 0.02,
13
+ "max_position_embeddings": 512,
14
+ "model_type": "distilbert",
15
+ "n_heads": 12,
16
+ "n_layers": 6,
17
+ "output_past": true,
18
+ "pad_token_id": 0,
19
+ "qa_dropout": 0.1,
20
+ "seq_classif_dropout": 0.2,
21
+ "sinusoidal_pos_embds": false,
22
+ "tie_weights_": true,
23
+ "transformers_version": "4.8.2",
24
+ "vocab_size": 30522
25
+ }
log.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Training dataset length:
2
+ 75365
3
+ Validation dataset length:
4
+ 18000
5
+ Test dataset length:
6
+ 17966
7
+ Current eval performance:
8
+ Evaluate results:
9
+ {'eval_exact': 61.166666666666664, 'eval_f1': 62.85259551738643, 'eval_total': 18000, 'eval_HasAns_exact': 29.12621359223301, 'eval_HasAns_f1': 34.38743400016661, 'eval_HasAns_total': 5768, 'eval_NoAns_exact': 76.2753433616743, 'eval_NoAns_f1': 76.2753433616743, 'eval_NoAns_total': 12232, 'eval_best_exact': 67.96666666666667, 'eval_best_exact_thresh': 0.0, 'eval_best_f1': 67.98520126170126, 'eval_best_f1_thresh': 0.0, 'eval_samples': 18000}
10
+ Predict results:
11
+ {'test_exact': 62.00601135478125, 'test_f1': 63.80738510177029, 'test_total': 17966, 'test_HasAns_exact': 27.75644541963796, 'test_HasAns_f1': 33.67406852046233, 'test_HasAns_total': 5469, 'test_NoAns_exact': 76.99447867488198, 'test_NoAns_f1': 76.99447867488198, 'test_NoAns_total': 12497, 'test_best_exact': 69.59812980073472, 'test_best_exact_thresh': 0.0, 'test_best_f1': 69.61402402068104, 'test_best_f1_thresh': 0.0, 'predict_samples': 17966}
12
+ Best trial:
13
+ BestRun(run_id='6', objective=96.43176121181548, hyperparameters={'learning_rate': 5e-05, 'num_train_epochs': 4, 'per_device_train_batch_size': 16, 'warmup_steps': 0})
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b71c9cae82bfe75de55fdea815a76f1f155c5fed72347e14cf7ae70077a12a8
3
+ size 265500101
score.txt ADDED
File without changes
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, "max_len": 512, "special_tokens_map_file": "/home/ec2-user/.cache/huggingface/transformers/1ca0b152f7e9e7bd279fded5ffd0930ddafcdc395cbebe37fee225d756a796d3.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "name_or_path": "twmkn9/distilbert-base-uncased-squad2", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "DistilBertTokenizer"}
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c172a7637da3b4f9ed1325327dba01c113e2c431e769172f8a8dbe92873ea7f5
3
+ size 2863
vocab.txt ADDED
The diff for this file is too large to render. See raw diff