thepian commited on
Commit
74547b4
·
verified ·
1 Parent(s): d714a62

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

Browse files
README.md CHANGED
@@ -14,7 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
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.1729
18
 
19
  ## Model description
20
 
@@ -33,21 +33,22 @@ More information needed
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
- - learning_rate: 5e-06
37
  - train_batch_size: 16
38
  - eval_batch_size: 16
39
  - seed: 42
40
  - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
  - lr_scheduler_type: linear
42
  - lr_scheduler_warmup_ratio: 0.1
43
- - num_epochs: 2
44
 
45
  ### Training results
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
- | 0.2435 | 1.0 | 1137 | 0.1872 |
50
- | 0.1952 | 2.0 | 2274 | 0.1729 |
 
51
 
52
 
53
  ### Framework versions
 
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.1663
18
 
19
  ## Model description
20
 
 
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
+ - learning_rate: 3e-05
37
  - train_batch_size: 16
38
  - eval_batch_size: 16
39
  - seed: 42
40
  - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
41
  - lr_scheduler_type: linear
42
  - lr_scheduler_warmup_ratio: 0.1
43
+ - num_epochs: 3
44
 
45
  ### Training results
46
 
47
  | Training Loss | Epoch | Step | Validation Loss |
48
  |:-------------:|:-----:|:----:|:---------------:|
49
+ | 0.1896 | 1.0 | 1138 | 0.1478 |
50
+ | 0.1433 | 2.0 | 2276 | 0.1183 |
51
+ | 0.0732 | 3.0 | 3414 | 0.1663 |
52
 
53
 
54
  ### Framework versions
best/config.json CHANGED
@@ -11,79 +11,83 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "B-UoM",
14
- "1": "B-color",
15
- "2": "B-condition",
16
- "3": "B-content",
17
- "4": "B-core_product_type",
18
- "5": "B-creator",
19
- "6": "B-department",
20
- "7": "B-material",
21
- "8": "B-modifier",
22
- "9": "B-occasion",
23
- "10": "B-origin",
24
- "11": "B-price",
25
- "12": "B-product_name",
26
- "13": "B-product_number",
27
- "14": "B-quantity",
28
- "15": "B-shape",
29
- "16": "B-time",
30
- "17": "I-UoM",
31
- "18": "I-color",
32
- "19": "I-condition",
33
- "20": "I-content",
34
- "21": "I-core_product_type",
35
- "22": "I-creator",
36
- "23": "I-department",
37
- "24": "I-material",
38
- "25": "I-modifier",
39
- "26": "I-occasion",
40
- "27": "I-origin",
41
- "28": "I-price",
42
- "29": "I-product_name",
43
- "30": "I-product_number",
44
- "31": "I-quantity",
45
- "32": "I-shape",
46
- "33": "I-time",
47
- "34": "O"
 
 
48
  },
49
  "initializer_range": 0.02,
50
  "intermediate_size": 3072,
51
  "label2id": {
52
  "B-UoM": 0,
53
- "B-color": 1,
54
- "B-condition": 2,
55
- "B-content": 3,
56
- "B-core_product_type": 4,
57
- "B-creator": 5,
58
- "B-department": 6,
59
- "B-material": 7,
60
- "B-modifier": 8,
61
- "B-occasion": 9,
62
- "B-origin": 10,
63
- "B-price": 11,
64
- "B-product_name": 12,
65
- "B-product_number": 13,
66
- "B-quantity": 14,
67
- "B-shape": 15,
68
- "B-time": 16,
69
- "I-UoM": 17,
70
- "I-color": 18,
71
- "I-condition": 19,
72
- "I-content": 20,
73
- "I-core_product_type": 21,
74
- "I-creator": 22,
75
- "I-department": 23,
76
- "I-material": 24,
77
- "I-modifier": 25,
78
- "I-occasion": 26,
79
- "I-origin": 27,
80
- "I-price": 28,
81
- "I-product_name": 29,
82
- "I-product_number": 30,
83
- "I-quantity": 31,
84
- "I-shape": 32,
85
- "I-time": 33,
86
- "O": 34
 
 
87
  },
