EC2 Default User
commited on
Commit
•
57374c3
1
Parent(s):
9d880f2
add model
Browse files- .gitignore +1 -0
- README.md +67 -0
- all_results.json +8 -0
- config.json +25 -0
- log.log +6 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- train_results.json +8 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- squad_v2
|
8 |
+
- mit_restaurant
|
9 |
+
model_index:
|
10 |
+
- name: distilbert-base-uncased-squad2-with-ner-mit-restaurant-with-neg-with-repeat
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Token Classification
|
14 |
+
type: token-classification
|
15 |
+
dataset:
|
16 |
+
name: squad_v2
|
17 |
+
type: squad_v2
|
18 |
+
- task:
|
19 |
+
name: Token Classification
|
20 |
+
type: token-classification
|
21 |
+
dataset:
|
22 |
+
name: mit_restaurant
|
23 |
+
type: mit_restaurant
|
24 |
+
---
|
25 |
+
|
26 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
27 |
+
should probably proofread and complete it, then remove this comment. -->
|
28 |
+
|
29 |
+
# distilbert-base-uncased-squad2-with-ner-mit-restaurant-with-neg-with-repeat
|
30 |
+
|
31 |
+
This model is a fine-tuned version of [twmkn9/distilbert-base-uncased-squad2](https://huggingface.co/twmkn9/distilbert-base-uncased-squad2) on the squad_v2 and the mit_restaurant datasets.
|
32 |
+
|
33 |
+
## Model description
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Intended uses & limitations
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training and evaluation data
|
42 |
+
|
43 |
+
More information needed
|
44 |
+
|
45 |
+
## Training procedure
|
46 |
+
|
47 |
+
### Training hyperparameters
|
48 |
+
|
49 |
+
The following hyperparameters were used during training:
|
50 |
+
- learning_rate: 2e-05
|
51 |
+
- train_batch_size: 16
|
52 |
+
- eval_batch_size: 16
|
53 |
+
- seed: 42
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: linear
|
56 |
+
- num_epochs: 5
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.8.2
|
65 |
+
- Pytorch 1.8.1+cu111
|
66 |
+
- Datasets 1.8.0
|
67 |
+
- Tokenizers 0.10.3
|
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"train_loss": 0.2209618340421152,
|
4 |
+
"train_runtime": 2411.0385,
|
5 |
+
"train_samples": 37331,
|
6 |
+
"train_samples_per_second": 77.417,
|
7 |
+
"train_steps_per_second": 4.84
|
8 |
+
}
|
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,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Training dataset length:
|
2 |
+
37331
|
3 |
+
Validation dataset length:
|
4 |
+
4059
|
5 |
+
Test dataset length:
|
6 |
+
8171
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a9f174ae02852e64e95f4768d4d2aeda8de4453ec43fe382212337e887ec889
|
3 |
+
size 265500101
|
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"}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 5.0,
|
3 |
+
"train_loss": 0.2209618340421152,
|
4 |
+
"train_runtime": 2411.0385,
|
5 |
+
"train_samples": 37331,
|
6 |
+
"train_samples_per_second": 77.417,
|
7 |
+
"train_steps_per_second": 4.84
|
8 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:424c6d94ce6bb0410fb3634bebdaa8898bf42f4ff7fcb3d966af6076068688e3
|
3 |
+
size 2863
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|