gechim commited on
Commit
1b1a639
1 Parent(s): e71c927

End of training

Browse files
Files changed (4) hide show
  1. README.md +106 -0
  2. config.json +29 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vinai/phobert-base-v2
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ model-index:
9
+ - name: PhoBert_70KURL
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
+ # PhoBert_70KURL
17
+
18
+ This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.0037
21
+ - Accuracy: 0.9983
22
+ - F1: 0.9983
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: 64
43
+ - eval_batch_size: 64
44
+ - seed: 42
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 128
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 2150
50
+ - num_epochs: 20
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|:------:|
56
+ | No log | 0.4651 | 200 | 0.3962 | 0.8757 | 0.8704 |
57
+ | No log | 0.9302 | 400 | 0.2125 | 0.9287 | 0.9284 |
58
+ | No log | 1.3953 | 600 | 0.1637 | 0.9466 | 0.9466 |
59
+ | No log | 1.8605 | 800 | 0.1432 | 0.9526 | 0.9530 |
60
+ | 0.321 | 2.3256 | 1000 | 0.1220 | 0.9595 | 0.9597 |
61
+ | 0.321 | 2.7907 | 1200 | 0.1084 | 0.9638 | 0.9640 |
62
+ | 0.321 | 3.2558 | 1400 | 0.1034 | 0.9642 | 0.9644 |
63
+ | 0.321 | 3.7209 | 1600 | 0.0905 | 0.9693 | 0.9695 |
64
+ | 0.129 | 4.1860 | 1800 | 0.0813 | 0.9717 | 0.9717 |
65
+ | 0.129 | 4.6512 | 2000 | 0.0762 | 0.9745 | 0.9746 |
66
+ | 0.129 | 5.1163 | 2200 | 0.0693 | 0.9757 | 0.9758 |
67
+ | 0.129 | 5.5814 | 2400 | 0.0633 | 0.9782 | 0.9783 |
68
+ | 0.0951 | 6.0465 | 2600 | 0.0657 | 0.9781 | 0.9783 |
69
+ | 0.0951 | 6.5116 | 2800 | 0.0500 | 0.9835 | 0.9836 |
70
+ | 0.0951 | 6.9767 | 3000 | 0.0464 | 0.9842 | 0.9843 |
71
+ | 0.0951 | 7.4419 | 3200 | 0.0429 | 0.9857 | 0.9858 |
72
+ | 0.0951 | 7.9070 | 3400 | 0.0417 | 0.9861 | 0.9862 |
73
+ | 0.068 | 8.3721 | 3600 | 0.0326 | 0.9890 | 0.9890 |
74
+ | 0.068 | 8.8372 | 3800 | 0.0296 | 0.9907 | 0.9907 |
75
+ | 0.068 | 9.3023 | 4000 | 0.0277 | 0.9905 | 0.9905 |
76
+ | 0.068 | 9.7674 | 4200 | 0.0237 | 0.9916 | 0.9916 |
77
+ | 0.0484 | 10.2326 | 4400 | 0.0205 | 0.9929 | 0.9929 |
78
+ | 0.0484 | 10.6977 | 4600 | 0.0189 | 0.9933 | 0.9933 |
79
+ | 0.0484 | 11.1628 | 4800 | 0.0157 | 0.9944 | 0.9944 |
80
+ | 0.0484 | 11.6279 | 5000 | 0.0145 | 0.9955 | 0.9955 |
81
+ | 0.0356 | 12.0930 | 5200 | 0.0185 | 0.9931 | 0.9931 |
82
+ | 0.0356 | 12.5581 | 5400 | 0.0116 | 0.9962 | 0.9962 |
83
+ | 0.0356 | 13.0233 | 5600 | 0.0099 | 0.9964 | 0.9964 |
84
+ | 0.0356 | 13.4884 | 5800 | 0.0103 | 0.9962 | 0.9962 |
85
+ | 0.0356 | 13.9535 | 6000 | 0.0076 | 0.9974 | 0.9974 |
86
+ | 0.027 | 14.4186 | 6200 | 0.0080 | 0.9971 | 0.9971 |
87
+ | 0.027 | 14.8837 | 6400 | 0.0071 | 0.9975 | 0.9975 |
88
+ | 0.027 | 15.3488 | 6600 | 0.0057 | 0.9980 | 0.9980 |
89
+ | 0.027 | 15.8140 | 6800 | 0.0058 | 0.9979 | 0.9979 |
90
+ | 0.0193 | 16.2791 | 7000 | 0.0049 | 0.9981 | 0.9981 |
91
+ | 0.0193 | 16.7442 | 7200 | 0.0076 | 0.9973 | 0.9973 |
92
+ | 0.0193 | 17.2093 | 7400 | 0.0051 | 0.9982 | 0.9982 |
93
+ | 0.0193 | 17.6744 | 7600 | 0.0044 | 0.9981 | 0.9981 |
94
+ | 0.0148 | 18.1395 | 7800 | 0.0041 | 0.9984 | 0.9984 |
95
+ | 0.0148 | 18.6047 | 8000 | 0.0038 | 0.9984 | 0.9984 |
96
+ | 0.0148 | 19.0698 | 8200 | 0.0039 | 0.9983 | 0.9983 |
97
+ | 0.0148 | 19.5349 | 8400 | 0.0038 | 0.9983 | 0.9983 |
98
+ | 0.0115 | 20.0 | 8600 | 0.0037 | 0.9983 | 0.9983 |
99
+
100
+
101
+ ### Framework versions
102
+
103
+ - Transformers 4.41.2
104
+ - Pytorch 2.1.2
105
+ - Datasets 2.19.2
106
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vinai/phobert-base-v2",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
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-05,
16
+ "max_position_embeddings": 258,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
22
+ "problem_type": "single_label_classification",
23
+ "tokenizer_class": "PhobertTokenizer",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.41.2",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 64001
29
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ae657b75d56161a0b49b7fdc885134aad76b13c4d29ba0d9d0b36fe94cca4bd
3
+ size 540023384
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c9b78d6341556607282a07db1eb3ecb9c0685b6352f530d70bb025c5d2fe8a5
3
+ size 5048