Skip to content

Commit

Permalink
add informative comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mpangrazzi committed Dec 19, 2024
1 parent 9ccdd0e commit 505b9d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/components/extractors/test_named_entity_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
def test_named_entity_extractor_backend():
_ = NamedEntityExtractor(backend=NamedEntityExtractorBackend.HUGGING_FACE, model="dslim/bert-base-NER")

# private model, will fail if HF_API_TOKEN is not set
_ = NamedEntityExtractor(backend=NamedEntityExtractorBackend.HUGGING_FACE, model="deepset/bert-base-NER")

_ = NamedEntityExtractor(backend="hugging_face", model="dslim/bert-base-NER")
Expand Down

0 comments on commit 505b9d4

Please sign in to comment.