joheras commited on
Commit
1a191a4
verified
1 Parent(s): 4f66408

Training complete

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +73 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: jhu-clsp/mmBERT-base
5
+ tags:
6
+ - classification
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: finetuned_model_emotion_detection
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
+ # finetuned_model_emotion_detection
17
+
18
+ This model is a fine-tuned version of [jhu-clsp/mmBERT-base](https://huggingface.co/jhu-clsp/mmBERT-base) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3275
21
+ - F1 Macro: 0.5078
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: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 3
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | F1 Macro |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | No log | 1.0 | 223 | 0.2786 | 0.3914 |
54
+ | No log | 2.0 | 446 | 0.2703 | 0.4524 |
55
+ | 0.2589 | 3.0 | 669 | 0.3275 | 0.5078 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.57.1
61
+ - Pytorch 2.8.0+cu126
62
+ - Datasets 4.2.0
63
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForSequenceClassification"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 2,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "cls_token_id": 1,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 1,
18
+ "global_attn_every_n_layers": 3,
19
+ "global_rope_theta": 160000,
20
+ "gradient_checkpointing": false,
21
+ "hidden_activation": "gelu",
22
+ "hidden_size": 768,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2",
27
+ "3": "LABEL_3",
28
+ "4": "LABEL_4",
29
+ "5": "LABEL_5",
30
+ "6": "LABEL_6",
31
+ "7": "LABEL_7",
32
+ "8": "LABEL_8",
33
+ "9": "LABEL_9",
34
+ "10": "LABEL_10"
35
+ },
36
+ "initializer_cutoff_factor": 2.0,
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 1152,
39
+ "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1,
42
+ "LABEL_10": 10,
43
+ "LABEL_2": 2,
44
+ "LABEL_3": 3,
45
+ "LABEL_4": 4,
46
+ "LABEL_5": 5,
47
+ "LABEL_6": 6,
48
+ "LABEL_7": 7,
49
+ "LABEL_8": 8,
50
+ "LABEL_9": 9
51
+ },
52
+ "layer_norm_eps": 1e-05,
53
+ "local_attention": 128,
54
+ "local_rope_theta": 160000,
55
+ "mask_token_id": 4,
56
+ "max_position_embeddings": 8192,
57
+ "mlp_bias": false,
58
+ "mlp_dropout": 0.0,
59
+ "model_type": "modernbert",
60
+ "norm_bias": false,
61
+ "norm_eps": 1e-05,
62
+ "num_attention_heads": 12,
63
+ "num_hidden_layers": 22,
64
+ "pad_token_id": 0,
65
+ "position_embedding_type": "sans_pos",
66
+ "problem_type": "multi_label_classification",
67
+ "repad_logits_with_grad": false,
68
+ "sep_token_id": 1,
69
+ "sparse_pred_ignore_index": -100,
70
+ "sparse_prediction": false,
71
+ "transformers_version": "4.57.1",
72
+ "vocab_size": 256000
73
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98165310598d4747ffc3086aae772e0cad12cb1fffcb55fcb16aaea4551f2869
3
+ size 1230169116
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1e908bfd541fbc1dfd0426ce81d6fb25a161bb5cd65130de4fa4e633d89d386
3
+ size 5841