lexicon
lexicon copied to clipboard
Todo: fallback when out-of-memory or kill
when someone toys with the api around too much, it can cause the server to go out of memory, killing the flask app. as a temporary fix, going to decrease batch size.
future reference code: https://gist.github.com/kevinxhan/6c0bbc68f2ea6b2f4a620e5413c98fb8
lowered batch size 64 -> 42