Skip to content

Commit 03f2c1c

Browse files
committed
Modified hyperparams for the contrastive loss.
1 parent 951b188 commit 03f2c1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exp_configs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
"mlm_masking_probability": 0.15,
3232
},
3333
"contrastive_local": {
34-
"alpha": 0.5,
34+
"alpha": 0.4,
3535
"initial_temperature_coef": 1.0725, # Matches initial value in clip.
3636
"local_contrastive_loss": True,
3737
"mlm_masking_probability": 0.15,
38-
"contrastive_masking_probability": 0.3,
38+
"contrastive_masking_probability": 0.2,
3939
},
4040
"contrastive_global": {
41-
"alpha": 0.5,
41+
"alpha": 0.4,
4242
"initial_temperature_coef": 1.0725, # Matches initial value in clip.
4343
"local_contrastive_loss": False,
4444
"mlm_masking_probability": 0.15,
45-
"contrastive_masking_probability": 0.3,
45+
"contrastive_masking_probability": 0.2,
4646
},
4747
}
4848

0 commit comments

Comments
 (0)