Anwaarma commited on
Commit
75cb0a3
1 Parent(s): 07469df

End of training

Browse files
Files changed (2) hide show
  1. README.md +85 -0
  2. config.json +3 -9
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: UBC-NLP/MARBERTv2
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: Improved-MARBERT-twitter-sentiment-Twitter
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
+ # Improved-MARBERT-twitter-sentiment-Twitter
16
+
17
+ This model is a fine-tuned version of [UBC-NLP/MARBERTv2](https://huggingface.co/UBC-NLP/MARBERTv2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.7706
20
+ - Accuracy: 0.86
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 1e-05
40
+ - train_batch_size: 32
41
+ - eval_batch_size: 32
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 15
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
50
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
51
+ | 0.5838 | 0.55 | 50 | 0.6058 | 0.71 |
52
+ | 0.3547 | 1.1 | 100 | 0.3887 | 0.83 |
53
+ | 0.2792 | 1.65 | 150 | 0.3479 | 0.85 |
54
+ | 0.1929 | 2.2 | 200 | 0.3596 | 0.87 |
55
+ | 0.1725 | 2.75 | 250 | 0.5874 | 0.8 |
56
+ | 0.1342 | 3.3 | 300 | 0.6560 | 0.81 |
57
+ | 0.1179 | 3.85 | 350 | 0.5146 | 0.85 |
58
+ | 0.079 | 4.4 | 400 | 0.6173 | 0.83 |
59
+ | 0.0928 | 4.95 | 450 | 0.7558 | 0.81 |
60
+ | 0.0425 | 5.49 | 500 | 1.0791 | 0.77 |
61
+ | 0.0609 | 6.04 | 550 | 0.7408 | 0.85 |
62
+ | 0.0328 | 6.59 | 600 | 0.8294 | 0.82 |
63
+ | 0.0531 | 7.14 | 650 | 0.6755 | 0.86 |
64
+ | 0.0342 | 7.69 | 700 | 0.6880 | 0.86 |
65
+ | 0.0263 | 8.24 | 750 | 0.7326 | 0.86 |
66
+ | 0.0147 | 8.79 | 800 | 0.8116 | 0.85 |
67
+ | 0.0169 | 9.34 | 850 | 0.8261 | 0.86 |
68
+ | 0.0118 | 9.89 | 900 | 0.7473 | 0.88 |
69
+ | 0.0087 | 10.44 | 950 | 0.7959 | 0.86 |
70
+ | 0.0051 | 10.99 | 1000 | 0.8585 | 0.85 |
71
+ | 0.0086 | 11.54 | 1050 | 0.8035 | 0.87 |
72
+ | 0.0076 | 12.09 | 1100 | 0.8838 | 0.84 |
73
+ | 0.0048 | 12.64 | 1150 | 0.8124 | 0.87 |
74
+ | 0.0095 | 13.19 | 1200 | 0.9262 | 0.85 |
75
+ | 0.0024 | 13.74 | 1250 | 0.8280 | 0.86 |
76
+ | 0.0109 | 14.29 | 1300 | 0.7895 | 0.87 |
77
+ | 0.0038 | 14.84 | 1350 | 0.7706 | 0.86 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.34.1
83
+ - Pytorch 2.1.0+cu118
84
+ - Datasets 2.14.7
85
+ - Tokenizers 0.14.1
config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_name_or_path": "UBC-NLP/MARBERTv2",
3
  "architectures": [
4
- "BertForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
@@ -10,16 +10,8 @@
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
- "id2label": {
14
- "0": "Negative",
15
- "1": "Positive"
16
- },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
- "label2id": {
20
- "Negative": 0,
21
- "Positive": 1
22
- },
23
  "layer_norm_eps": 1e-12,
24
  "max_position_embeddings": 512,
25
  "model_type": "bert",
@@ -32,6 +24,8 @@
32
  "pooler_size_per_head": 128,
33
  "pooler_type": "first_token_transform",
34
  "position_embedding_type": "absolute",
 
 
35
  "transformers_version": "4.34.1",
36
  "type_vocab_size": 2,
37
  "use_cache": true,
 
1
  {
2
  "_name_or_path": "UBC-NLP/MARBERTv2",
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
 
 
 
 
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
 
 
 
 
15
  "layer_norm_eps": 1e-12,
16
  "max_position_embeddings": 512,
17
  "model_type": "bert",
 
24
  "pooler_size_per_head": 128,
25
  "pooler_type": "first_token_transform",
26
  "position_embedding_type": "absolute",
27
+ "problem_type": "single_label_classification",
28
+ "torch_dtype": "float32",
29
  "transformers_version": "4.34.1",
30
  "type_vocab_size": 2,
31
  "use_cache": true,