Skip to content

Commit

Permalink
Attempt to fix label test.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmitsch committed Oct 30, 2023
1 parent e8cb182 commit 95a89e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spacy_llm/tests/tasks/test_ner.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,8 @@ def test_add_label():

for label, definition in [
("PERSON", "Every person with the name Jack"),
("LOCATION", None),
("LOCATION", "A geographical location, like a country or a city"),
("COMPANY", None),
]:
llm.add_label(label, definition)
doc = nlp(text)
Expand Down

0 comments on commit 95a89e9

Please sign in to comment.