Prezily commited on
Commit
3aa854f
1 Parent(s): 24a44ce

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Prezily/my_awesome_model
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - amazon_polarity
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: bert_sentiment_2
11
+ results:
12
+ - task:
13
+ name: Text Classification
14
+ type: text-classification
15
+ dataset:
16
+ name: amazon_polarity
17
+ type: amazon_polarity
18
+ config: amazon_polarity
19
+ split: test
20
+ args: amazon_polarity
21
+ metrics:
22
+ - name: Accuracy
23
+ type: accuracy
24
+ value: 0.9183333333333333
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # bert_sentiment_2
31
+
32
+ This model is a fine-tuned version of [Prezily/my_awesome_model](https://huggingface.co/Prezily/my_awesome_model) on the amazon_polarity dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.4320
35
+ - Accuracy: 0.9183
36
+
37
+ ## Model description
38
+
39
+ More information needed
40
+
41
+ ## Intended uses & limitations
42
+
43
+ More information needed
44
+
45
+ ## Training and evaluation data
46
+
47
+ More information needed
48
+
49
+ ## Training procedure
50
+
51
+ ### Training hyperparameters
52
+
53
+ The following hyperparameters were used during training:
54
+ - learning_rate: 5e-05
55
+ - train_batch_size: 8
56
+ - eval_batch_size: 8
57
+ - seed: 42
58
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
+ - lr_scheduler_type: linear
60
+ - num_epochs: 3.0
61
+
62
+ ### Training results
63
+
64
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
65
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
66
+ | No log | 1.0 | 375 | 0.3221 | 0.901 |
67
+ | 0.3163 | 2.0 | 750 | 0.3553 | 0.914 |
68
+ | 0.0945 | 3.0 | 1125 | 0.4320 | 0.9183 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.35.2
74
+ - Pytorch 2.1.0+cu121
75
+ - Datasets 2.15.0
76
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Prezily/my_awesome_model",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "NEGATIVE",
13
+ "1": "POSITIVE"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "label2id": {
17
+ "NEGATIVE": 0,
18
+ "POSITIVE": 1
19
+ },
20
+ "max_position_embeddings": 512,
21
+ "model_type": "distilbert",
22
+ "n_heads": 12,
23
+ "n_layers": 6,
24
+ "pad_token_id": 0,
25
+ "problem_type": "single_label_classification",
26
+ "qa_dropout": 0.1,
27
+ "seq_classif_dropout": 0.2,
28
+ "sinusoidal_pos_embds": false,
29
+ "tie_weights_": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.35.2",
32
+ "vocab_size": 30522
33
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d213a7fb0adcfc9a1b429b45126609025842c001e4cd32592e715f229df1e5d8
3
+ size 267832560
runs/Dec15_19-56-08_0280a0825f3a/events.out.tfevents.1702670172.0280a0825f3a.10688.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a71918a83933c7d0b0f37e276ac41b7f3a0be7a09fc3a4ec592fb3405b772552
3
+ size 5940
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ed43055cd5f3c5ee93b307f5aee6e49dfd9c89ad58c001a82688b2fd32d306b
3
+ size 4600