lucienbaumgartner commited on
Commit
52989f6
·
verified ·
1 Parent(s): 8e85413

lucienbaumgartner/mtg-vorthos-multilabel-distilbert

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: distilbert-base-uncased
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: multilabel_classification
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # multilabel_classification
18
+
19
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.3550
22
+ - F1 Micro: 0.3846
23
+ - F1 Macro: 0.3832
24
+ - F1 Weighted: 0.3836
25
+ - Accuracy: 0.3008
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 0.0001
45
+ - train_batch_size: 8
46
+ - eval_batch_size: 8
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 10
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | F1 Micro | F1 Macro | F1 Weighted | Accuracy |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:-----------:|:--------:|
56
+ | No log | 1.0 | 288 | 0.4072 | 0.0078 | 0.0074 | 0.0077 | 0.0859 |
57
+ | 0.4124 | 2.0 | 576 | 0.3695 | 0.2230 | 0.2164 | 0.2160 | 0.1914 |
58
+ | 0.4124 | 3.0 | 864 | 0.3614 | 0.3195 | 0.3123 | 0.3118 | 0.2578 |
59
+ | 0.3467 | 4.0 | 1152 | 0.3584 | 0.3580 | 0.3547 | 0.3539 | 0.2695 |
60
+ | 0.3467 | 5.0 | 1440 | 0.3550 | 0.3846 | 0.3832 | 0.3836 | 0.3008 |
61
+ | 0.3168 | 6.0 | 1728 | 0.3578 | 0.4127 | 0.4089 | 0.4091 | 0.3164 |
62
+ | 0.291 | 7.0 | 2016 | 0.3618 | 0.4136 | 0.4096 | 0.4099 | 0.3164 |
63
+ | 0.291 | 8.0 | 2304 | 0.3636 | 0.4175 | 0.4134 | 0.4137 | 0.3242 |
64
+ | 0.281 | 9.0 | 2592 | 0.3640 | 0.4235 | 0.4197 | 0.4201 | 0.3320 |
65
+ | 0.281 | 10.0 | 2880 | 0.3647 | 0.4125 | 0.4094 | 0.4096 | 0.3203 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - PEFT 0.11.1
71
+ - Transformers 4.37.2
72
+ - Pytorch 2.2.0
73
+ - Datasets 2.19.1
74
+ - Tokenizers 0.15.1
adapter_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "distilbert-base-uncased",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 8,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "v_lin",
27
+ "k_lin",
28
+ "q_lin"
29
+ ],
30
+ "task_type": "SEQ_CLS",
31
+ "use_dora": false,
32
+ "use_rslora": false
33
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6dae306d1f533dedc0eb27d9cd48b67d9e7eb8e488bc3bd35fde1e2be3f169c
3
+ size 3268052
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:eab9a001314ff0d32993e205c39ca97adb423ac57659d64ab8cd7eda9c0737fe
3
+ size 4728
vocab.txt ADDED
The diff for this file is too large to render. See raw diff