Don't unset example docs

This commit is contained in:
Matthew Honnibal 2020-06-25 21:19:49 +02:00
parent 04583fe0c6
commit 5b1d15e247
1 changed files with 0 additions and 4 deletions

View File

@ -271,10 +271,6 @@ def train(
update_meta(training, nlp, info)
nlp.to_disk(output_path / "model-best")
progress = tqdm.tqdm(total=training["eval_frequency"], leave=False)
# Clean up the objects to faciliate garbage collection.
for eg in batch:
eg.reference = None
eg.predicted = None
except Exception as e:
if output_path is not None:
msg.warn(