mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 02:06:31 +03:00
Whitespace
This commit is contained in:
parent
e93d43a43a
commit
7dc61b3f43
|
@ -362,7 +362,6 @@ class Language(object):
|
||||||
self._optimizer.device = device
|
self._optimizer.device = device
|
||||||
return self._optimizer
|
return self._optimizer
|
||||||
|
|
||||||
|
|
||||||
def begin_training(self, get_gold_tuples=None, **cfg):
|
def begin_training(self, get_gold_tuples=None, **cfg):
|
||||||
"""Allocate models, pre-process training data and acquire a trainer and
|
"""Allocate models, pre-process training data and acquire a trainer and
|
||||||
optimizer. Used as a contextmanager.
|
optimizer. Used as a contextmanager.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user