levancuter commited on
Commit
f540d91
1 Parent(s): 9d7f7e3

End of training

Browse files
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: vinai/phobert-base-v2
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ model-index:
8
+ - name: process_classification
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # process_classification
16
+
17
+ This model is a fine-tuned version of [vinai/phobert-base-v2](https://huggingface.co/vinai/phobert-base-v2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.6159
20
+ - Accuracy: 0.9667
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 16
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - num_epochs: 2
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
50
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
51
+ | No log | 1.0 | 15 | 0.7506 | 0.9667 |
52
+ | No log | 2.0 | 30 | 0.6159 | 0.9667 |
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - Transformers 4.36.2
58
+ - Pytorch 2.1.0+cu121
59
+ - Datasets 2.16.1
60
+ - Tokenizers 0.15.0
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<mask>": 64000
3
+ }
bpe.codes ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "In gi\u1ea5y ho\u00e3n ngh\u0129a v\u1ee5",
15
+ "1": "Nh\u1eadp k\u1ebf ho\u1ea1ch h\u1ecdc t\u1eadp",
16
+ "2": "\u0110\u0103ng k\u00fd h\u1ecdc ph\u1ea7n"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "In gi\u1ea5y ho\u00e3n ngh\u0129a v\u1ee5": 0,
22
+ "Nh\u1eadp k\u1ebf ho\u1ea1ch h\u1ecdc t\u1eadp": 1,
23
+ "\u0110\u0103ng k\u00fd h\u1ecdc ph\u1ea7n": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 258,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "tokenizer_class": "PhobertTokenizer",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.36.2",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 64001
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42a21952a8f4425ea112d33a20e461302cd4018525bf71f9befc33931fcd4f9c
3
+ size 540026460
runs/Jan13_15-15-54_38d2f633ed9b/events.out.tfevents.1705158955.38d2f633ed9b.326.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cfe58b2b1b270cb12e4b9c8eeaa0c371b1e016d2b95e43c3e4d37683c46b0ee
3
+ size 4822
runs/Jan13_15-24-50_38d2f633ed9b/events.out.tfevents.1705159491.38d2f633ed9b.326.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:122b743c1fac744e71501329aed3acc9e3de89bf880e3b529d053f9cbd063028
3
+ size 4818
runs/Jan13_15-27-31_38d2f633ed9b/events.out.tfevents.1705159652.38d2f633ed9b.326.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eabd7c9ab1d6f6553b86e55f3bfb8050cb42735a63791e23b52a1467553bdb54
3
+ size 4818
runs/Jan13_15-52-34_38d2f633ed9b/events.out.tfevents.1705161155.38d2f633ed9b.326.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:763efdbeff0b3ea97a410abca49ef99fee228fba86ec472eb178c8ef4ef8b5fb
3
+ size 4818
runs/Jan13_16-01-18_38d2f633ed9b/events.out.tfevents.1705161678.38d2f633ed9b.326.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:624e02f834571a8cb8d6fd5ade09d15caf08e54b0784a3bcbc7cb1fd66b446dc
3
+ size 4975
runs/Jan13_16-10-49_38d2f633ed9b/events.out.tfevents.1705162250.38d2f633ed9b.14527.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8a115994d205cf68c81ab9941e17dcb98b978c77d6b88cdab0a1148a12467ec
3
+ size 5800
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
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "PhobertTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71836fccc22e8ad6f4c5190ef4e6fc9118b1bc41e852c8e0a42b3cf1ca9e1bbc
3
+ size 4728
vocab.txt ADDED
The diff for this file is too large to render. See raw diff