Spaces:
Runtime error
Runtime error
File size: 560 Bytes
26d66c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 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 |