soltaniali commited on
Commit
17b81b8
1 Parent(s): 6d80e02

End of training

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: HooshvareLab/bert-fa-base-uncased-clf-digimag
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ model-index:
11
+ - name: uncased-clf-digimag_v3
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # uncased-clf-digimag_v3
19
+
20
+ This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased-clf-digimag](https://huggingface.co/HooshvareLab/bert-fa-base-uncased-clf-digimag) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 1.2930
23
+ - Accuracy: 0.6481
24
+ - F1: 0.6481
25
+ - Precision: 0.6526
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 1e-05
45
+ - train_batch_size: 16
46
+ - eval_batch_size: 16
47
+ - seed: 42
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: linear
50
+ - num_epochs: 10
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|
56
+ | No log | 1.0 | 221 | 1.1058 | 0.5199 | 0.4953 | 0.5440 |
57
+ | No log | 2.0 | 442 | 0.9655 | 0.6220 | 0.6234 | 0.6304 |
58
+ | 1.0805 | 3.0 | 663 | 0.9397 | 0.6583 | 0.6591 | 0.6626 |
59
+ | 1.0805 | 4.0 | 884 | 0.9880 | 0.6515 | 0.6522 | 0.6720 |
60
+ | 0.6186 | 5.0 | 1105 | 1.0279 | 0.6459 | 0.6457 | 0.6510 |
61
+ | 0.6186 | 6.0 | 1326 | 1.1051 | 0.6527 | 0.6503 | 0.6595 |
62
+ | 0.3378 | 7.0 | 1547 | 1.1496 | 0.6640 | 0.6632 | 0.6776 |
63
+ | 0.3378 | 8.0 | 1768 | 1.2252 | 0.6583 | 0.6569 | 0.6614 |
64
+ | 0.3378 | 9.0 | 1989 | 1.2706 | 0.6459 | 0.6459 | 0.6492 |
65
+ | 0.1804 | 10.0 | 2210 | 1.2930 | 0.6481 | 0.6481 | 0.6526 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.38.2
71
+ - Pytorch 2.1.0+cu121
72
+ - Datasets 2.18.0
73
+ - Tokenizers 0.15.2
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HooshvareLab/bert-fa-base-uncased-clf-digimag",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "finetuning_task": "digimag",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "b2c",
15
+ "1": "adsl/sales",
16
+ "2": "b2b/res",
17
+ "3": "b2b/ent"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "adsl/sales": 1,
23
+ "b2b/ent": 3,
24
+ "b2b/res": 2,
25
+ "b2c": 0
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 0,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.38.2",
37
+ "type_vocab_size": 2,
38
+ "use_cache": true,
39
+ "vocab_size": 100000
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2efc66c0fa6d952afeaf13391351bbdb2ff78d0032a870631f16994264d898d
3
+ size 651401224
runs/Mar12_10-40-25_acf603e5ea18/events.out.tfevents.1710240026.acf603e5ea18.304.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a029fd8e61df1a2506bbb7e9d35aea6b04ac686f275422d7357043da9ac8a5bf
3
+ size 10259
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[MASK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[SEP]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "full_tokenizer_file": null,
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dceb2d8cc7f6b86dbe4d3d203cfa2f82a924f6996cafb73ff2ae4d21bde9da16
3
+ size 4920
vocab.txt ADDED
The diff for this file is too large to render. See raw diff