soltaniali commited on
Commit
c63b6e8
1 Parent(s): 74b8b9a

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-persiannews
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ model-index:
11
+ - name: uncased-clf-persiannews_v1
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-persiannews_v1
19
+
20
+ This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased-clf-persiannews](https://huggingface.co/HooshvareLab/bert-fa-base-uncased-clf-persiannews) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 1.4385
23
+ - Accuracy: 0.6459
24
+ - F1: 0.6461
25
+ - Precision: 0.6470
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: 5e-06
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.0855 | 0.6277 | 0.6263 | 0.6472 |
57
+ | No log | 2.0 | 442 | 1.0924 | 0.6549 | 0.6545 | 0.6598 |
58
+ | 0.4554 | 3.0 | 663 | 1.1278 | 0.6583 | 0.6570 | 0.6609 |
59
+ | 0.4554 | 4.0 | 884 | 1.2085 | 0.6481 | 0.6488 | 0.6559 |
60
+ | 0.2653 | 5.0 | 1105 | 1.2614 | 0.6481 | 0.6487 | 0.6498 |
61
+ | 0.2653 | 6.0 | 1326 | 1.3392 | 0.6402 | 0.6371 | 0.6433 |
62
+ | 0.1817 | 7.0 | 1547 | 1.3692 | 0.6549 | 0.6543 | 0.6572 |
63
+ | 0.1817 | 8.0 | 1768 | 1.4216 | 0.6425 | 0.6419 | 0.6424 |
64
+ | 0.1817 | 9.0 | 1989 | 1.4325 | 0.6549 | 0.6551 | 0.6555 |
65
+ | 0.1334 | 10.0 | 2210 | 1.4385 | 0.6459 | 0.6461 | 0.6470 |
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-persiannews",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "finetuning_task": "persiannews",
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:1a4df51809f4c53e122a3976c9e1f77c6247b76193e5afab4fb9f63fbd6ee422
3
+ size 651401224
runs/Mar12_08-42-05_9a3446f3941f/events.out.tfevents.1710232926.9a3446f3941f.1243.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8dea44afb205dfc49bfc1845380403e5c6b5ce6898102a86e1e60878425e047
3
+ size 9504
runs/Mar12_09-11-22_9a3446f3941f/events.out.tfevents.1710234682.9a3446f3941f.1243.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca93cdb8e55a250d07fb107b44a6706ee987229b04706d5e30f7e50416d6f590
3
+ size 10357
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:1090bd14724ddf569064cfbdd802e57d0efd31ec068f21c038cbd9c4eb3bffd5
3
+ size 4920
vocab.txt ADDED
The diff for this file is too large to render. See raw diff