Muhammad Fadhil Arkan
commited on
Commit
•
67d74f7
1
Parent(s):
1091937
add model
Browse files- .gitignore +1 -0
- README.md +67 -0
- config.json +24 -0
- pytorch_model.bin +3 -0
- runs/Aug16_03-26-35_90cc0db0bbfb/1629084469.0964632/events.out.tfevents.1629084469.90cc0db0bbfb.62.1 +3 -0
- runs/Aug16_03-26-35_90cc0db0bbfb/events.out.tfevents.1629084469.90cc0db0bbfb.62.0 +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -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 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- squad
|
7 |
+
model_index:
|
8 |
+
- name: distilbert-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 |
+
# distilbert-base-uncased-finetuned-squad
|
23 |
+
|
24 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the squad dataset.
|
25 |
+
It achieves the following results on the evaluation set:
|
26 |
+
- Loss: 1.1523
|
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.2171 | 1.0 | 5533 | 1.1511 |
|
58 |
+
| 0.952 | 2.0 | 11066 | 1.1180 |
|
59 |
+
| 0.7707 | 3.0 | 16599 | 1.1523 |
|
60 |
+
|
61 |
+
|
62 |
+
### Framework versions
|
63 |
+
|
64 |
+
- Transformers 4.9.2
|
65 |
+
- Pytorch 1.9.0+cu102
|
66 |
+
- Datasets 1.11.0
|
67 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForQuestionAnswering"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"qa_dropout": 0.1,
|
18 |
+
"seq_classif_dropout": 0.2,
|
19 |
+
"sinusoidal_pos_embds": false,
|
20 |
+
"tie_weights_": true,
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.9.2",
|
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:512a585495a25c16d372bd6a96cf9613c5347dc883b30c56e0ca547b68e45ca4
|
3 |
+
size 265497077
|
runs/Aug16_03-26-35_90cc0db0bbfb/1629084469.0964632/events.out.tfevents.1629084469.90cc0db0bbfb.62.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97713ae521e030cc76498b77b0e3f84bffd735c484b79e32a8ab588d73e0e109
|
3 |
+
size 4206
|
runs/Aug16_03-26-35_90cc0db0bbfb/events.out.tfevents.1629084469.90cc0db0bbfb.62.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbdd737e4245b5ff2d46168b1cd178c5d5459ed06fcd27d7b567bd495c41bb2b
|
3 |
+
size 9216
|
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": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed2cd511d9348f5d7a77f0ab501d3a80a26b6d16e1610ecf47e12f095dccaa4d
|
3 |
+
size 2671
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|