Skip to content

Commit

Permalink
Merge branch 'relaxed_upper_bounds' of https://github.com/centre-for-…
Browse files Browse the repository at this point in the history
…humanities-computing/DaCy into relaxed_upper_bounds
  • Loading branch information
KennethEnevoldsen committed Oct 10, 2023
2 parents 34e6dc9 + 266e756 commit 4bcf40e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 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,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"),
}

0 comments on commit 4bcf40e

Please sign in to comment.