Shresthadev403 commited on
Commit
f31472a
·
verified ·
1 Parent(s): f47b9f4

End of training

Browse files
README.md CHANGED
@@ -1,6 +1,4 @@
1
  ---
2
- license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
6
  model-index:
@@ -13,7 +11,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # ner-bert-ingredientstesting
15
 
16
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
 
 
17
 
18
  ## Model description
19
 
@@ -40,7 +40,7 @@ The following hyperparameters were used during training:
40
  - total_train_batch_size: 128
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: linear
43
- - num_epochs: 1
44
  - mixed_precision_training: Native AMP
45
 
46
  ### Training results
 
1
  ---
 
 
2
  tags:
3
  - generated_from_trainer
4
  model-index:
 
11
 
12
  # ner-bert-ingredientstesting
13
 
14
+ This model was trained from scratch on an unknown dataset.
15
+ It achieves the following results on the evaluation set:
16
+ - Loss: 9.6947
17
 
18
  ## Model description
19
 
 
40
  - total_train_batch_size: 128
41
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
  - lr_scheduler_type: linear
43
+ - num_epochs: 50
44
  - mixed_precision_training: Native AMP
45
 
46
  ### Training results
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "/kaggle/working/ner-bert-ingredientstesting",
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
id2tag.json CHANGED
The diff for this file is too large to render. See raw diff
 
logs/events.out.tfevents.1705498568.ed78651fcb5b.26.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e03d099642d8c62eed1cd53da6fb61b861d281018436e51b3954e422d17a6500
3
+ size 1717358
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a39fb56d4a6d853376c05edfa3d9c7f19663dde1fc7390f48f13c7ac53cae078
3
  size 535667604
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfb4fb1ece8a9c6c9217b4b1d2a851afb9bf4e9e25fed762c0956c70b2892ef6
3
  size 535667604
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
  }
tokenizer_config.json CHANGED
@@ -45,11 +45,18 @@
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
  }
 
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
  }
trainer_state.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 0.9996631862579993,
5
  "eval_steps": 750,
6
- "global_step": 742,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
@@ -16,14 +16,28 @@
16
  "train_runtime": 6114.1675,
17
  "train_samples_per_second": 15.538,
18
  "train_steps_per_second": 0.121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  }
20
  ],
21
  "logging_steps": 750,
22
- "max_steps": 742,
23
  "num_input_tokens_seen": 0,
24
- "num_train_epochs": 1,
25
  "save_steps": 750,
26
- "total_flos": 3.211629347340288e+16,
27
  "train_batch_size": 16,
28
  "trial_name": null,
29
  "trial_params": null
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 1.0107780397440216,
5
  "eval_steps": 750,
6
+ "global_step": 750,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
 
16
  "train_runtime": 6114.1675,
17
  "train_samples_per_second": 15.538,
18
  "train_steps_per_second": 0.121
19
+ },
20
+ {
21
+ "epoch": 1.01,
22
+ "learning_rate": 4.9989218328840974e-05,
23
+ "loss": 10.3965,
24
+ "step": 750
25
+ },
26
+ {
27
+ "epoch": 1.01,
28
+ "eval_loss": 9.694682121276855,
29
+ "eval_runtime": 84.6491,
30
+ "eval_samples_per_second": 59.067,
31
+ "eval_steps_per_second": 0.933,
32
+ "step": 750
33
  }
34
  ],
35
  "logging_steps": 750,
36
+ "max_steps": 37100,
37
  "num_input_tokens_seen": 0,
38
+ "num_train_epochs": 50,
39
  "save_steps": 750,
40
+ "total_flos": 3.246256078848e+16,
41
  "train_batch_size": 16,
42
  "trial_name": null,
43
  "trial_params": null
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d5cdffc1d5610491dce8a2d5fba106c7daa7c5df5aa173ecccf1bf30d7a688e2
3
  size 4283
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d8b2637195f6863cffd1bc8a94e43113975024730eec08107e77fd2d167de4a
3
  size 4283