add grid search
This commit is contained in:
parent
c050d8f9d9
commit
53443a4026
2
main.py
2
main.py
@ -650,7 +650,7 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
|
|
||||||
paramsGrid = {
|
paramsGrid = {
|
||||||
'optimizer__lr': [0.0001, 0.0003, 0.001],
|
'optimizer__lr': [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__hid_drop': [0.2, 0.5, 0.7],
|
||||||
# 'module__embed_dim': [300, 400, 500],
|
# 'module__embed_dim': [300, 400, 500],
|
||||||
|
Loading…
Reference in New Issue
Block a user