SaiPavanKumarMeruga commited on
Commit
c541038
1 Parent(s): d853cd3

SaiPavanKumarMeruga/distilbert-base-uncased-lora-sarcasm-classification

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: distilbert-base-uncased
3
+ library_name: peft
4
+ license: apache-2.0
5
+ metrics:
6
+ - accuracy
7
+ tags:
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: distilbert-base-uncased-lora-text-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
+ # distilbert-base-uncased-lora-text-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.8712
22
+ - Accuracy: {'accuracy': 0.87}
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.001
42
+ - train_batch_size: 4
43
+ - eval_batch_size: 4
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 10
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:-------------------:|
53
+ | No log | 1.0 | 250 | 0.3633 | {'accuracy': 0.846} |
54
+ | 0.4931 | 2.0 | 500 | 0.3868 | {'accuracy': 0.872} |
55
+ | 0.4931 | 3.0 | 750 | 0.3946 | {'accuracy': 0.896} |
56
+ | 0.2372 | 4.0 | 1000 | 0.6032 | {'accuracy': 0.874} |
57
+ | 0.2372 | 5.0 | 1250 | 0.6528 | {'accuracy': 0.88} |
58
+ | 0.0812 | 6.0 | 1500 | 0.7598 | {'accuracy': 0.884} |
59
+ | 0.0812 | 7.0 | 1750 | 0.8247 | {'accuracy': 0.882} |
60
+ | 0.0288 | 8.0 | 2000 | 0.9278 | {'accuracy': 0.868} |
61
+ | 0.0288 | 9.0 | 2250 | 0.8440 | {'accuracy': 0.884} |
62
+ | 0.0134 | 10.0 | 2500 | 0.8712 | {'accuracy': 0.87} |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - PEFT 0.12.0
68
+ - Transformers 4.42.4
69
+ - Pytorch 2.3.1
70
+ - Datasets 2.20.0
71
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.01,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 4,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "q_lin"
27
+ ],
28
+ "task_type": "SEQ_CLS",
29
+ "use_dora": false,
30
+ "use_rslora": false
31
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6703d9ad96c8e34cc388b8ee284ffab87f0413203ae6e47b9be8f07a883ab254
3
+ size 2518104
runs/Aug04_01-43-35_Sais-MBP-3.attlocal.net/events.out.tfevents.1722750534.Sais-MBP-3.attlocal.net.24904.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2c918a364bebc6f3d24c8040003b8b46fae412dd3220dac531ea527faa65a5
3
+ size 4951
runs/Aug04_01-50-50_Sais-MBP-3.attlocal.net/events.out.tfevents.1722750663.Sais-MBP-3.attlocal.net.24904.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7505a1d3737dfab32d54c510a1aaf8d0772a7d98e01b4920dfd86ed88a68fbb
3
+ size 4950
runs/Aug04_01-53-13_Sais-MBP-3.attlocal.net/events.out.tfevents.1722750795.Sais-MBP-3.attlocal.net.24904.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb79dee426f36f2f2cc71a88b15aaa8b292d8fdca2edce818d02e28cb2a787bb
3
+ size 9069
runs/Aug04_10-58-35_Sais-MBP-3.attlocal.net/events.out.tfevents.1722783515.Sais-MBP-3.attlocal.net.25673.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f3f398333dbd2539fa3b2a1ba30fb2c7f2c3a3542334d266912dbbe68c4ef86
3
+ size 9069
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,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "100": {
13
+ "content": "[UNK]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "101": {
21
+ "content": "[CLS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "102": {
29
+ "content": "[SEP]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "103": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "[CLS]",
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:196f38fb5bf5ec8d25187527e8e0701660baa9c434bc9c0e04a8f2d6016c0e26
3
+ size 5176
vocab.txt ADDED
The diff for this file is too large to render. See raw diff