Auto-format [ci skip]

This commit is contained in:
Ines Montani 2019-05-06 16:58:29 +02:00
parent dd153b2b33
commit 78cb807a9a
2 changed files with 1 additions and 2 deletions

View File

@ -111,4 +111,3 @@ NORM_EXCEPTIONS = {}
for string, norm in _exc.items(): for string, norm in _exc.items():
NORM_EXCEPTIONS[string] = norm NORM_EXCEPTIONS[string] = norm
NORM_EXCEPTIONS[string.title()] = norm NORM_EXCEPTIONS[string.title()] = norm

View File

@ -510,7 +510,7 @@ def decaying(start, stop, decay):
curr = float(start) curr = float(start)
while True: while True:
yield max(curr, stop) yield max(curr, stop)
curr -= (decay) curr -= decay
def minibatch_by_words(items, size, tuples=True, count_words=len): def minibatch_by_words(items, size, tuples=True, count_words=len):