thepian commited on
Commit
93c37e8
·
verified ·
1 Parent(s): 37ead0e

Fine-tuned on product search domain (brand, product name, origin)

Browse files
README.md CHANGED
@@ -1,7 +1,5 @@
1
  ---
2
  library_name: transformers
3
- license: cc-by-4.0
4
- base_model: bltlab/queryner-bert-base-uncased
5
  tags:
6
  - generated_from_trainer
7
  model-index:
@@ -14,9 +12,9 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # checkpoints
16
 
17
- This model is a fine-tuned version of [bltlab/queryner-bert-base-uncased](https://huggingface.co/bltlab/queryner-bert-base-uncased) on the None dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.2311
20
 
21
  ## Model description
22
 
@@ -48,11 +46,11 @@ The following hyperparameters were used during training:
48
 
49
  | Training Loss | Epoch | Step | Validation Loss |
50
  |:-------------:|:-----:|:----:|:---------------:|
51
- | 0.2458 | 1.0 | 1138 | 0.2450 |
52
- | 0.1747 | 2.0 | 2276 | 0.1722 |
53
- | 0.0859 | 3.0 | 3414 | 0.2087 |
54
- | 0.0335 | 4.0 | 4552 | 0.2588 |
55
- | 0.041 | 5.0 | 5690 | 0.2311 |
56
 
57
 
58
  ### Framework versions
 
1
  ---
2
  library_name: transformers
 
 
3
  tags:
4
  - generated_from_trainer
5
  model-index:
 
12
 
13
  # checkpoints
14
 
15
+ This model was trained from scratch on the None dataset.
16
  It achieves the following results on the evaluation set:
17
+ - Loss: 0.2159
18
 
19
  ## Model description
20
 
 
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
+ | 0.1877 | 1.0 | 1251 | 0.1840 |
50
+ | 0.1032 | 2.0 | 2502 | 0.1696 |
51
+ | 0.0553 | 3.0 | 3753 | 0.1936 |
52
+ | 0.0292 | 4.0 | 5004 | 0.2040 |
53
+ | 0.0256 | 5.0 | 6255 | 0.2159 |
54
 
55
 
56
  ### Framework versions
best/config.json CHANGED
@@ -11,83 +11,87 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "B-UoM",
14
- "1": "B-certification",
15
- "2": "B-color",
16
- "3": "B-condition",
17
- "4": "B-content",
18
- "5": "B-core_product_type",
19
- "6": "B-creator",
20
- "7": "B-department",
21
- "8": "B-material",
22
- "9": "B-modifier",
23
- "10": "B-occasion",
24
- "11": "B-origin",
25
- "12": "B-price",
26
- "13": "B-product_name",
27
- "14": "B-product_number",
28
- "15": "B-quantity",
29
- "16": "B-shape",
30
- "17": "B-time",
31
- "18": "I-UoM",
32
- "19": "I-certification",
33
- "20": "I-color",
34
- "21": "I-condition",
35
- "22": "I-content",
36
- "23": "I-core_product_type",
37
- "24": "I-creator",
38
- "25": "I-department",
39
- "26": "I-material",
40
- "27": "I-modifier",
41
- "28": "I-occasion",
42
- "29": "I-origin",
43
- "30": "I-price",
44
- "31": "I-product_name",
45
- "32": "I-product_number",
46
- "33": "I-quantity",
47
- "34": "I-shape",
48
- "35": "I-time",
49
- "36": "O"
 
 
50
  },
51
  "initializer_range": 0.02,
52
  "intermediate_size": 3072,
53
  "label2id": {
54
  "B-UoM": 0,
55
- "B-certification": 1,
56
- "B-color": 2,
57
- "B-condition": 3,
58
- "B-content": 4,
59
- "B-core_product_type": 5,
60
- "B-creator": 6,
61
- "B-department": 7,
62
- "B-material": 8,
63
- "B-modifier": 9,
64
- "B-occasion": 10,
65
- "B-origin": 11,
66
- "B-price": 12,
67
- "B-product_name": 13,
68
- "B-product_number": 14,
69
- "B-quantity": 15,
70
- "B-shape": 16,
71
- "B-time": 17,
72
- "I-UoM": 18,
73
- "I-certification": 19,
74
- "I-color": 20,
75
- "I-condition": 21,
76
- "I-content": 22,
77
- "I-core_product_type": 23,
78
- "I-creator": 24,
79
- "I-department": 25,
80
- "I-material": 26,
81
- "I-modifier": 27,
82
- "I-occasion": 28,
83
- "I-origin": 29,
84
- "I-price": 30,
85
- "I-product_name": 31,
86
- "I-product_number": 32,
87
- "I-quantity": 33,
88
- "I-shape": 34,
89
- "I-time": 35,
90
- "O": 36
 
 
91
  },
92
  "layer_norm_eps": 1e-12,