88
  "layer_norm_eps": 1e-12,
89
  "max_position_embeddings": 512,
 
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,
best/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7aa26b9b77b9afc55cfc1e1bba1b6a4a7be78388652075c574feefa2825fdaa9
3
- size 435697596
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a7466a95edb1b6ff3025e44cd7b8604a11ffef0240eb96d26e63c60e967cc28
3
+ size 435703748
best/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:703df3b8da86bf6f64a2c6832ca1056b83cc0e20fe93d96065e4d6497a6b33eb
3
  size 5969
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:700ee203f7008d2129a1925ab437a16003c54e26d270517448f9f9477115364f
3
  size 5969
config.json CHANGED
@@ -11,79 +11,83 @@
11
  "hidden_size": 768,
12
  "id2label": {
13
  "0": "B-UoM",
14
- "1": "B-color",
15
- "2": "B-condition",
16
- "3": "B-content",
17
- "4": "B-core_product_type",
18
- "5": "B-creator",
19
- "6": "B-department",
20
- "7": "B-material",
21
- "8": "B-modifier",
22
- "9": "B-occasion",
23
- "10": "B-origin",
24
- "11": "B-price",
25
- "12": "B-product_name",
26
- "13": "B-product_number",
27
- "14": "B-quantity",
28
- "15": "B-shape",
29
- "16": "B-time",
30
- "17": "I-UoM",
31
- "18": "I-color",
32
- "19": "I-condition",
33
- "20": "I-content",
34
- "21": "I-core_product_type",
35
- "22": "I-creator",
36
- "23": "I-department",
37
- "24": "I-material",
38
- "25": "I-modifier",
39
- "26": "I-occasion",
40
- "27": "I-origin",
41
- "28": "I-price",
42
- "29": "I-product_name",
43
- "30": "I-product_number",
44
- "31": "I-quantity",
45
- "32": "I-shape",
46
- "33": "I-time",
47
- "34": "O"
 
 
48
  },
49
  "initializer_range": 0.02,
50
  "intermediate_size": 3072,
51
  "label2id": {
52
  "B-UoM": 0,
53
- "B-color": 1,
54
- "B-condition": 2,
55
- "B-content": 3,
56
- "B-core_product_type": 4,
57
- "B-creator": 5,
58
- "B-department": 6,
59
- "B-material": 7,
60
- "B-modifier": 8,
61
- "B-occasion": 9,
62
- "B-origin": 10,
63
- "B-price": 11,
64
- "B-product_name": 12,
65
- "B-product_number": 13,
66
- "B-quantity": 14,
67
- "B-shape": 15,
68
- "B-time": 16,
69
- "I-UoM": 17,
70
- "I-color": 18,
71
- "I-condition": 19,
72
- "I-content": 20,
73
- "I-core_product_type": 21,
74
- "I-creator": 22,
75
- "I-department": 23,
76
- "I-material": 24,
77
- "I-modifier": 25,
78
- "I-occasion": 26,
79
- "I-origin": 27,
80
- "I-price": 28,
81
- "I-product_name": 29,
82
- "I-product_number": 30,
83
- "I-quantity": 31,
84
- "I-shape": 32,
85
- "I-time": 33,
86
- "O": 34
 
 
87
  },
88
  "layer_norm_eps": 1e-12,
89
  "max_position_embeddings": 512,
 
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,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7aa26b9b77b9afc55cfc1e1bba1b6a4a7be78388652075c574feefa2825fdaa9
3
- size 435697596
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a7466a95edb1b6ff3025e44cd7b8604a11ffef0240eb96d26e63c60e967cc28
3
+ size 435703748
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:703df3b8da86bf6f64a2c6832ca1056b83cc0e20fe93d96065e4d6497a6b33eb
3
  size 5969
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:700ee203f7008d2129a1925ab437a16003c54e26d270517448f9f9477115364f
3
  size 5969