96abhishekarora commited on
Commit
0a3f129
·
1 Parent(s): b02d444

Modified validation and training for linktransformer model

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. LT_training_config.json +4 -4
  3. README.md +3 -3
  4. model.safetensors +1 -1
.gitattributes CHANGED
@@ -39,3 +39,4 @@ model.safetensors filter=lfs diff=lfs merge=lfs -text
39
  .git/lfs/objects/36/ca/36caa36e14df19a70caed556f433229d251ce8402b77e85b5147c3188d23de80 filter=lfs diff=lfs merge=lfs -text
40
  .git/lfs/objects/b9/59/b95969fa605d6c02eb71edd39b5268279900f24fbe5de0f2f35dafc5774c42a6 filter=lfs diff=lfs merge=lfs -text
41
  .git/lfs/objects/6d/b2/6db2a87329f5e868fe4b536e2cb9bc2aa144ce11680bfd0a7d30b97f5205911d filter=lfs diff=lfs merge=lfs -text
 
 
39
  .git/lfs/objects/36/ca/36caa36e14df19a70caed556f433229d251ce8402b77e85b5147c3188d23de80 filter=lfs diff=lfs merge=lfs -text
40
  .git/lfs/objects/b9/59/b95969fa605d6c02eb71edd39b5268279900f24fbe5de0f2f35dafc5774c42a6 filter=lfs diff=lfs merge=lfs -text
41
  .git/lfs/objects/6d/b2/6db2a87329f5e868fe4b536e2cb9bc2aa144ce11680bfd0a7d30b97f5205911d filter=lfs diff=lfs merge=lfs -text
42
+ .git/lfs/objects/33/3c/333cf8c7c098370c3631b0b33ba6d007a4b89e5b5f0e4b01d75bb5a200fecd27 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_industry",
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 industrial classification (ISIC) - trained on variation brought on by product level correspondance. It was trained for 100 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": 100,
8
  "warm_up_perc": 1,
9
  "learning_rate": 2e-05,
10
  "loss_type": "supcon",
@@ -20,9 +20,9 @@
20
  "eval_steps_perc": 0.5,
21
  "test_at_end": true,
22
  "save_val_test_pickles": true,
23
- "val_query_prop": 0.5,
24
  "loss_params": {},
25
- "lr": 0.0002,
26
  "warmup_perc": 0.1,
27
  "eval_type": "retrieval",
28
  "training_dataset": "dataframe",
 
1
  {
2
  "model_save_dir": "models",
3
  "model_save_name": "linkage_un_data_en_fine_industry",
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 industrial classification (ISIC) - trained on variation brought on by product level correspondance. It was trained for 30 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": 30,
8
  "warm_up_perc": 1,
9
  "learning_rate": 2e-05,
10
  "loss_type": "supcon",
 
20
  "eval_steps_perc": 0.5,
21
  "test_at_end": true,
22
  "save_val_test_pickles": true,
23
+ "val_query_prop": 0.2,
24
  "loss_params": {},
25
+ "lr": 2e-05,
26
  "warmup_perc": 0.1,
27
  "eval_type": "retrieval",
28
  "training_dataset": "dataframe",
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 industrial classification (ISIC) - trained on variation brought on by product level correspondance. It was trained for 100 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": 100,
113
  "evaluation_steps": 68,
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": 13600,
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 industrial classification (ISIC) - trained on variation brought on by product level correspondance. It was trained for 30 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": 30,
113
  "evaluation_steps": 68,
114
  "evaluator": "sentence_transformers.evaluation.SequentialEvaluator.SequentialEvaluator",
115
  "max_grad_norm": 1,
 
119
  },
120
  "scheduler": "WarmupLinear",
121
  "steps_per_epoch": null,
122
+ "warmup_steps": 4080,
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:333cf8c7c098370c3631b0b33ba6d007a4b89e5b5f0e4b01d75bb5a200fecd27
3
  size 437967672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ddd74f6db9899ea59ba31258f3d1ef2bc610c289a535c6f2a3d1a204065faa
3
  size 437967672