mirror of https://github.com/explosion/spaCy.git
fix typo
This commit is contained in:
parent
aa3ad8825d
commit
03b4ec7d7f
|
@ -61,7 +61,7 @@ def test_issue7029():
|
||||||
for i in range(50):
|
for i in range(50):
|
||||||
losses = {}
|
losses = {}
|
||||||
nlp.update(train_examples, sgd=optimizer, losses=losses)
|
nlp.update(train_examples, sgd=optimizer, losses=losses)
|
||||||
texts = ["first", "second", "thrid", "fourth", "and", "then", "some", ""]
|
texts = ["first", "second", "third", "fourth", "and", "then", "some", ""]
|
||||||
nlp.select_pipes(enable=["tok2vec", "tagger"])
|
nlp.select_pipes(enable=["tok2vec", "tagger"])
|
||||||
docs1 = list(nlp.pipe(texts, batch_size=1))
|
docs1 = list(nlp.pipe(texts, batch_size=1))
|
||||||
docs2 = list(nlp.pipe(texts, batch_size=4))
|
docs2 = list(nlp.pipe(texts, batch_size=4))
|
||||||
|
|
Loading…
Reference in New Issue