End of training
Browse files- README.md +58 -0
- config.json +140 -0
- model.safetensors +3 -0
- runs/Jan17_06-16-27_9e8811c6b851/events.out.tfevents.1705472195.9e8811c6b851.3247.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +55 -0
- trainer_state.json +33 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: bert-base-uncased
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: ner-bert-ingredientstesting
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
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 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- eval_loss: 3.9143
|
19 |
+
- eval_runtime: 0.0555
|
20 |
+
- eval_samples_per_second: 36.051
|
21 |
+
- eval_steps_per_second: 18.026
|
22 |
+
- epoch: 1.0
|
23 |
+
- step: 1
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 5e-05
|
43 |
+
- train_batch_size: 32
|
44 |
+
- eval_batch_size: 32
|
45 |
+
- seed: 42
|
46 |
+
- gradient_accumulation_steps: 4
|
47 |
+
- total_train_batch_size: 128
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: linear
|
50 |
+
- num_epochs: 1
|
51 |
+
- mixed_precision_training: Native AMP
|
52 |
+
|
53 |
+
### Framework versions
|
54 |
+
|
55 |
+
- Transformers 4.35.2
|
56 |
+
- Pytorch 2.1.0+cu121
|
57 |
+
- Datasets 2.16.1
|
58 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7",
|
21 |
+
"8": "LABEL_8",
|
22 |
+
"9": "LABEL_9",
|
23 |
+
"10": "LABEL_10",
|
24 |
+
"11": "LABEL_11",
|
25 |
+
"12": "LABEL_12",
|
26 |
+
"13": "LABEL_13",
|
27 |
+
"14": "LABEL_14",
|
28 |
+
"15": "LABEL_15",
|
29 |
+
"16": "LABEL_16",
|
30 |
+
"17": "LABEL_17",
|
31 |
+
"18": "LABEL_18",
|
32 |
+
"19": "LABEL_19",
|
33 |
+
"20": "LABEL_20",
|
34 |
+
"21": "LABEL_21",
|
35 |
+
"22": "LABEL_22",
|
36 |
+
"23": "LABEL_23",
|
37 |
+
"24": "LABEL_24",
|
38 |
+
"25": "LABEL_25",
|
39 |
+
"26": "LABEL_26",
|
40 |
+
"27": "LABEL_27",
|
41 |
+
"28": "LABEL_28",
|
42 |
+
"29": "LABEL_29",
|
43 |
+
"30": "LABEL_30",
|
44 |
+
"31": "LABEL_31",
|
45 |
+
"32": "LABEL_32",
|
46 |
+
"33": "LABEL_33",
|
47 |
+
"34": "LABEL_34",
|
48 |
+
"35": "LABEL_35",
|
49 |
+
"36": "LABEL_36",
|
50 |
+
"37": "LABEL_37",
|
51 |
+
"38": "LABEL_38",
|
52 |
+
"39": "LABEL_39",
|
53 |
+
"40": "LABEL_40",
|
54 |
+
"41": "LABEL_41",
|
55 |
+
"42": "LABEL_42",
|
56 |
+
"43": "LABEL_43",
|
57 |
+
"44": "LABEL_44",
|
58 |
+
"45": "LABEL_45",
|
59 |
+
"46": "LABEL_46",
|
60 |
+
"47": "LABEL_47",
|
61 |
+
"48": "LABEL_48",
|
62 |
+
"49": "LABEL_49",
|
63 |
+
"50": "LABEL_50",
|
64 |
+
"51": "LABEL_51",
|
65 |
+
"52": "LABEL_52",
|
66 |
+
"53": "LABEL_53",
|
67 |
+
"54": "LABEL_54"
|
68 |
+
},
|
69 |
+
"initializer_range": 0.02,
|
70 |
+
"intermediate_size": 3072,
|
71 |
+
"label2id": {
|
72 |
+
"LABEL_0": 0,
|
73 |
+
"LABEL_1": 1,
|
74 |
+
"LABEL_10": 10,
|
75 |
+
"LABEL_11": 11,
|
76 |
+
"LABEL_12": 12,
|
77 |
+
"LABEL_13": 13,
|
78 |
+
"LABEL_14": 14,
|
79 |
+
"LABEL_15": 15,
|
80 |
+
"LABEL_16": 16,
|
81 |
+
"LABEL_17": 17,
|
82 |
+
"LABEL_18": 18,
|
83 |
+
"LABEL_19": 19,
|
84 |
+
"LABEL_2": 2,
|
85 |
+
"LABEL_20": 20,
|
86 |
+
"LABEL_21": 21,
|
87 |
+
"LABEL_22": 22,
|
88 |
+
"LABEL_23": 23,
|
89 |
+
"LABEL_24": 24,
|
90 |
+
"LABEL_25": 25,
|
91 |
+
"LABEL_26": 26,
|
92 |
+
"LABEL_27": 27,
|
93 |
+
"LABEL_28": 28,
|
94 |
+
"LABEL_29": 29,
|
95 |
+
"LABEL_3": 3,
|
96 |
+
"LABEL_30": 30,
|
97 |
+
"LABEL_31": 31,
|
98 |
+
"LABEL_32": 32,
|
99 |
+
"LABEL_33": 33,
|
100 |
+
"LABEL_34": 34,
|
101 |
+
"LABEL_35": 35,
|
102 |
+
"LABEL_36": 36,
|
103 |
+
"LABEL_37": 37,
|
104 |
+
"LABEL_38": 38,
|
105 |
+
"LABEL_39": 39,
|
106 |
+
"LABEL_4": 4,
|
107 |
+
"LABEL_40": 40,
|
108 |
+
"LABEL_41": 41,
|
109 |
+
"LABEL_42": 42,
|
110 |
+
"LABEL_43": 43,
|
111 |
+
"LABEL_44": 44,
|
112 |
+
"LABEL_45": 45,
|
113 |
+
"LABEL_46": 46,
|
114 |
+
"LABEL_47": 47,
|
115 |
+
"LABEL_48": 48,
|
116 |
+
"LABEL_49": 49,
|
117 |
+
"LABEL_5": 5,
|
118 |
+
"LABEL_50": 50,
|
119 |
+
"LABEL_51": 51,
|
120 |
+
"LABEL_52": 52,
|
121 |
+
"LABEL_53": 53,
|
122 |
+
"LABEL_54": 54,
|
123 |
+
"LABEL_6": 6,
|
124 |
+
"LABEL_7": 7,
|
125 |
+
"LABEL_8": 8,
|
126 |
+
"LABEL_9": 9
|
127 |
+
},
|
128 |
+
"layer_norm_eps": 1e-12,
|
129 |
+
"max_position_embeddings": 512,
|
130 |
+
"model_type": "bert",
|
131 |
+
"num_attention_heads": 12,
|
132 |
+
"num_hidden_layers": 12,
|
133 |
+
"pad_token_id": 0,
|
134 |
+
"position_embedding_type": "absolute",
|
135 |
+
"torch_dtype": "float32",
|
136 |
+
"transformers_version": "4.35.2",
|
137 |
+
"type_vocab_size": 2,
|
138 |
+
"use_cache": true,
|
139 |
+
"vocab_size": 30522
|
140 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1e78f06ef7bfef86812a5547a7f567ca5d8eedeeaf455b607b198654b85e2921
|
3 |
+
size 435759116
|
runs/Jan17_06-16-27_9e8811c6b851/events.out.tfevents.1705472195.9e8811c6b851.3247.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d3f6c3106f7b958775035e2196b75109cbb6d717df2f538cbe068d8676880c7
|
3 |
+
size 6982
|
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,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
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_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
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 1,
|
6 |
+
"global_step": 1,
|
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": 0.0,
|
14 |
+
"loss": 1.0044,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"eval_loss": 3.9142794609069824,
|
20 |
+
"eval_runtime": 0.0555,
|
21 |
+
"eval_samples_per_second": 36.051,
|
22 |
+
"eval_steps_per_second": 18.026,
|
23 |
+
"step": 1
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"logging_steps": 1,
|
27 |
+
"max_steps": 1,
|
28 |
+
"num_train_epochs": 1,
|
29 |
+
"save_steps": 20,
|
30 |
+
"total_flos": 494250897360.0,
|
31 |
+
"trial_name": null,
|
32 |
+
"trial_params": null
|
33 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ce599c7d07db583396f93ee3e81dffabfa817e5b50f43fe11464a3bcb743125
|
3 |
+
size 4600
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|