Skip to content

Commit

Permalink
style: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 10, 2023
1 parent 2e73020 commit 813b677
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/evaluation/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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"),
}

0 comments on commit 813b677

Please sign in to comment.