ckandemir commited on
Commit
d5b1d88
·
verified ·
1 Parent(s): 6492052

End of training

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: bert-base-uncased-amazon-reviews-sentiment-analysis
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # bert-base-uncased-amazon-reviews-sentiment-analysis
20
+
21
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.2344
24
+ - Accuracy: 0.9198
25
+ - F1: 0.9215
26
+ - Precision: 0.9263
27
+ - Recall: 0.9167
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 16
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 500
53
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 0.6741 | 1.0 | 47 | 0.6232 | 0.7594 | 0.7097 | 0.9322 | 0.5729 |
60
+ | 0.4346 | 2.0 | 94 | 0.3871 | 0.8717 | 0.875 | 0.875 | 0.875 |
61
+ | 0.3593 | 3.0 | 141 | 0.2344 | 0.9198 | 0.9215 | 0.9263 | 0.9167 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.41.2
67
+ - Pytorch 2.3.0+cu121
68
+ - Datasets 2.20.0
69
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.41.2",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 30522
27
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6672da87b93f538c537107f5dfddebc972b76f85e45965eeb7e2e692a4306c4a
3
+ size 437958648
runs/Jul15_04-20-21_eeec43c7e4ce/events.out.tfevents.1721017235.eeec43c7e4ce.1137.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ed99c878fa383ef42552469893bb209a8a1d63e1e0f1accf2f0f36b02e4cb2
3
+ size 9714
runs/Jul15_04-21-27_eeec43c7e4ce/events.out.tfevents.1721017292.eeec43c7e4ce.1137.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43b7e8962eb4c6dd1cfe0dfab557b08f8f04610f2e51e402c3c766adb10a8e39
3
+ size 4901
runs/Jul15_04-22-28_eeec43c7e4ce/events.out.tfevents.1721017351.eeec43c7e4ce.1137.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c47a2fab56468a812fb28a2a6038b41a3f8abc3ea5e19ee96339f36cf0d6d19
3
+ size 4901
runs/Jul15_04-25-37_eeec43c7e4ce/events.out.tfevents.1721017539.eeec43c7e4ce.1137.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:186a6931914a3cc6f87d6138f78c1f4d60d7c321f75c0d2ac15d9eab94631465
3
+ size 4901
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c19416cfd699336d08a5192a2a8026f98ba7b602c97736964c8b5dd59373c476
3
+ size 5112