mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +03:00
Remove not needed parameters from function
This commit is contained in:
parent
808cd6cf7f
commit
10e8dcdfdb
|
@ -52,7 +52,7 @@ def train(train_loc, dev_loc, shape, settings):
|
|||
file_.write(model.to_json())
|
||||
|
||||
|
||||
def evaluate(model_dir, dev_loc):
|
||||
def evaluate(dev_loc):
|
||||
dev_texts1, dev_texts2, dev_labels = read_snli(dev_loc)
|
||||
nlp = spacy.load('en',
|
||||
create_pipeline=create_similarity_pipeline)
|
||||
|
|
Loading…
Reference in New Issue
Block a user