Shresthadev403 commited on
Commit
a353654
1 Parent(s): cfc2601

End of training

Browse files
README.md CHANGED
@@ -1,4 +1,6 @@
1
  ---
 
 
2
  tags:
3
  - generated_from_trainer
4
  model-index:
@@ -11,14 +13,14 @@ should probably proofread and complete it, then remove this comment. -->
11
 
12
  # ner-bert-ingredients
13
 
14
- This model was trained from scratch on an unknown dataset.
15
  It achieves the following results on the evaluation set:
16
- - eval_loss: 4.4745
17
- - eval_runtime: 0.0352
18
- - eval_samples_per_second: 56.755
19
- - eval_steps_per_second: 28.378
20
- - epoch: 5.0
21
- - step: 5
22
 
23
  ## Model description
24
 
@@ -38,9 +40,11 @@ More information needed
38
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 5e-05
41
- - train_batch_size: 32
42
- - eval_batch_size: 32
43
  - seed: 42
 
 
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
  - num_epochs: 50
@@ -48,7 +52,7 @@ The following hyperparameters were used during training:
48
 
49
  ### Framework versions
50
 
51
- - Transformers 4.35.2
52
- - Pytorch 2.1.0+cu121
53
- - Datasets 2.16.1
54
  - Tokenizers 0.15.0
 
1
  ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  model-index:
 
13
 
14
  # ner-bert-ingredients
15
 
16
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - eval_loss: 9.3213
19
+ - eval_runtime: 84.1492
20
+ - eval_samples_per_second: 59.418
21
+ - eval_steps_per_second: 0.939
22
+ - epoch: 0.01
23
+ - step: 20
24
 
25
  ## Model description
26
 
 
40
 
41
  The following hyperparameters were used during training:
42
  - learning_rate: 5e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 64
45
  - seed: 42
46
+ - gradient_accumulation_steps: 4
47
+ - total_train_batch_size: 64
48
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
  - lr_scheduler_type: linear
50
  - num_epochs: 50
 
52
 
53
  ### Framework versions
54
 
55
+ - Transformers 4.36.0
56
+ - Pytorch 2.0.0
57
+ - Datasets 2.1.0
58
  - Tokenizers 0.15.0
config.json CHANGED
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:212a1c7f39f2726ed5816603afecb3c1759c9ce41e6f17b37163aa50ffcfc75e
3
- size 435820636
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25943189126c4384255357954d6c628633236cbb8027f235dc99cf574637c22e
3
+ size 535667604
runs/Jan05_08-46-52_4b3636b992a4/events.out.tfevents.1704444413.4b3636b992a4.42.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89d9f8ea07bfa242430ef05204fd97e5d5552dca669a841a76ae527e6111b169
3
+ size 1716862
runs/Jan05_08-50-41_4b3636b992a4/events.out.tfevents.1704444643.4b3636b992a4.42.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:856e7858451d707152700e3747b6eeb7dcf06578d042e16f9b387a3a1150b830
3
+ size 1716862
runs/Jan05_08-54-19_4b3636b992a4/events.out.tfevents.1704444861.4b3636b992a4.42.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc937929d2c592d7ba0dd2ae4a8799791891307637275d1e875810ff27bd4faf
3
+ size 1717282
special_tokens_map.json CHANGED
@@ -1,37 +1,7 @@
1
  {
2
- "cls_token": {
3
- "content": "[CLS]",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "mask_token": {
10
- "content": "[MASK]",
11
- "lstrip": false,
12
- "normalized": false,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
- "pad_token": {
17
- "content": "[PAD]",
18
- "lstrip": false,
19
- "normalized": false,
20
- "rstrip": false,
21
- "single_word": false
22
- },
23
- "sep_token": {
24
- "content": "[SEP]",
25
- "lstrip": false,
26
- "normalized": false,
27
- "rstrip": false,
28
- "single_word": false
29
- },
30
- "unk_token": {
31
- "content": "[UNK]",
32
- "lstrip": false,
33
- "normalized": false,
34
- "rstrip": false,
35
- "single_word": false
36
- }
37
  }
 
1
  {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
tokenizer_config.json CHANGED
@@ -45,18 +45,11 @@
45
  "cls_token": "[CLS]",
46
  "do_lower_case": true,
47
  "mask_token": "[MASK]",
48
- "max_length": 512,
49
  "model_max_length": 512,
50
- "pad_to_multiple_of": null,
51
  "pad_token": "[PAD]",
52
- "pad_token_type_id": 0,
53
- "padding_side": "right",
54
  "sep_token": "[SEP]",
55
- "stride": 0,
56
  "strip_accents": null,
57
  "tokenize_chinese_chars": true,
58
  "tokenizer_class": "BertTokenizer",
59
- "truncation_side": "right",
60
- "truncation_strategy": "longest_first",
61
  "unk_token": "[UNK]"
62
  }
 
45
  "cls_token": "[CLS]",
46
  "do_lower_case": true,
47
  "mask_token": "[MASK]",
 
48
  "model_max_length": 512,
 
49
  "pad_token": "[PAD]",
 
 
50
  "sep_token": "[SEP]",
 
51
  "strip_accents": null,
52
  "tokenize_chinese_chars": true,
53
  "tokenizer_class": "BertTokenizer",
 
 
54
  "unk_token": "[UNK]"
55
  }
trainer_state.json CHANGED
@@ -1,89 +1,35 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 5.0,
5
- "eval_steps": 1,
6
- "global_step": 5,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 1.0,
13
- "learning_rate": 4.9e-05,
14
- "loss": 1.6172,
15
- "step": 1
16
  },
