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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user