Imkaran commited on
Commit
1272136
1 Parent(s): e258e5f

Saving model gmra_cardiffnlp/twitter-roberta-base-sentiment-latest_12112024T150727

Browse files
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: twitter-roberta-base-sentiment-latest_12112024T150727
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
+ # twitter-roberta-base-sentiment-latest_12112024T150727
17
+
18
+ This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 1.3348
21
+ - F1: 0.4579
22
+ - Learning Rate: 0.0
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: 1e-05
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 4
46
+ - total_train_batch_size: 32
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_steps: 600
50
+ - num_epochs: 30
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Rate |
56
+ |:-------------:|:-------:|:----:|:---------------:|:------:|:------:|
57
+ | No log | 0.9942 | 86 | 1.8285 | 0.1193 | 0.0000 |
58
+ | No log | 2.0 | 173 | 1.8031 | 0.3302 | 0.0000 |
59
+ | No log | 2.9942 | 259 | 1.5578 | 0.3690 | 0.0000 |
60
+ | No log | 4.0 | 346 | 1.4611 | 0.4092 | 0.0000 |
61
+ | No log | 4.9942 | 432 | 1.4700 | 0.4079 | 0.0000 |
62
+ | 1.3786 | 6.0 | 519 | 1.3348 | 0.4579 | 0.0000 |
63
+ | 1.3786 | 6.9942 | 605 | 1.6543 | 0.4193 | 1e-05 |
64
+ | 1.3786 | 8.0 | 692 | 1.4421 | 0.4858 | 1e-05 |
65
+ | 1.3786 | 8.9942 | 778 | 1.5573 | 0.4603 | 0.0000 |
66
+ | 1.3786 | 10.0 | 865 | 1.5451 | 0.4797 | 0.0000 |
67
+ | 1.3786 | 10.9942 | 951 | 1.8338 | 0.4396 | 0.0000 |
68
+ | 0.6407 | 12.0 | 1038 | 1.9383 | 0.4364 | 0.0000 |
69
+ | 0.6407 | 12.9942 | 1124 | 1.7573 | 0.4680 | 0.0000 |
70
+ | 0.6407 | 14.0 | 1211 | 1.8321 | 0.4735 | 0.0000 |
71
+ | 0.6407 | 14.9942 | 1297 | 1.9524 | 0.4619 | 0.0000 |
72
+ | 0.6407 | 16.0 | 1384 | 2.1822 | 0.4591 | 0.0000 |
73
+ | 0.6407 | 16.9942 | 1470 | 2.1302 | 0.4686 | 6e-06 |
74
+ | 0.2608 | 18.0 | 1557 | 2.5139 | 0.4467 | 0.0000 |
75
+ | 0.2608 | 18.9942 | 1643 | 2.3385 | 0.4641 | 0.0000 |
76
+ | 0.2608 | 20.0 | 1730 | 2.3281 | 0.4726 | 0.0000 |
77
+ | 0.2608 | 20.9942 | 1816 | 2.5489 | 0.4722 | 0.0000 |
78
+ | 0.2608 | 22.0 | 1903 | 2.5727 | 0.4745 | 0.0000 |
79
+ | 0.2608 | 22.9942 | 1989 | 2.5584 | 0.4694 | 0.0000 |
80
+ | 0.1026 | 24.0 | 2076 | 2.8115 | 0.4584 | 0.0000 |
81
+ | 0.1026 | 24.9942 | 2162 | 2.7270 | 0.4691 | 0.0000 |
82
+ | 0.1026 | 26.0 | 2249 | 2.7379 | 0.4746 | 7e-07 |
83
+ | 0.1026 | 26.9942 | 2335 | 2.8336 | 0.4757 | 4e-07 |
84
+ | 0.1026 | 28.0 | 2422 | 2.8201 | 0.4703 | 2e-07 |
85
+ | 0.057 | 28.9942 | 2508 | 2.8292 | 0.4691 | 0.0 |
86
+ | 0.057 | 29.8266 | 2580 | 2.8271 | 0.4691 | 0.0 |
87
+
88
+
89
+ ### Framework versions
90
+
91
+ - Transformers 4.44.2
92
+ - Pytorch 2.5.1+cu124
93
+ - Datasets 3.1.0
94
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "acknowledgement",
16
+ "1": "change_request",
17
+ "2": "critical",
18
+ "3": "discussion_participation",
19
+ "4": "discussion_trigger",
20
+ "5": "reference"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "acknowledgement": 0,
26
+ "change_request": 1,
27
+ "critical": 2,
28
+ "discussion_participation": 3,
29
+ "discussion_trigger": 4,
30
+ "reference": 5
31
+ },
32
+ "layer_norm_eps": 1e-05,
33
+ "max_position_embeddings": 514,
34
+ "model_type": "roberta",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
37
+ "pad_token_id": 1,
38
+ "position_embedding_type": "absolute",
39
+ "problem_type": "single_label_classification",
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.44.2",
42
+ "type_vocab_size": 1,
43
+ "use_cache": true,
44
+ "vocab_size": 50265
45
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ddb72d84fe1f34d15037ea7babcc1615d34a316893392301e4a5c26c3b9b142
3
+ size 498625128
runs/Nov12_09-37-27_c8f22383c0eb/events.out.tfevents.1731404268.c8f22383c0eb.1246.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fb1201e521abc94089fbb60ff4e50994e844c3d91d50572a5da2f0ebd014343
3
+ size 18255
runs/Nov12_09-37-27_c8f22383c0eb/events.out.tfevents.1731405582.c8f22383c0eb.1246.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12bde1368282534e1ea5662bc62a9ab684872cda882cbf8461a8cb1f6a435fbc
3
+ size 463
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb1af78e02559beb90fe155d0a99d53a04afa2de699e71157ccc57c04ba97260
3
+ size 5304
vocab.json ADDED
The diff for this file is too large to render. See raw diff