harshilj0310 commited on
Commit
bcbf6a6
1 Parent(s): 2b7d782

harshilj0310/distilbert-sentiment-analysis

Browse files
Files changed (2) hide show
  1. README.md +64 -3
  2. adapter_model.safetensors +1 -1
README.md CHANGED
@@ -1,3 +1,64 @@
1
- ---
2
- license: unknown
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: distilbert-sentiment-analysis
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-sentiment-analysis
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.1302
22
+ - Accuracy: {'accuracy': 0.9528820856254484}
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: 32
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 3
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------------------------------:|
53
+ | 0.2055 | 1.0 | 610 | 0.1353 | {'accuracy': 0.9492944271705334} |
54
+ | 0.1416 | 2.0 | 1220 | 0.1264 | {'accuracy': 0.9521645539344654} |
55
+ | 0.1115 | 3.0 | 1830 | 0.1302 | {'accuracy': 0.9528820856254484} |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - PEFT 0.11.1
61
+ - Transformers 4.41.2
62
+ - Pytorch 2.1.2
63
+ - Datasets 2.19.2
64
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3e061cf566bbd155b274131cc03cb56b6c2c83a1b060dd339f2c4c9f2171102
3
  size 2518104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11a687662137e30eaa4003523b2d0a2a3f846c912bbe9c411f9c09efe2e0e417
3
  size 2518104