From 813b677336e95d8dddc0bd38431cb0953d95d50a Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 10 Oct 2023 17:50:47 +0000 Subject: [PATCH 1/2] style: linting --- docs/evaluation/models.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/evaluation/models.py b/docs/evaluation/models.py index c4348873..3c952592 100644 --- a/docs/evaluation/models.py +++ b/docs/evaluation/models.py @@ -4,11 +4,10 @@ from functools import partial +import dacy import spacy from spacy.language import Language -import dacy - def scandiner_loader() -> Language: scandiner = spacy.blank("da") @@ -117,7 +116,7 @@ def openai_model_loader_fine_ner(model: str) -> Language: "da_core_news_md-3.5.0": partial(spacy.load, "da_core_news_md"), "da_core_news_sm-3.5.0": partial(spacy.load, "da_core_news_sm"), "openai/gpt-3.5-turbo (02/05/23)": partial( - openai_model_loader_simple_ner, model="gpt-3.5-turbo" + openai_model_loader_simple_ner, model="gpt-3.5-turbo", ), "openai/gpt-4 (02/05/23)": partial(openai_model_loader_simple_ner, model="gpt-4"), } From 266e756bf814c6e574eadace525b013f593b23e4 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 10 Oct 2023 17:51:44 +0000 Subject: [PATCH 2/2] style: linting --- docs/evaluation/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/evaluation/models.py b/docs/evaluation/models.py index 3c952592..6845db16 100644 --- a/docs/evaluation/models.py +++ b/docs/evaluation/models.py @@ -116,7 +116,8 @@ def openai_model_loader_fine_ner(model: str) -> Language: "da_core_news_md-3.5.0": partial(spacy.load, "da_core_news_md"), "da_core_news_sm-3.5.0": partial(spacy.load, "da_core_news_sm"), "openai/gpt-3.5-turbo (02/05/23)": partial( - openai_model_loader_simple_ner, model="gpt-3.5-turbo", + openai_model_loader_simple_ner, + model="gpt-3.5-turbo", ), "openai/gpt-4 (02/05/23)": partial(openai_model_loader_simple_ner, model="gpt-4"), }