tiennguyenbnbk commited on
Commit
3291df3
1 Parent(s): 6e3fde4

End of training

Browse files
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vinai/phobert-base-v2
3
+ tags:
4
+ - generated_from_trainer
5
+ model-index:
6
+ - name: cls-comment-phobert-base-v2-v3.1
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
+ # cls-comment-phobert-base-v2-v3.1
14
+
15
+ This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - eval_loss: 0.7125
18
+ - eval_accuracy: 0.9121
19
+ - eval_f1_score: 0.8764
20
+ - eval_recall: 0.8800
21
+ - eval_precision: 0.8756
22
+ - eval_runtime: 6.6382
23
+ - eval_samples_per_second: 548.19
24
+ - eval_steps_per_second: 8.587
25
+ - epoch: 28.07
26
+ - step: 3200
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 1e-05
46
+ - train_batch_size: 64
47
+ - eval_batch_size: 64
48
+ - seed: 42
49
+ - gradient_accumulation_steps: 2
50
+ - total_train_batch_size: 128
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_ratio: 0.1
54
+ - training_steps: 4000
55
+ - label_smoothing_factor: 0.1
56
+
57
+ ### Framework versions
58
+
59
+ - Transformers 4.38.2
60
+ - Pytorch 2.2.1+cu121
61
+ - Datasets 2.18.0
62
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8aa230780349279039ac0da13ff68492fb1e232311f60e5b1b33caf630b5bc28
3
  size 540038764
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c518f6721064284833db8c8ad34d189189200fd55ae706709010ee4227498d3
3
  size 540038764
tmp-checkpoint-3200/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<mask>": 64000
3
+ }
tmp-checkpoint-3200/bpe.codes ADDED
The diff for this file is too large to render. See raw diff
 
tmp-checkpoint-3200/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vinai/phobert-base-v2",
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
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B\u00ecnh th\u01b0\u1eddng",
15
+ "1": "Nh\u1ea1y c\u1ea3m",
16
+ "2": "N\u00f3i chuy\u1ec7n ri\u00eang",
17
+ "3": "Game",
18
+ "4": "Kh\u00f4ng ph\u00f9 h\u1ee3p l\u1ee9a tu\u1ed5i",
19
+ "5": "V\u00f4 ngh\u0129a",
20
+ "6": "Ph\u1ea3n h\u1ed3i ti\u00eau c\u1ef1c"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B\u00ecnh th\u01b0\u1eddng": 0,
26
+ "Game": 3,
27
+ "Kh\u00f4ng ph\u00f9 h\u1ee3p l\u1ee9a tu\u1ed5i": 4,
28
+ "Nh\u1ea1y c\u1ea3m": 1,
29
+ "N\u00f3i chuy\u1ec7n ri\u00eang": 2,
30
+ "Ph\u1ea3n h\u1ed3i ti\u00eau c\u1ef1c": 6,
31
+ "V\u00f4 ngh\u0129a": 5
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 258,
35
+ "model_type": "roberta",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 1,
39
+ "position_embedding_type": "absolute",
40
+ "tokenizer_class": "PhobertTokenizer",
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.38.2",
43
+ "type_vocab_size": 1,
44
+ "use_cache": true,
45
+ "vocab_size": 64001
46
+ }
tmp-checkpoint-3200/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c518f6721064284833db8c8ad34d189189200fd55ae706709010ee4227498d3
3
+ size 540038764
tmp-checkpoint-3200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6bcb630e06e202dc30558edeced62cb49107ab4083101d658e63bc6ed3fd143
3
+ size 635092992
tmp-checkpoint-3200/special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": "<mask>",
6
+ "pad_token": "<pad>",
7
+ "sep_token": "</s>",
8
+ "unk_token": "<unk>"
9
+ }
tmp-checkpoint-3200/tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "64000": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "fast": true,
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "PhobertTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
tmp-checkpoint-3200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01f1417d8f18b1bd12cde4d49ba62ced08b491776f3336b945681263b2243b8b
3
+ size 4984
tmp-checkpoint-3200/vocab.txt ADDED
The diff for this file is too large to render. See raw diff