add grid search

This commit is contained in:
thanhvc3 2023-05-17 13:54:49 +07:00
parent bbbac51e4c
commit dcb11706aa

View File

@ -651,7 +651,7 @@ if __name__ == "__main__":
paramsGrid = {
'optimizer__lr': [0.0001, 0.0003, 0.001],
'optimizer__weight_decay': [1e-4, 1e-5, 1e-6],
# 'optimizer__weight_decay': [1e-4, 1e-5, 1e-6],
'module__hid_drop': [0.2, 0.5, 0.7],
# 'module__embed_dim': [300, 400, 500],
}