jagadeesr commited on
Commit
cb99b38
·
1 Parent(s): 6dbf0ed

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: distilbert-base-uncased-rvl-cdip
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-rvl-cdip
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: 1.2055
21
+ - Accuracy: 0.7079
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: 5e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 32
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 15
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
54
+ | No log | 1.0 | 48 | 2.4392 | 0.45 |
55
+ | No log | 2.0 | 96 | 1.5529 | 0.5632 |
56
+ | No log | 3.0 | 144 | 1.3164 | 0.6132 |
57
+ | No log | 4.0 | 192 | 1.1269 | 0.6395 |
58
+ | No log | 5.0 | 240 | 1.0145 | 0.7 |
59
+ | No log | 6.0 | 288 | 1.0839 | 0.6816 |
60
+ | No log | 7.0 | 336 | 1.1414 | 0.6868 |
61
+ | No log | 8.0 | 384 | 1.1220 | 0.7053 |
62
+ | No log | 9.0 | 432 | 1.1402 | 0.7105 |
63
+ | No log | 10.0 | 480 | 1.1805 | 0.7132 |
64
+ | 0.8154 | 11.0 | 528 | 1.1923 | 0.7132 |
65
+ | 0.8154 | 12.0 | 576 | 1.2007 | 0.7079 |
66
+ | 0.8154 | 13.0 | 624 | 1.1973 | 0.7079 |
67
+ | 0.8154 | 14.0 | 672 | 1.2049 | 0.7105 |
68
+ | 0.8154 | 15.0 | 720 | 1.2055 | 0.7079 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.36.0
74
+ - Pytorch 2.1.0+cu118
75
+ - Datasets 2.15.0
76
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "presentation",
13
+ "1": "budget",
14
+ "2": "scientific publication",
15
+ "3": "letter",
16
+ "4": "invoice",
17
+ "5": "handwritten",
18
+ "6": "email",
19
+ "7": "questionnaire",
20
+ "8": "memo",
21
+ "9": "specification",
22
+ "10": "resume",
23
+ "11": "file folder",
24
+ "12": "form",
25
+ "13": "scientific report",
26
+ "14": "news article",
27
+ "15": "advertisement"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "label2id": {
31
+ "advertisement": 15,
32
+ "budget": 1,
33
+ "email": 6,
34
+ "file folder": 11,
35
+ "form": 12,
36
+ "handwritten": 5,
37
+ "invoice": 4,
38
+ "letter": 3,
39
+ "memo": 8,
40
+ "news article": 14,
41
+ "presentation": 0,
42
+ "questionnaire": 7,
43
+ "resume": 10,
44
+ "scientific publication": 2,
45
+ "scientific report": 13,
46
+ "specification": 9
47
+ },
48
+ "max_position_embeddings": 512,
49
+ "model_type": "distilbert",
50
+ "n_heads": 12,
51
+ "n_layers": 6,
52
+ "pad_token_id": 0,
53
+ "problem_type": "single_label_classification",
54
+ "qa_dropout": 0.1,
55
+ "seq_classif_dropout": 0.2,
56
+ "sinusoidal_pos_embds": false,
57
+ "tie_weights_": true,
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.36.0",
60
+ "vocab_size": 30522
61
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:519b420c15632ed008202f6292e143e5b6f7c34bf01899cbed5d99e7ba3ca070
3
+ size 267875632
runs/Dec14_03-25-07_0b4147b7eda3/events.out.tfevents.1702524313.0b4147b7eda3.5564.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8a7825534f2a3ca377bfb65f014290193b5366498f5c5fcfa5c52ae6417bb0d
3
+ size 10387
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:744461ce8698e5f744d88335713008ec40a0d7bf93468c790e454d5d9730e008
3
+ size 4728
vocab.txt ADDED
The diff for this file is too large to render. See raw diff