Monda commited on
Commit
3dc54f6
·
verified ·
1 Parent(s): c9979f5

Monda/marbert-mahed25-task1

Browse files
Files changed (4) hide show
  1. README.md +65 -0
  2. config.json +6 -6
  3. eval_metrics.json +5 -5
  4. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: UBC-NLP/MARBERT
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: task1
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
+ # task1
17
+
18
+ This model is a fine-tuned version of [UBC-NLP/MARBERT](https://huggingface.co/UBC-NLP/MARBERT) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6486
21
+ - Accuracy: 0.7112
22
+ - Macro F1: 0.6883
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: 2e-05
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 32
44
+ - seed: 42
45
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 5
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Macro F1 |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
53
+ | 0.773 | 1.0 | 345 | 0.6486 | 0.7112 | 0.6883 |
54
+ | 0.5602 | 2.0 | 690 | 0.7584 | 0.6880 | 0.6497 |
55
+ | 0.3315 | 3.0 | 1035 | 0.9695 | 0.6720 | 0.6594 |
56
+ | 0.196 | 4.0 | 1380 | 1.4219 | 0.6647 | 0.6559 |
57
+ | 0.1183 | 5.0 | 1725 | 1.6137 | 0.6655 | 0.6503 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.53.1
63
+ - Pytorch 2.6.0+cu124
64
+ - Datasets 2.14.4
65
+ - Tokenizers 0.21.2
config.json CHANGED
@@ -10,16 +10,16 @@
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
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
- "LABEL_0": 0,
21
- "LABEL_1": 1,
22
- "LABEL_2": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "hate",
14
+ "1": "hope",
15
+ "2": "not_applicable"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
+ "hate": 0,
21
+ "hope": 1,
22
+ "not_applicable": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
eval_metrics.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "eval_loss": 0.6473047137260437,
3
  "eval_accuracy": 0.7111756168359942,
4
- "eval_macro_f1": 0.6791029938850941,
5
- "eval_runtime": 4.777,
6
- "eval_samples_per_second": 288.468,
7
- "eval_steps_per_second": 9.211,
8
  "epoch": 5.0
9
  }
 
1
  {
2
+ "eval_loss": 0.6485912203788757,
3
  "eval_accuracy": 0.7111756168359942,
4
+ "eval_macro_f1": 0.6882835055560014,
5
+ "eval_runtime": 4.7614,
6
+ "eval_samples_per_second": 289.409,
7
+ "eval_steps_per_second": 9.241,
8
  "epoch": 5.0
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:859a3c2baee231cbe3b355d2bd08c7f1bee0aacf8b486a695fd5ef11de98ace0
3
  size 651398148
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c35f782f5bab272eff04810d5e610645a797d2d1fa371774bb73c5b46a87d63
3
  size 651398148