96abhishekarora commited on
Commit
910707d
1 Parent(s): d9fa4e2

Modified validation and training for linktransformer model

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. LT_training_config.json +3 -2
  3. README.md +3 -3
  4. model.safetensors +1 -1
.gitattributes CHANGED
@@ -40,3 +40,4 @@ model.safetensors filter=lfs diff=lfs merge=lfs -text
40
  .git/lfs/objects/dd/ff/ddffe9c1334ca79b7140d04cef33760198594b6bb4ce06ea0dc12882f8cd2848 filter=lfs diff=lfs merge=lfs -text
41
  .git/lfs/objects/6e/be/6ebeec4dae5c7db97dea58a3964c3a7b86e8795effe472fa312fd1dc7245c6e2 filter=lfs diff=lfs merge=lfs -text
42
  .git/lfs/objects/52/8b/528be60f02c85078efa8d1b6ec884cb827d1dd33dfff57d1c1ff5b4daf42b2db filter=lfs diff=lfs merge=lfs -text
 
 
40
  .git/lfs/objects/dd/ff/ddffe9c1334ca79b7140d04cef33760198594b6bb4ce06ea0dc12882f8cd2848 filter=lfs diff=lfs merge=lfs -text
41
  .git/lfs/objects/6e/be/6ebeec4dae5c7db97dea58a3964c3a7b86e8795effe472fa312fd1dc7245c6e2 filter=lfs diff=lfs merge=lfs -text
42
  .git/lfs/objects/52/8b/528be60f02c85078efa8d1b6ec884cb827d1dd33dfff57d1c1ff5b4daf42b2db filter=lfs diff=lfs merge=lfs -text
43
+ .git/lfs/objects/26/89/2689c2c4bb9f0ae4eed9047269fc0c28ce91c50f3e91e29c8932c4a8b765af72 filter=lfs diff=lfs merge=lfs -text
LT_training_config.json CHANGED
@@ -1,10 +1,10 @@
1
  {
2
  "model_save_dir": "models",
3
  "model_save_name": "linkage_un_data_en_fine_coarse",
4
- "opt_model_description": "This model was trained on a dataset prepared by linking product classifications from [UN stats](https://unstats.un.org/unsd/classifications/Econ). \n This model is designed to link different products to their coarse product classification - trained on variation brought on by product level correspondance. It was trained for 70 epochs using other defaults that can be found in the repo's LinkTransformer config file - LT_training_config.json \n ",
5
  "opt_model_lang": "en",
6
  "train_batch_size": 64,
7
- "num_epochs": 70,
8
  "warm_up_perc": 1,
9
  "learning_rate": 2e-05,
10
  "loss_type": "supcon",
@@ -22,6 +22,7 @@
22
  "save_val_test_pickles": true,
23
  "val_query_prop": 0.5,
24
  "loss_params": {},
 
25
  "eval_type": "retrieval",
26
  "training_dataset": "dataframe",
27
  "base_model_path": "multi-qa-mpnet-base-dot-v1",
 
1
  {
2
  "model_save_dir": "models",
3
  "model_save_name": "linkage_un_data_en_fine_coarse",
4
+ "opt_model_description": "This model was trained on a dataset prepared by linking product classifications from [UN stats](https://unstats.un.org/unsd/classifications/Econ). \n This model is designed to link different products to their coarse product classification - trained on variation brought on by product level correspondance. It was trained for 50 epochs using other defaults that can be found in the repo's LinkTransformer config file - LT_training_config.json \n ",
5
  "opt_model_lang": "en",
6
  "train_batch_size": 64,
7
+ "num_epochs": 50,
8
  "warm_up_perc": 1,
9
  "learning_rate": 2e-05,
10
  "loss_type": "supcon",
 
22
  "save_val_test_pickles": true,
23
  "val_query_prop": 0.5,
24
  "loss_params": {},
25
+ "warmup_perc": 0.5,
26
  "eval_type": "retrieval",
27
  "training_dataset": "dataframe",
28
  "base_model_path": "multi-qa-mpnet-base-dot-v1",
README.md CHANGED
@@ -23,7 +23,7 @@ This model has been fine-tuned on the model : multi-qa-mpnet-base-dot-v1. It is
23
 
24
 
25
  This model was trained on a dataset prepared by linking product classifications from [UN stats](https://unstats.un.org/unsd/classifications/Econ).
26
- This model is designed to link different products to their coarse product classification - trained on variation brought on by product level correspondance. It was trained for 70 epochs using other defaults that can be found in the repo's LinkTransformer config file - LT_training_config.json
27
 
28
 
29
  ## Usage (LinkTransformer)
@@ -109,7 +109,7 @@ The model was trained with the parameters:
109
  Parameters of the fit()-Method:
110
  ```
111
  {
112
- "epochs": 70,
113
  "evaluation_steps": 32,
114
  "evaluator": "sentence_transformers.evaluation.SequentialEvaluator.SequentialEvaluator",
115
  "max_grad_norm": 1,
@@ -119,7 +119,7 @@ Parameters of the fit()-Method:
119
  },
120
  "scheduler": "WarmupLinear",
121
  "steps_per_epoch": null,
122
- "warmup_steps": 8820,
123
  "weight_decay": 0.01
124
  }
125
  ```
 
23
 
24
 
25
  This model was trained on a dataset prepared by linking product classifications from [UN stats](https://unstats.un.org/unsd/classifications/Econ).
26
+ This model is designed to link different products to their coarse product classification - trained on variation brought on by product level correspondance. It was trained for 50 epochs using other defaults that can be found in the repo's LinkTransformer config file - LT_training_config.json
27
 
28
 
29
  ## Usage (LinkTransformer)
 
109
  Parameters of the fit()-Method:
110
  ```
111
  {
112
+ "epochs": 50,
113
  "evaluation_steps": 32,
114
  "evaluator": "sentence_transformers.evaluation.SequentialEvaluator.SequentialEvaluator",
115
  "max_grad_norm": 1,
 
119
  },
120
  "scheduler": "WarmupLinear",
121
  "steps_per_epoch": null,
122
+ "warmup_steps": 6300,
123
  "weight_decay": 0.01
124
  }
125
  ```
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2689c2c4bb9f0ae4eed9047269fc0c28ce91c50f3e91e29c8932c4a8b765af72
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a1218c92154f764953c79f05c215b2b64682364ba9882d3bb51edabf3a1b827
3
  size 437967672