Amala3 commited on
Commit
283cf92
·
verified ·
1 Parent(s): d6e837d

End of training

Browse files
Files changed (4) hide show
  1. README.md +84 -0
  2. config.json +44 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: vinai/bertweet-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ - precision
9
+ - recall
10
+ - accuracy
11
+ model-index:
12
+ - name: bertweet-base_ordinal_5_seed42_EN
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # bertweet-base_ordinal_5_seed42_EN
20
+
21
+ This model is a fine-tuned version of [vinai/bertweet-base](https://huggingface.co/vinai/bertweet-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 2.3762
24
+ - Mse: 2.9969
25
+ - Rmse: 1.7311
26
+ - Mae: 0.9259
27
+ - R2: 0.1490
28
+ - F1: 0.7832
29
+ - Precision: 0.7840
30
+ - Recall: 0.7860
31
+ - Accuracy: 0.7860
32
+
33
+ ## Model description
34
+
35
+ More information needed
36
+
37
+ ## Intended uses & limitations
38
+
39
+ More information needed
40
+
41
+ ## Training and evaluation data
42
+
43
+ More information needed
44
+
45
+ ## Training procedure
46
+
47
+ ### Training hyperparameters
48
+
49
+ The following hyperparameters were used during training:
50
+ - learning_rate: 5e-06
51
+ - train_batch_size: 16
52
+ - eval_batch_size: 16
53
+ - seed: 42
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - lr_scheduler_warmup_steps: 200
57
+ - num_epochs: 10
58
+
59
+ ### Training results
60
+
61
+ | Training Loss | Epoch | Step | Validation Loss | Mse | Rmse | Mae | R2 | F1 | Precision | Recall | Accuracy |
62
+ |:-------------:|:------:|:----:|:---------------:|:------:|:------:|:------:|:-------:|:------:|:---------:|:------:|:--------:|
63
+ | 3.5232 | 0.4630 | 100 | 3.4011 | 3.4987 | 1.8705 | 1.7180 | -0.0102 | 0.4570 | 0.3669 | 0.6057 | 0.6057 |
64
+ | 3.2579 | 0.9259 | 200 | 3.1630 | 3.3081 | 1.8188 | 1.6110 | 0.0448 | 0.4570 | 0.3669 | 0.6057 | 0.6057 |
65
+ | 2.9868 | 1.3889 | 300 | 2.9383 | 3.4125 | 1.8473 | 1.3916 | 0.0146 | 0.4570 | 0.3669 | 0.6057 | 0.6057 |
66
+ | 2.7421 | 1.8519 | 400 | 2.7612 | 3.0757 | 1.7538 | 1.2167 | 0.1119 | 0.6594 | 0.7657 | 0.7076 | 0.7076 |
67
+ | 2.4831 | 2.3148 | 500 | 2.5697 | 2.7520 | 1.6589 | 1.1070 | 0.2054 | 0.7538 | 0.7580 | 0.7598 | 0.7598 |
68
+ | 2.3685 | 2.7778 | 600 | 2.5183 | 2.9478 | 1.7169 | 1.0888 | 0.1488 | 0.7405 | 0.7549 | 0.7520 | 0.7520 |
69
+ | 2.2204 | 3.2407 | 700 | 2.4655 | 2.9530 | 1.7184 | 0.9739 | 0.1473 | 0.7501 | 0.7776 | 0.7650 | 0.7650 |
70
+ | 2.0367 | 3.7037 | 800 | 2.4423 | 3.1462 | 1.7738 | 0.9843 | 0.0915 | 0.7546 | 0.7546 | 0.7546 | 0.7546 |
71
+ | 2.0266 | 4.1667 | 900 | 2.3620 | 2.9452 | 1.7161 | 0.9608 | 0.1496 | 0.7656 | 0.7653 | 0.7676 | 0.7676 |
72
+ | 1.8431 | 4.6296 | 1000 | 2.3728 | 3.0157 | 1.7366 | 0.9373 | 0.1292 | 0.7680 | 0.7679 | 0.7702 | 0.7702 |
73
+ | 1.8448 | 5.0926 | 1100 | 2.3544 | 2.8903 | 1.7001 | 0.9164 | 0.1654 | 0.7754 | 0.7759 | 0.7781 | 0.7781 |
74
+ | 1.7661 | 5.5556 | 1200 | 2.4342 | 3.0026 | 1.7328 | 0.9138 | 0.1330 | 0.7799 | 0.7794 | 0.7807 | 0.7807 |
75
+ | 1.6105 | 6.0185 | 1300 | 2.4327 | 3.1227 | 1.7671 | 0.9347 | 0.0983 | 0.7691 | 0.7686 | 0.7702 | 0.7702 |
76
+ | 1.5606 | 6.4815 | 1400 | 2.4423 | 3.0966 | 1.7597 | 0.9347 | 0.1059 | 0.7732 | 0.7737 | 0.7728 | 0.7728 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.40.2
82
+ - Pytorch 2.1.2
83
+ - Datasets 2.18.0
84
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vinai/bertweet-base",
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": "LABEL_0",
16
+ "1": "LABEL_1",
17
+ "2": "LABEL_2",
18
+ "3": "LABEL_3",
19
+ "4": "LABEL_4"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "LABEL_0": 0,
25
+ "LABEL_1": 1,
26
+ "LABEL_2": 2,
27
+ "LABEL_3": 3,
28
+ "LABEL_4": 4
29
+ },
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 130,
32
+ "model_type": "roberta",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "problem_type": "single_label_classification",
38
+ "tokenizer_class": "BertweetTokenizer",
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.40.2",
41
+ "type_vocab_size": 1,
42
+ "use_cache": true,
43
+ "vocab_size": 64001
44
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d418822832f3660f0f01d9a74c6fd3de5505241071bef1b4f3d2e04106cf0005
3
+ size 539639396
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8285ef053f99ac52be51cead37b73157b81dcc8ff948bed7ff975efaa53c0cc2
3
+ size 4984