93
  "max_position_embeddings": 512,
 
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "B-UoM",
14
+ "1": "B-avoidance",
15
+ "2": "B-certification",
16
+ "3": "B-color",
17
+ "4": "B-condition",
18
+ "5": "B-content",
19
+ "6": "B-core_product_type",
20
+ "7": "B-creator",
21
+ "8": "B-department",
22
+ "9": "B-material",
23
+ "10": "B-modifier",
24
+ "11": "B-occasion",
25
+ "12": "B-origin",
26
+ "13": "B-price",
27
+ "14": "B-product_name",
28
+ "15": "B-product_number",
29
+ "16": "B-quantity",
30
+ "17": "B-shape",
31
+ "18": "B-time",
32
+ "19": "I-UoM",
33
+ "20": "I-avoidance",
34
+ "21": "I-certification",
35
+ "22": "I-color",
36
+ "23": "I-condition",
37
+ "24": "I-content",
38
+ "25": "I-core_product_type",
39
+ "26": "I-creator",
40
+ "27": "I-department",
41
+ "28": "I-material",
42
+ "29": "I-modifier",
43
+ "30": "I-occasion",
44
+ "31": "I-origin",
45
+ "32": "I-price",
46
+ "33": "I-product_name",
47
+ "34": "I-product_number",
48
+ "35": "I-quantity",
49
+ "36": "I-shape",
50
+ "37": "I-time",
51
+ "38": "O"
52
  },
53
  "initializer_range": 0.02,
54
  "intermediate_size": 3072,
55
  "label2id": {
56
  "B-UoM": 0,
57
+ "B-avoidance": 1,
58
+ "B-certification": 2,
59
+ "B-color": 3,
60
+ "B-condition": 4,
61
+ "B-content": 5,
62
+ "B-core_product_type": 6,
63
+ "B-creator": 7,
64
+ "B-department": 8,
65
+ "B-material": 9,
66
+ "B-modifier": 10,
67
+ "B-occasion": 11,
68
+ "B-origin": 12,
69
+ "B-price": 13,
70
+ "B-product_name": 14,
71
+ "B-product_number": 15,
72
+ "B-quantity": 16,
73
+ "B-shape": 17,
74
+ "B-time": 18,
75
+ "I-UoM": 19,
76
+ "I-avoidance": 20,
77
+ "I-certification": 21,
78
+ "I-color": 22,
79
+ "I-condition": 23,
80
+ "I-content": 24,
81
+ "I-core_product_type": 25,
82
+ "I-creator": 26,
83
+ "I-department": 27,
84
+ "I-material": 28,
85
+ "I-modifier": 29,
86
+ "I-occasion": 30,
87
+ "I-origin": 31,
88
+ "I-price": 32,
89
+ "I-product_name": 33,
90
+ "I-product_number": 34,
91
+ "I-quantity": 35,
92
+ "I-shape": 36,
93
+ "I-time": 37,
94
+ "O": 38
95
  },
96
  "layer_norm_eps": 1e-12,
97
  "max_position_embeddings": 512,
best/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d5c0413b3ad09827831a430d59fdf539a092f8fff39636c92a29fe1a6d158da
3
- size 435703748
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bf8af1115d48116bd79097a01db13539acd502979abda5db45915754d633bb8
3
+ size 435709900
best/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6850923915411d616630e7871f589460d9dd17e411946d1cc3102af0a9f6d435
3
  size 5969
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9534cd1182b732d7bbf6755fc37465f9d5d35cf71fd5bc4fd36d39c7aa39988f
3
  size 5969
config.json CHANGED
@@ -11,83 +11,87 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "B-UoM",
14
- "1": "B-certification",
15
- "2": "B-color",
16
- "3": "B-condition",
17
- "4": "B-content",
18
- "5": "B-core_product_type",
19
- "6": "B-creator",
20
- "7": "B-department",
21
- "8": "B-material",
22
- "9": "B-modifier",
23
- "10": "B-occasion",
24
- "11": "B-origin",
25
- "12": "B-price",
26
- "13": "B-product_name",
27
- "14": "B-product_number",
28
- "15": "B-quantity",
29
- "16": "B-shape",
30
- "17": "B-time",
31
- "18": "I-UoM",
32
- "19": "I-certification",
33
- "20": "I-color",
34
- "21": "I-condition",
35
- "22": "I-content",
36
- "23": "I-core_product_type",
37
- "24": "I-creator",
38
- "25": "I-department",
39
- "26": "I-material",
40
- "27": "I-modifier",
41
- "28": "I-occasion",
42
- "29": "I-origin",
43
- "30": "I-price",
44
- "31": "I-product_name",
45
- "32": "I-product_number",
46
- "33": "I-quantity",
47
- "34": "I-shape",
48
- "35": "I-time",
49
- "36": "O"
 
 
50
  },
51
  "initializer_range": 0.02,
