Artanis1551 commited on
Commit
591ca4a
1 Parent(s): d7c18ea

End of training

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-cased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: bert_sentiment_trainer
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
+ # bert_sentiment_trainer
17
+
18
+ This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.5247
21
+ - Accuracy: 0.8831
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: 7.308177098205707e-06
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: constant_with_warmup
46
+ - lr_scheduler_warmup_steps: 50
47
+ - training_steps: 3000
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 0.6183 | 0.32 | 250 | 0.5711 | 0.8028 |
54
+ | 0.4463 | 0.64 | 500 | 0.4603 | 0.8351 |
55
+ | 0.3764 | 0.97 | 750 | 0.4088 | 0.8547 |
56
+ | 0.3555 | 1.29 | 1000 | 0.3841 | 0.8692 |
57
+ | 0.3301 | 1.61 | 1250 | 0.4128 | 0.8521 |
58
+ | 0.2965 | 1.93 | 1500 | 0.3640 | 0.8718 |
59
+ | 0.213 | 2.26 | 1750 | 0.4138 | 0.8773 |
60
+ | 0.1944 | 2.58 | 2000 | 0.3984 | 0.8789 |
61
+ | 0.3084 | 2.9 | 2250 | 0.4197 | 0.8663 |
62
+ | 0.1137 | 3.22 | 2500 | 0.4813 | 0.8789 |
63
+ | 0.1939 | 3.54 | 2750 | 0.5448 | 0.8624 |
64
+ | 0.1746 | 3.87 | 3000 | 0.5247 | 0.8831 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.36.0.dev0
70
+ - Pytorch 2.1.1+cu121
71
+ - Datasets 2.15.0
72
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
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
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2",
16
+ "3": "LABEL_3",
17
+ "4": "LABEL_4"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "LABEL_0": 0,
23
+ "LABEL_1": 1,
24
+ "LABEL_2": 2,
25
+ "LABEL_3": 3,
26
+ "LABEL_4": 4
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "max_position_embeddings": 512,
30
+ "model_type": "bert",
31
+ "num_attention_heads": 12,
32
+ "num_hidden_layers": 12,
33
+ "pad_token_id": 0,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.36.0.dev0",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 28996
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c21d389222553424951b7378043b4432e37b02ab80729327bfc65b032789334
3
+ size 433279996
runs/Dec26_20-23-56_ArtanisPC/events.out.tfevents.1703618648.ArtanisPC.507.37 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd6aa75aff2a1c4afe3bb99b69cadcbecf715be56e1aebd7b6bb22750e4aff33
3
+ size 27590
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f16aa4f4935b4dc13179210eebae456972e0e2b50305cfef4b146d92b43fdb87
3
+ size 4728