asm3515 commited on
Commit
e356a73
·
verified ·
1 Parent(s): 2a532bb

asm3515/distillbert-sst2-full

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: distillbert-yelp-rating-full
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # distillbert-yelp-rating-full
21
+
22
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.3879
25
+ - Accuracy: 0.9117
26
+ - F1: 0.9155
27
+ - Precision: 0.8929
28
+ - Recall: 0.9392
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 64
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 500
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 0.1167 | 1.0 | 4210 | 0.2910 | 0.9002 | 0.9010 | 0.9103 | 0.8919 |
61
+ | 0.0852 | 2.0 | 8420 | 0.3781 | 0.8865 | 0.8937 | 0.8542 | 0.9369 |
62
+ | 0.1275 | 3.0 | 12630 | 0.3879 | 0.9117 | 0.9155 | 0.8929 | 0.9392 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.45.2
68
+ - Pytorch 2.5.0+cu124
69
+ - Datasets 3.0.1
70
+ - Tokenizers 0.20.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a8d595290bc6bd2123db804a65695e010afe3864f7eaca095e4f7c5a38fbe12
3
  size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d618cb4154d7fcecd58a3dbb654ed53af95a40e1c724e0e0ca2d941f3f9469b
3
  size 267832560