From 1e3a847d26806c54f6223287b88f6e65405d164f Mon Sep 17 00:00:00 2001 From: YaphetKG Date: Wed, 7 Aug 2024 12:22:29 -0400 Subject: [PATCH] remove type from sapbert call to make things faster --- src/dug/core/annotators/sapbert_annotator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dug/core/annotators/sapbert_annotator.py b/src/dug/core/annotators/sapbert_annotator.py index 7ab1434..a58f860 100644 --- a/src/dug/core/annotators/sapbert_annotator.py +++ b/src/dug/core/annotators/sapbert_annotator.py @@ -251,7 +251,7 @@ def make_annotation_request(self, term_dict: Input, http_session: Session): "text": term_dict["text"], "model_name": "sapbert", "count": 10, - "args": {"bl_type": term_dict["bl_type"]}, + # "args": {"bl_type": term_dict["bl_type"]}, } # This could be moved to a config file NUM_TRIES = 5