EssayEvaluation / src /data /entity.py
Logisx's picture
Added app structure
26d66c1
Raw History Blame Contribute Delete
560 Bytes
from pathlib import Path
from dataclasses import dataclass
@dataclass(frozen=True)
class DataIngestionConfig:
root_dir: Path
hf_dataset_name: str
hf_dataset_split: str
local_data_file: Path
unzip_dir: Path
@dataclass(frozen=True)
class DataPreprocessingConfig:
root_dir: Path
raw_data_path: Path
question_key: str
answer_key: str
@dataclass(frozen=True)
class DataTransformationConfig:
root_dir: Path
finetuning_data_path: Path
train_data_split: float
test_data_split: float
eval_data_split: float