Undo change in test_beam_overfitting_IO

This commit is contained in:
Adriane Boyd 2023-04-28 13:08:56 +02:00
parent b9c3045033
commit 5dcad991a2

View File

@ -699,7 +699,7 @@ def test_beam_overfitting_IO(neg_key):
# Try to unlearn the entity by using negative annotations
neg_doc = nlp.make_doc(test_text)
neg_ex = Example(neg_doc, neg_doc)
neg_ex.reference.spans[neg_key] = [Span(neg_ex.reference, 2, 3, "LOC")]
neg_ex.reference.spans[neg_key] = [Span(neg_doc, 2, 3, "LOC")]
neg_train_examples = [neg_ex]
for i in range(20):