Rasooli3003 commited on
Commit
0aeef5d
1 Parent(s): 504a2ef

Training in progress, epoch 1

Browse files
README.md CHANGED
@@ -19,9 +19,9 @@ should probably proofread and complete it, then remove this comment. -->
19
 
20
  This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased](https://huggingface.co/HooshvareLab/bert-fa-base-uncased) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 1.0154
23
- - Accuracy: 0.8333
24
- - F1: 0.8456
25
 
26
  ## Model description
27
 
@@ -40,38 +40,28 @@ More information needed
40
  ### Training hyperparameters
41
 
42
  The following hyperparameters were used during training:
43
- - learning_rate: 5e-06
44
- - train_batch_size: 32
45
- - eval_batch_size: 64
46
  - seed: 42
47
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
  - lr_scheduler_type: linear
49
- - num_epochs: 15
50
 
51
  ### Training results
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
- | No log | 1.0 | 68 | 0.5588 | 0.8333 | 0.8419 |
56
- | No log | 2.0 | 136 | 0.5678 | 0.8417 | 0.8557 |
57
- | No log | 3.0 | 204 | 0.6083 | 0.8208 | 0.8311 |
58
- | No log | 4.0 | 272 | 0.6749 | 0.8167 | 0.8285 |
59
- | No log | 5.0 | 340 | 0.7690 | 0.8292 | 0.8424 |
60
- | No log | 6.0 | 408 | 0.8706 | 0.8208 | 0.8328 |
61
- | No log | 7.0 | 476 | 0.8554 | 0.8292 | 0.8424 |
62
- | 0.0725 | 8.0 | 544 | 0.8950 | 0.825 | 0.8390 |
63
- | 0.0725 | 9.0 | 612 | 0.9200 | 0.825 | 0.8390 |
64
- | 0.0725 | 10.0 | 680 | 0.9511 | 0.8292 | 0.8455 |
65
- | 0.0725 | 11.0 | 748 | 0.9698 | 0.8375 | 0.8490 |
66
- | 0.0725 | 12.0 | 816 | 0.9829 | 0.8333 | 0.8456 |
67
- | 0.0725 | 13.0 | 884 | 1.0022 | 0.8333 | 0.8456 |
68
- | 0.0725 | 14.0 | 952 | 1.0130 | 0.8333 | 0.8456 |
69
- | 0.0167 | 15.0 | 1020 | 1.0154 | 0.8333 | 0.8456 |
70
 
71
 
72
  ### Framework versions
73
 
74
  - Transformers 4.44.2
75
- - Pytorch 2.4.0+cu121
76
- - Datasets 2.21.0
77
  - Tokenizers 0.19.1
 
19
 
20
  This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased](https://huggingface.co/HooshvareLab/bert-fa-base-uncased) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
+ - Loss: 1.0798
23
+ - Accuracy: 0.5652
24
+ - F1: 0.5901
25
 
26
  ## Model description
27
 
 
40
  ### Training hyperparameters
41
 
42
  The following hyperparameters were used during training:
43
+ - learning_rate: 3e-05
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 8
46
  - seed: 42
47
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
  - lr_scheduler_type: linear
49
+ - num_epochs: 5
50
 
51
  ### Training results
52
 
53
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | No log | 1.0 | 52 | 1.0320 | 0.4130 | 0.2269 |
56
+ | No log | 2.0 | 104 | 0.9651 | 0.4783 | 0.4406 |
57
+ | No log | 3.0 | 156 | 1.0128 | 0.5435 | 0.5541 |
58
+ | No log | 4.0 | 208 | 1.0869 | 0.5870 | 0.6025 |
59
+ | No log | 5.0 | 260 | 1.0798 | 0.5652 | 0.5901 |
 
 
 
 
 
 
 
 
 
 
60
 
61
 
62
  ### Framework versions
63
 
64
  - Transformers 4.44.2
65
+ - Pytorch 2.4.1+cu121
66
+ - Datasets 3.0.1
67
  - Tokenizers 0.19.1
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "HooshvareLab/bert-fa-base-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "farshadafx/Bert-Sentiment-Fa",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1303c33c429278abfac2d01fd9bbd791db5f36829ae3236961ee0275da760a1c
3
  size 651398148
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfd483b82190b3025e70895e6895848eb16170bbbaede2b09384f027995c28d9
3
  size 651398148
runs/Oct10_05-01-46_1a38898cabb0/events.out.tfevents.1728536518.1a38898cabb0.414.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adea320e45107497a8261d0a9229833d0fe1145c7507e90143b0327c91791e86
3
+ size 7220
runs/Oct10_05-34-27_1a38898cabb0/events.out.tfevents.1728538482.1a38898cabb0.414.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1e566fa2e3f90dd051098879af40f1bf3dc5d8472afc8d6944a685595cd0ee8
3
+ size 5483
special_tokens_map.json CHANGED
@@ -1,7 +1,51 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
  }
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,57 +1,109 @@
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
- "mask_token": "[MASK]",
49
- "model_max_length": 1000000000000000019884624838656,
50
- "never_split": null,
51
- "pad_token": "[PAD]",
52
- "sep_token": "[SEP]",
53
- "strip_accents": null,
54
- "tokenize_chinese_chars": true,
55
- "tokenizer_class": "BertTokenizer",
56
- "unk_token": "[UNK]"
 
 
57
  }
 
