dilkasithari-IT commited on
Commit
1255eab
1 Parent(s): 61c2547

End of training

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: fine-tuned-twitter-roberta-base-sentiment-latest
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # fine-tuned-twitter-roberta-base-sentiment-latest
16
+
17
+ This model is a fine-tuned version of [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.3062
20
+ - Accuracy: {'accuracy': 0.8868131868131868}
21
+ - F1score: {'f1': 0.88247351021472}
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: 5e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 1
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1score |
51
+ |:-------------:|:------:|:----:|:---------------:|:--------------------------------:|:--------------------------:|
52
+ | 0.461 | 0.2443 | 500 | 0.3381 | {'accuracy': 0.8565934065934065} | {'f1': 0.8483856477235431} |
53
+ | 0.3702 | 0.4885 | 1000 | 0.3378 | {'accuracy': 0.865934065934066} | {'f1': 0.8655309886906097} |
54
+ | 0.3574 | 0.7328 | 1500 | 0.2971 | {'accuracy': 0.8714285714285714} | {'f1': 0.8709435986031107} |
55
+ | 0.3358 | 0.9770 | 2000 | 0.3062 | {'accuracy': 0.8868131868131868} | {'f1': 0.88247351021472} |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.41.2
61
+ - Pytorch 2.3.0+cu121
62
+ - Datasets 2.19.2
63
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "negative",
16
+ "1": "neutral",
17
+ "2": "positive"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "negative": 0,
23
+ "neutral": 1,
24
+ "positive": 2
25
+ },
26
+ "layer_norm_eps": 1e-05,
27
+ "max_position_embeddings": 514,
28
+ "model_type": "roberta",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.41.2",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 50265
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70a53c4bc126f2ac85edc409e1777f8c29957745d5ae7abb03820588114fb321
3
+ size 498615900
runs/Jun08_06-01-03_564f9400c222/events.out.tfevents.1717826484.564f9400c222.233.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72c7ee5a089052e88d9beff09cf5d99a553c2f783bfce156505ae571b342f748
3
+ size 7459
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247d49d64efa953177615538e4ae4192373a4a57d941f128c9e40dfb3b90e855
3
+ size 5176