dadashzadeh commited on
Commit
38b9f37
1 Parent(s): 5d31fc2

End of training

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: PartAI/TookaBERT-Base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: my_model
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
+ # my_model
20
+
21
+ This model is a fine-tuned version of [PartAI/TookaBERT-Base](https://huggingface.co/PartAI/TookaBERT-Base) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 2.3774
24
+ - Precision: 0.2
25
+ - Recall: 0.0909
26
+ - F1: 0.1250
27
+ - Accuracy: 0.5319
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 8
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - num_epochs: 3
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
57
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
58
+ | No log | 1.0 | 2 | 2.8942 | 0.0 | 0.0 | 0.0 | 0.3830 |
59
+ | No log | 2.0 | 4 | 2.5283 | 0.0 | 0.0 | 0.0 | 0.4894 |
60
+ | No log | 3.0 | 6 | 2.3774 | 0.2 | 0.0909 | 0.1250 | 0.5319 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.42.4
66
+ - Pytorch 2.3.1+cu121
67
+ - Datasets 2.20.0
68
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "PartAI/TookaBERT-Base",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 3,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-brand",
16
+ "10": "I-form",
17
+ "11": "B-ingredient",
18
+ "12": "I-ingredient",
19
+ "13": "B-manufacturer",
20
+ "14": "I-manufacturer",
21
+ "15": "B-model",
22
+ "16": "I-model",
23
+ "17": "B-product",
24
+ "18": "I-product",
25
+ "19": "B-quantity",
26
+ "2": "I-brand",
27
+ "20": "I-quantity",
28
+ "21": "B-skin_type",
29
+ "22": "I-skin_type",
30
+ "23": "B-type",
31
+ "24": "I-type",
32
+ "25": "B-usage",
33
+ "26": "I-usage",
34
+ "27": "B-benefit",
35
+ "28": "I-benefit",
36
+ "3": "B-certification",
37
+ "4": "I-certification",
38
+ "5": "B-color",
39
+ "6": "I-color",
40
+ "7": "B-country_of_origin",
41
+ "8": "I-country_of_origin",
42
+ "9": "B-form"
43
+ },
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "0": "O",
48
+ "1": "B-brand",
49
+ "10": "I-form",
50
+ "11": "B-ingredient",
51
+ "12": "I-ingredient",
52
+ "13": "B-manufacturer",
53
+ "14": "I-manufacturer",
54
+ "15": "B-model",
55
+ "16": "I-model",
56
+ "17": "B-product",
57
+ "18": "I-product",
58
+ "19": "B-quantity",
59
+ "2": "I-brand",
60
+ "20": "I-quantity",
61
+ "21": "B-skin_type",
62
+ "22": "I-skin_type",
63
+ "23": "B-type",
64
+ "24": "I-type",
65
+ "25": "B-usage",
66
+ "26": "I-usage",
67
+ "27": "B-benefit",
68
+ "28": "I-benefit",
69
+ "3": "B-certification",
70
+ "4": "I-certification",
71
+ "5": "B-color",
72
+ "6": "I-color",
73
+ "7": "B-country_of_origin",
74
+ "8": "I-country_of_origin",
75
+ "9": "B-form"
76
+ },
77
+ "layer_norm_eps": 1e-12,
78
+ "max_position_embeddings": 512,
79
+ "model_type": "bert",
80
+ "num_attention_heads": 12,
81
+ "num_hidden_layers": 12,
82
+ "pad_token_id": 0,
83
+ "position_embedding_type": "absolute",
84
+ "torch_dtype": "float32",
85
+ "transformers_version": "4.42.4",
86
+ "type_vocab_size": 2,
87
+ "use_cache": true,
88
+ "vocab_size": 48000
89
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:149eaf76b80ee1422c9159f9c47f1083e1750c0214507c33ec4bc02e9fd1e70e
3
+ size 489371572
runs/Aug05_23-24-44_0680ddc51f3a/events.out.tfevents.1722900285.0680ddc51f3a.231.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7420aa9e689d44e769f91816946dc1dc0e550168526bc1e26b893cc3cf8becd4
3
+ size 6234
runs/Aug05_23-26-23_0680ddc51f3a/events.out.tfevents.1722900384.0680ddc51f3a.231.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7df94d2e97efe0d5ac2cc0859ecd3c0ad943ba1bbd7b733da2d28a9d08148702
3
+ size 6234
runs/Aug05_23-26-36_0680ddc51f3a/events.out.tfevents.1722900397.0680ddc51f3a.231.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6678f5a1e7f58d9f08be60aaac0a8c7eb45fc6091b09ec2710a338f79b2cc33
3
+ size 7970
special_tokens_map.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "mask_token": {
17
+ "content": "<mask>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "pad_token": {
24
+ "content": "<pad>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "sep_token": {
31
+ "content": "</s>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "unk_token": {
38
+ "content": "<unk>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ }
44
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<pad>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<unk>",
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": "</s>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "eos_token": "</s>",
47
+ "mask_token": "<mask>",
48
+ "max_length": null,
49
+ "model_input_names": [
50
+ "input_ids",
51
+ "attention_mask"
52
+ ],
53
+ "model_max_length": 512,
54
+ "pad_to_multiple_of": null,
55
+ "pad_token": "<pad>",
56
+ "pad_token_type_id": 0,
57
+ "padding_side": "right",
58
+ "sep_token": "</s>",
59
+ "tokenizer_class": "PreTrainedTokenizerFast",
60
+ "truncation_side": "right",
61
+ "unk_token": "<unk>"
62
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b516cebefa23cb900ba82fa5299d234c97bbeb613ce3db9711f3b7ecf8e3c5d1
3
+ size 5112