Fine-tuned on product search domain (brand, product name, origin)
Browse files- README.md +6 -5
- best/config.json +72 -68
- best/model.safetensors +2 -2
- best/training_args.bin +1 -1
- config.json +72 -68
- model.safetensors +2 -2
- training_args.bin +1 -1
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.
|
| 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:
|
| 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:
|
| 44 |
|
| 45 |
### Training results
|
| 46 |
|
| 47 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 48 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 49 |
-
| 0.
|
| 50 |
-
| 0.
|
|
|
|
| 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-
|
| 15 |
-
"2": "B-
|
| 16 |
-
"3": "B-
|
| 17 |
-
"4": "B-
|
| 18 |
-
"5": "B-
|
| 19 |
-
"6": "B-
|
| 20 |
-
"7": "B-
|
| 21 |
-
"8": "B-
|
| 22 |
-
"9": "B-
|
| 23 |
-
"10": "B-
|
| 24 |
-
"11": "B-
|
| 25 |
-
"12": "B-
|
| 26 |
-
"13": "B-
|
| 27 |
-
"14": "B-
|
| 28 |
-
"15": "B-
|
| 29 |
-
"16": "B-
|
| 30 |
-
"17": "
|
| 31 |
-
"18": "I-
|
| 32 |
-
"19": "I-
|
| 33 |
-
"20": "I-
|
| 34 |
-
"21": "I-
|
| 35 |
-
"22": "I-
|
| 36 |
-
"23": "I-
|
| 37 |
-
"24": "I-
|
| 38 |
-
"25": "I-
|
| 39 |
-
"26": "I-
|
| 40 |
-
"27": "I-
|
| 41 |
-
"28": "I-
|
| 42 |
-
"29": "I-
|
| 43 |
-
"30": "I-
|
| 44 |
-
"31": "I-
|
| 45 |
-
"32": "I-
|
| 46 |
-
"33": "I-
|
| 47 |
-
"34": "
|
|
|
|
|
|
|
| 48 |
},
|
| 49 |
"initializer_range": 0.02,
|
| 50 |
"intermediate_size": 3072,
|
| 51 |
"label2id": {
|
| 52 |
"B-UoM": 0,
|
| 53 |
-
"B-
|
| 54 |
-
"B-
|
| 55 |
-
"B-
|
| 56 |
-
"B-
|
| 57 |
-
"B-
|
| 58 |
-
"B-
|
| 59 |
-
"B-
|
| 60 |
-
"B-
|
| 61 |
-
"B-
|
| 62 |
-
"B-
|
| 63 |
-
"B-
|
| 64 |
-
"B-
|
| 65 |
-
"B-
|
| 66 |
-
"B-
|
| 67 |
-
"B-
|
| 68 |
-
"B-
|
| 69 |
-
"
|
| 70 |
-
"I-
|
| 71 |
-
"I-
|
| 72 |
-
"I-
|
| 73 |
-
"I-
|
| 74 |
-
"I-
|
| 75 |
-
"I-
|
| 76 |
-
"I-
|
| 77 |
-
"I-
|
| 78 |
-
"I-
|
| 79 |
-
"I-
|
| 80 |
-
"I-
|
| 81 |
-
"I-
|
| 82 |
-
"I-
|
| 83 |
-
"I-
|
| 84 |
-
"I-
|
| 85 |
-
"I-
|
| 86 |
-
"
|
|
|
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 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-
|
| 15 |
-
"2": "B-
|
| 16 |
-
"3": "B-
|
| 17 |
-
"4": "B-
|
| 18 |
-
"5": "B-
|
| 19 |
-
"6": "B-
|
| 20 |
-
"7": "B-
|
| 21 |
-
"8": "B-
|
| 22 |
-
"9": "B-
|
| 23 |
-
"10": "B-
|
| 24 |
-
"11": "B-
|
| 25 |
-
"12": "B-
|
| 26 |
-
"13": "B-
|
| 27 |
-
"14": "B-
|
| 28 |
-
"15": "B-
|
| 29 |
-
"16": "B-
|
| 30 |
-
"17": "
|
| 31 |
-
"18": "I-
|
| 32 |
-
"19": "I-
|
| 33 |
-
"20": "I-
|
| 34 |
-
"21": "I-
|
| 35 |
-
"22": "I-
|
| 36 |
-
"23": "I-
|
| 37 |
-
"24": "I-
|
| 38 |
-
"25": "I-
|
| 39 |
-
"26": "I-
|
| 40 |
-
"27": "I-
|
| 41 |
-
"28": "I-
|
| 42 |
-
"29": "I-
|
| 43 |
-
"30": "I-
|
| 44 |
-
"31": "I-
|
| 45 |
-
"32": "I-
|
| 46 |
-
"33": "I-
|
| 47 |
-
"34": "
|
|
|
|
|
|
|
| 48 |
},
|
| 49 |
"initializer_range": 0.02,
|
| 50 |
"intermediate_size": 3072,
|
| 51 |
"label2id": {
|
| 52 |
"B-UoM": 0,
|
| 53 |
-
"B-
|
| 54 |
-
"B-
|
| 55 |
-
"B-
|
| 56 |
-
"B-
|
| 57 |
-
"B-
|
| 58 |
-
"B-
|
| 59 |
-
"B-
|
| 60 |
-
"B-
|
| 61 |
-
"B-
|
| 62 |
-
"B-
|
| 63 |
-
"B-
|
| 64 |
-
"B-
|
| 65 |
-
"B-
|
| 66 |
-
"B-
|
| 67 |
-
"B-
|
| 68 |
-
"B-
|
| 69 |
-
"
|
| 70 |
-
"I-
|
| 71 |
-
"I-
|
| 72 |
-
"I-
|
| 73 |
-
"I-
|
| 74 |
-
"I-
|
| 75 |
-
"I-
|
| 76 |
-
"I-
|
| 77 |
-
"I-
|
| 78 |
-
"I-
|
| 79 |
-
"I-
|
| 80 |
-
"I-
|
| 81 |
-
"I-
|
| 82 |
-
"I-
|
| 83 |
-
"I-
|
| 84 |
-
"I-
|
| 85 |
-
"I-
|
| 86 |
-
"
|
|
|
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
size 5969
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:700ee203f7008d2129a1925ab437a16003c54e26d270517448f9f9477115364f
|
| 3 |
size 5969
|