17
  {
18
- "epoch": 1.0,
19
- "eval_loss": 4.416090965270996,
20
- "eval_runtime": 0.0471,
21
- "eval_samples_per_second": 42.424,
22
- "eval_steps_per_second": 21.212,
23
- "step": 1
24
- },
25
- {
26
- "epoch": 2.0,
27
- "learning_rate": 4.8e-05,
28
- "loss": 1.8901,
29
- "step": 2
30
- },
31
- {
32
- "epoch": 2.0,
33
- "eval_loss": 4.417668342590332,
34
- "eval_runtime": 0.0311,
35
- "eval_samples_per_second": 64.258,
36
- "eval_steps_per_second": 32.129,
37
- "step": 2
38
- },
39
- {
40
- "epoch": 3.0,
41
- "learning_rate": 4.7e-05,
42
- "loss": 1.8305,
43
- "step": 3
44
- },
45
- {
46
- "epoch": 3.0,
47
- "eval_loss": 4.438927173614502,
48
- "eval_runtime": 0.03,
49
- "eval_samples_per_second": 66.75,
50
- "eval_steps_per_second": 33.375,
51
- "step": 3
52
- },
53
- {
54
- "epoch": 4.0,
55
- "learning_rate": 4.600000000000001e-05,
56
- "loss": 1.757,
57
- "step": 4
58
- },
59
- {
60
- "epoch": 4.0,
61
- "eval_loss": 4.466496467590332,
62
- "eval_runtime": 0.0321,
63
- "eval_samples_per_second": 62.331,
64
- "eval_steps_per_second": 31.165,
65
- "step": 4
66
- },
67
- {
68
- "epoch": 5.0,
69
- "learning_rate": 4.9e-05,
70
- "loss": 1.5364,
71
- "step": 5
72
- },
73
- {
74
- "epoch": 5.0,
75
- "eval_loss": 4.474534034729004,
76
- "eval_runtime": 0.0352,
77
- "eval_samples_per_second": 56.755,
78
- "eval_steps_per_second": 28.378,
79
- "step": 5
80
  }
81
  ],
82
- "logging_steps": 1,
83
- "max_steps": 50,
 
84
  "num_train_epochs": 50,
85
  "save_steps": 20,
86
- "total_flos": 2880246762000.0,
 
87
  "trial_name": null,
88
  "trial_params": null
89
  }
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 0.013472549680026945,
5
+ "eval_steps": 20,
6
+ "global_step": 20,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
+ "epoch": 0.01,
13
+ "learning_rate": 4.9986522911051216e-05,
14
+ "loss": 9.8102,
15
+ "step": 20
16
  },
17
  {
18
+ "epoch": 0.01,
19
+ "eval_loss": 9.321273803710938,
20
+ "eval_runtime": 84.1492,
21
+ "eval_samples_per_second": 59.418,
22
+ "eval_steps_per_second": 0.939,
23
+ "step": 20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  ],
26
+ "logging_steps": 20,
27
+ "max_steps": 74200,
28
+ "num_input_tokens_seen": 0,
29
  "num_train_epochs": 50,
30
  "save_steps": 20,
31
+ "total_flos": 432834143846400.0,
32
+ "train_batch_size": 16,
33
  "trial_name": null,
34
  "trial_params": null
35
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6fd8735572c360aff55483202835ae93d2da4df07d250cdf37afb9452e9a7fdf
3
- size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7e0cc5c26c36bde050839a58f0c4f021e92cbaffecf465dbdc0090a08f22c21
3
+ size 4283