JiaJiaCen commited on
Commit
9a3df22
·
verified ·
1 Parent(s): e0533c6

distilbert-base-uncased-disaster-twitter-grid-search

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: distilbert-base-uncased-disaster-twitter
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # distilbert-base-uncased-disaster-twitter
17
+
18
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.4145
21
+ - F1: 0.7859
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 1e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | F1 |
51
+ |:-------------:|:-----:|:----:|:---------------:|:------:|
52
+ | 0.4657 | 1.0 | 762 | 0.4145 | 0.7859 |
53
+ | 0.3464 | 2.0 | 1524 | 0.4821 | 0.7836 |
54
+ | 0.3121 | 3.0 | 2286 | 0.5258 | 0.7871 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.38.1
60
+ - Pytorch 2.1.2+cpu
61
+ - Datasets 2.1.0
62
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "not disaster",
13
+ "1": "disaster"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "disaster": 1,
18
+ "not disaster": 0
19
+ },
20
+ "max_position_embeddings": 512,
21
+ "model_type": "distilbert",
22
+ "n_heads": 12,
23
+ "n_layers": 6,
24
+ "pad_token_id": 0,
25
+ "problem_type": "single_label_classification",
26
+ "qa_dropout": 0.1,
27
+ "seq_classif_dropout": 0.2,
28
+ "sinusoidal_pos_embds": false,
29
+ "tie_weights_": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.38.1",
32
+ "vocab_size": 30522
33
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28f99d7ab7c5439ae0be750a89d796aa669445240a79a99787ff786e0c5707bb
3
+ size 267832560
runs/Apr01_03-20-11_a348d3844f73/events.out.tfevents.1711941611.a348d3844f73.18.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a50e07848f694d50f247dd105a2d052a662b0dbca6cf5a01d59f0c6075e2cd75
3
+ size 6806
runs/Apr01_03-20-11_a348d3844f73/events.out.tfevents.1711944761.a348d3844f73.18.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:665e0249b63b4eebd61773f12d662db2c82e4d8e804af68e64e887cfe45d58d6
3
+ size 405
runs/Apr01_04-12-41_a348d3844f73/events.out.tfevents.1711944762.a348d3844f73.18.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f57059f997b53260a903b466736abec670090e55f40e8902ebd97a39fe1ef5e2
3
+ size 6477
runs/Apr01_04-12-41_a348d3844f73/events.out.tfevents.1711947511.a348d3844f73.18.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6da326ede8443cadd25f11b5a40130f26e64e21712a9d8dab7f4ab49477c33c1
3
+ size 405
runs/Apr01_04-58-31_a348d3844f73/events.out.tfevents.1711947512.a348d3844f73.18.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:517c829b255b7ac50d97d2bf7bc8f3c28a08d1e39792fdcafdb93ed8618559d1
3
+ size 6897
runs/Apr01_04-58-31_a348d3844f73/events.out.tfevents.1711950730.a348d3844f73.18.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96cba9810d0599911864d9412d223ce87081710d51d474062f2b33f3847c966c
3
+ size 405
runs/Apr01_05-52-10_a348d3844f73/events.out.tfevents.1711950731.a348d3844f73.18.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d25600094e6d3642a4b0f07944c6f303015459a4a52f492938148d67c36f43cb
3
+ size 6477
runs/Apr01_05-52-10_a348d3844f73/events.out.tfevents.1711953661.a348d3844f73.18.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:180f33100800d0fdd60d6a7c23af26b1c8ee2934cf556d45f53f16b1ca076ed3
3
+ size 405
runs/Apr01_06-41-01_a348d3844f73/events.out.tfevents.1711953661.a348d3844f73.18.8 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcccef266202634e246fcdae3d955d5084e68630f80626ed2513d624a60e95d7
3
+ size 6897
runs/Apr01_06-41-01_a348d3844f73/events.out.tfevents.1711956985.a348d3844f73.18.9 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9690286fa0d3980a7c450b695c01075470a94b01f18977f37b6097541bfed7fa
3
+ size 405
runs/Apr01_07-36-25_a348d3844f73/events.out.tfevents.1711956986.a348d3844f73.18.10 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:187858c50ecb3a8373e45939ac98e437e06c8a9a69e042870a687dac7bd22439
3
+ size 6477
runs/Apr01_07-36-25_a348d3844f73/events.out.tfevents.1711959866.a348d3844f73.18.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21b94df098eb50ee55b4ca4ff2e593fe7d74cfdeb60e3bd59e84019bf0db7e67
3
+ size 405
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "mask_token": "[MASK]",
48
+ "model_max_length": 512,
49
+ "pad_token": "[PAD]",
50
+ "sep_token": "[SEP]",
51
+ "strip_accents": null,
52
+ "tokenize_chinese_chars": true,
53
+ "tokenizer_class": "DistilBertTokenizer",
54
+ "unk_token": "[UNK]"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0009bc7741deebde0143f1982644328526300398170b50b0b2a94f109af81cda
3
+ size 4984
vocab.txt ADDED
The diff for this file is too large to render. See raw diff