1
0
mirror of https://github.com/QData/TextAttack.git synced 2021-10-13 00:05:06 +03:00

reduce cache size for fewer OOM errors

This commit is contained in:
Jin Yong Yoo
2020-08-18 12:29:11 -04:00
parent cd8326e6ea
commit 31a69a839e

View File

@@ -37,8 +37,8 @@ class Attack:
constraints=[],
transformation=None,
search_method=None,
transformation_cache_size=2 ** 20,
constraint_cache_size=2 ** 20,
transformation_cache_size=2 ** 15,
constraint_cache_size=2 ** 15,
):
"""Initialize an attack object.