mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 12:20:20 +03:00
test_ner: make loss test more strict again
This commit is contained in:
parent
0b92666d6b
commit
224ebcc4b3
|
@ -534,7 +534,7 @@ def test_overfitting_IO():
|
|||
for i in range(50):
|
||||
losses = {}
|
||||
nlp.update(train_examples, sgd=optimizer, losses=losses)
|
||||
assert losses["ner"] < 0.001
|
||||
assert losses["ner"] < 0.00001
|
||||
|
||||
# test the trained model
|
||||
test_text = "I like London."
|
||||
|
|
Loading…
Reference in New Issue
Block a user