added task_type and updated init

This commit is contained in:
GassiGiuseppe 2025-10-05 18:58:42 +02:00
parent 0f243eaac2
commit d48815cca2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,4 @@
from .attention_mask import get_attention_mask
from .task_type import TaskType
__all__ = ["get_attention_mask"]
__all__ = ["get_attention_mask", "TaskType"]

View File

@ -0,0 +1,6 @@
from enum import Enum, auto
class TaskType(Enum):
RDF2TEXT = auto()
MASK = auto()
COMPLETATION = auto()