52
  "intermediate_size": 3072,
53
  "label2id": {
54
  "B-UoM": 0,
55
- "B-certification": 1,
56
- "B-color": 2,
57
- "B-condition": 3,
58
- "B-content": 4,
59
- "B-core_product_type": 5,
60
- "B-creator": 6,
61
- "B-department": 7,
62
- "B-material": 8,
63
- "B-modifier": 9,
64
- "B-occasion": 10,
65
- "B-origin": 11,
66
- "B-price": 12,
67
- "B-product_name": 13,
68
- "B-product_number": 14,
69
- "B-quantity": 15,
70
- "B-shape": 16,
71
- "B-time": 17,
72
- "I-UoM": 18,
73
- "I-certification": 19,
74
- "I-color": 20,
75
- "I-condition": 21,
76
- "I-content": 22,
77
- "I-core_product_type": 23,
78
- "I-creator": 24,
79
- "I-department": 25,
80
- "I-material": 26,
81
- "I-modifier": 27,
82
- "I-occasion": 28,
83
- "I-origin": 29,
84
- "I-price": 30,
85
- "I-product_name": 31,
86
- "I-product_number": 32,
87
- "I-quantity": 33,
88
- "I-shape": 34,
89
- "I-time": 35,
90
- "O": 36
 
 
91
  },
92
  "layer_norm_eps": 1e-12,
93
  "max_position_embeddings": 512,
 
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "B-UoM",
14
+ "1": "B-avoidance",
15
+ "2": "B-certification",
16
+ "3": "B-color",
17
+ "4": "B-condition",
18
+ "5": "B-content",
19
+ "6": "B-core_product_type",
20
+ "7": "B-creator",
21
+ "8": "B-department",
22
+ "9": "B-material",
23
+ "10": "B-modifier",
24
+ "11": "B-occasion",
25
+ "12": "B-origin",
26
+ "13": "B-price",
27
+ "14": "B-product_name",
28
+ "15": "B-product_number",
29
+ "16": "B-quantity",
30
+ "17": "B-shape",
31
+ "18": "B-time",
32
+ "19": "I-UoM",
33
+ "20": "I-avoidance",
34
+ "21": "I-certification",
35
+ "22": "I-color",
36
+ "23": "I-condition",
37
+ "24": "I-content",
38
+ "25": "I-core_product_type",
39
+ "26": "I-creator",
40
+ "27": "I-department",
41
+ "28": "I-material",
42
+ "29": "I-modifier",
43
+ "30": "I-occasion",
44
+ "31": "I-origin",
45
+ "32": "I-price",
46
+ "33": "I-product_name",
47
+ "34": "I-product_number",
48
+ "35": "I-quantity",
49
+ "36": "I-shape",
50
+ "37": "I-time",
51
+ "38": "O"
52
  },
53
  "initializer_range": 0.02,
54
  "intermediate_size": 3072,
55
  "label2id": {
56
  "B-UoM": 0,
57
+ "B-avoidance": 1,
58
+ "B-certification": 2,
59
+ "B-color": 3,
60
+ "B-condition": 4,
61
+ "B-content": 5,
62
+ "B-core_product_type": 6,
63
+ "B-creator": 7,
64
+ "B-department": 8,
65
+ "B-material": 9,
66
+ "B-modifier": 10,
67
+ "B-occasion": 11,
68
+ "B-origin": 12,
69
+ "B-price": 13,
70
+ "B-product_name": 14,
71
+ "B-product_number": 15,
72
+ "B-quantity": 16,
73
+ "B-shape": 17,
74
+ "B-time": 18,
75
+ "I-UoM": 19,
76
+ "I-avoidance": 20,
77
+ "I-certification": 21,
78
+ "I-color": 22,
79
+ "I-condition": 23,
80
+ "I-content": 24,
81
+ "I-core_product_type": 25,
82
+ "I-creator": 26,
83
+ "I-department": 27,
84
+ "I-material": 28,
85
+ "I-modifier": 29,
86
+ "I-occasion": 30,
87
+ "I-origin": 31,
88
+ "I-price": 32,
89
+ "I-product_name": 33,
90
+ "I-product_number": 34,
91
+ "I-quantity": 35,
92
+ "I-shape": 36,
93
+ "I-time": 37,
94
+ "O": 38
95
  },
96
  "layer_norm_eps": 1e-12,
97
  "max_position_embeddings": 512,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6d5c0413b3ad09827831a430d59fdf539a092f8fff39636c92a29fe1a6d158da
3
- size 435703748
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bf8af1115d48116bd79097a01db13539acd502979abda5db45915754d633bb8
3
+ size 435709900
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6850923915411d616630e7871f589460d9dd17e411946d1cc3102af0a9f6d435
3
  size 5969
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9534cd1182b732d7bbf6755fc37465f9d5d35cf71fd5bc4fd36d39c7aa39988f
3
  size 5969