1
  {
2
+ "add_prefix_space": false,
3
  "added_tokens_decoder": {
4
  "0": {
5
+ "content": "<s>",
6
  "lstrip": false,
7
+ "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
  "1": {
13
+ "content": "<pad>",
14
  "lstrip": false,
15
+ "normalized": true,
16
  "rstrip": false,
17
  "single_word": false,
18
  "special": true
19
  },
20
  "2": {
21
+ "content": "</s>",
22
  "lstrip": false,
23
+ "normalized": true,
24
  "rstrip": false,
25
  "single_word": false,
26
  "special": true
27
  },
28
  "3": {
29
+ "content": "<unk>",
30
  "lstrip": false,
31
+ "normalized": true,
32
  "rstrip": false,
33
  "single_word": false,
34
  "special": true
35
  },
36
  "4": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
  "normalized": false,
40
  "rstrip": false,
41
  "single_word": false,
42
  "special": true
43
+ },
44
+ "5": {
45
+ "content": "<|endoftext|>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<|startoftext|>",
54
+ "lstrip": false,
55
+ "normalized": true,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "<nl>",
62
+ "lstrip": false,
63
+ "normalized": true,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<hs>",
70
+ "lstrip": false,
71
+ "normalized": true,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "<sep>",
78
+ "lstrip": false,
79
+ "normalized": true,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "10": {
85
+ "content": "<cls>",
86
+ "lstrip": false,
87
+ "normalized": true,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
  }
92
  },
93
+ "bos_token": "<s>",
94
  "clean_up_tokenization_spaces": true,
95
+ "cls_token": "<s>",
96
+ "eos_token": "</s>",
97
+ "errors": "replace",
98
+ "mask_token": "<mask>",
99
+ "max_length": 512,
100
+ "model_max_length": 512,
101
+ "pad_token": "<pad>",
102
+ "sep_token": "</s>",
103
+ "stride": 0,
104
+ "tokenizer_class": "RobertaTokenizer",
105
+ "trim_offsets": true,
106
+ "truncation_side": "right",
107
+ "truncation_strategy": "longest_first",
108
+ "unk_token": "<unk>"
109
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:73804e0015ef9aaeaf3d5b283bc23bb3f31aeaa1c1e5e87009d6a303877cda43
3
  size 5176
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eebbea113a6ab9c78db2c8be78371056e9cb3e33c1bfd7436b8a9400d488d08
3
  size 5176
vocab.json ADDED
The diff for this file is too large to render. See raw diff