Saurabh54 commited on
Commit
ad8249e
·
1 Parent(s): 2cc4ccb

saurabh54/distilbert-base-uncased-lora-text-classification

Browse files
README.md CHANGED
@@ -1,10 +1,69 @@
1
  ---
2
- library_name: peft
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ## Training procedure
5
 
6
- ### Framework versions
 
 
 
 
 
 
 
 
 
7
 
8
- - PEFT 0.5.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
- - PEFT 0.5.0
 
 
 
 
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-lora-text-classification
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-lora-text-classification
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.4902
21
+ - Accuracy: {'accuracy': 0.5691906005221932}
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: 0.001
41
+ - train_batch_size: 4
42
+ - eval_batch_size: 4
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10
47
 
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:---------------------------------:|
52
+ | 2.1699 | 1.0 | 767 | 1.9578 | {'accuracy': 0.34595300261096606} |
53
+ | 1.7466 | 2.0 | 1534 | 1.6447 | {'accuracy': 0.43994778067885115} |
54
+ | 1.5928 | 3.0 | 2301 | 1.6027 | {'accuracy': 0.48825065274151436} |
55
+ | 1.46 | 4.0 | 3068 | 1.4771 | {'accuracy': 0.5039164490861618} |
56
+ | 1.3395 | 5.0 | 3835 | 1.4685 | {'accuracy': 0.5234986945169713} |
57
+ | 1.2109 | 6.0 | 4602 | 1.4587 | {'accuracy': 0.5509138381201044} |
58
+ | 1.0814 | 7.0 | 5369 | 1.4672 | {'accuracy': 0.5535248041775457} |
59
+ | 0.9708 | 8.0 | 6136 | 1.4799 | {'accuracy': 0.5626631853785901} |
60
+ | 0.9325 | 9.0 | 6903 | 1.4789 | {'accuracy': 0.5652741514360313} |
61
+ | 0.8056 | 10.0 | 7670 | 1.4902 | {'accuracy': 0.5691906005221932} |
62
+
63
+
64
+ ### Framework versions
65
 
66
+ - Transformers 4.33.0
67
+ - Pytorch 2.0.0
68
+ - Datasets 2.1.0
69
+ - Tokenizers 0.13.3
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,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "do_lower_case": true,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "DistilBertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6965523c7dd353c26d6d27c8a068102ca13962d1fba785d286cdcd29f114e16
3
+ size 4091
vocab.txt ADDED
The diff for this file is too large to render. See raw diff