Skip to content

Commit

Permalink
Added new task to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
x-tabdeveloping committed Aug 23, 2024
1 parent 5e9a0b5 commit 1677dda
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/seb/registered_tasks/danish.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,14 @@ def create_twitterhjerne() -> Task:
task.domain = ["social"]
task.task_subtypes = ["Question-answering"]
return task


@tasks.register("HistoricalDanishClustering")
def create_historical() -> Task:
from seb.mteb_tasks import HistoricalDanishClustering

task = MTEBTask(HistoricalDanishClustering())
task.name = "HistoricalDanishClustering"
task.domain = ["poetry", "fiction"]
task.task_subtypes = ["Thematic Clustering"]
return task

0 comments on commit 1677dda

Please sign in to comment.