Spaces:
Runtime error
Runtime error
Download src/data/entity.py from Logisx/EssayEvaluation: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/Logisx/EssayEvaluation/resolve/main/src/data/entity.py
- Command line
-
hf download hf://spaces/Logisx/EssayEvaluation/src/data/entity.py
-
curl -L -o entity.py https://huggingface.co/spaces/Logisx/EssayEvaluation/resolve/main/src/data/entity.py
560 Bytes
| from pathlib import Path | |
| from dataclasses import dataclass | |
| class DataIngestionConfig: | |
| root_dir: Path | |
| hf_dataset_name: str | |
| hf_dataset_split: str | |
| local_data_file: Path | |
| unzip_dir: Path | |
| class DataPreprocessingConfig: | |
| root_dir: Path | |
| raw_data_path: Path | |
| question_key: str | |
| answer_key: str | |
| class DataTransformationConfig: | |
| root_dir: Path | |
| finetuning_data_path: Path | |
| train_data_split: float | |
| test_data_split: float | |
| eval_data_split: float |