Cielciel commited on
Commit
24ccef7
1 Parent(s): 7019468

Cielciel/aift-model

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: aift-model
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # aift-model
15
+
16
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 2.1529
19
+ - Accuracy Thresh: 0.9374
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: tpu
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 10
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy Thresh |
50
+ |:-------------:|:-----:|:----:|:---------------:|:---------------:|
51
+ | 1.7187 | 1.0 | 845 | 0.8176 | 0.8261 |
52
+ | 0.7417 | 2.0 | 1690 | 0.7961 | 0.8918 |
53
+ | 0.5647 | 3.0 | 2535 | 0.9633 | 0.9031 |
54
+ | 0.441 | 4.0 | 3380 | 1.1189 | 0.9162 |
55
+ | 0.3397 | 5.0 | 4225 | 1.4119 | 0.9260 |
56
+ | 0.2637 | 6.0 | 5070 | 1.8281 | 0.9270 |
57
+ | 0.2387 | 7.0 | 5915 | 1.8851 | 0.9309 |
58
+ | 0.1711 | 8.0 | 6760 | 1.8036 | 0.9349 |
59
+ | 0.1723 | 9.0 | 7605 | 2.1980 | 0.9373 |
60
+ | 0.1573 | 10.0 | 8450 | 2.1529 | 0.9374 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.37.1
66
+ - Pytorch 2.0.0+cu118
67
+ - Datasets 2.16.1
68
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "ads",
13
+ "1": "bugs",
14
+ "2": "graphic",
15
+ "3": "gameplay",
16
+ "4": "others",
17
+ "5": "request",
18
+ "6": "neutral",
19
+ "7": "negative",
20
+ "8": "positive"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "label2id": {
24
+ "ads": 0,
25
+ "bugs": 1,
26
+ "gameplay": 3,
27
+ "graphic": 2,
28
+ "negative": 7,
29
+ "neutral": 6,
30
+ "others": 4,
31
+ "positive": 8,
32
+ "request": 5
33
+ },
34
+ "max_position_embeddings": 512,
35
+ "model_type": "distilbert",
36
+ "n_heads": 12,
37
+ "n_layers": 6,
38
+ "pad_token_id": 0,
39
+ "problem_type": "multi_label_classification",
40
+ "qa_dropout": 0.1,
41
+ "seq_classif_dropout": 0.2,
42
+ "sinusoidal_pos_embds": false,
43
+ "tie_weights_": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.37.1",
46
+ "vocab_size": 30522
47
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8caf4c37ef8ce97e1f6151c848981dc7a26124e352c48bdd842ad52ecca3387
3
+ size 267854100
runs/Jan29_03-29-51_aift-review-classification-multiple-label/events.out.tfevents.1706498997.aift-review-classification-multiple-label.3221508.5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5665f6510aae988b08dcb018b07a25359cf20e5f065fb0a1cae919fb65e09458
3
+ size 11094
runs/Jan29_03-29-51_aift-review-classification-multiple-label/events.out.tfevents.1706499591.aift-review-classification-multiple-label.3221508.6 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac40634df1ff630e8ff6ee37b6b7e1134417a747192d24600e9e007d22f82242
3
+ size 418
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:93588cb226d8a418dfec41852cb1c020ae33f8e741f963d3823d1fafbdde5701
3
+ size 4219
vocab.txt ADDED
The diff for this file is too large to render. See raw diff