r"""Get the training data. Returns: List[Dict[str, Any]]: The training data.
(self)
| 85 | |
| 86 | @property |
| 87 | def train(self) -> List[Dict[str, Any]]: |
| 88 | r"""Get the training data. |
| 89 | |
| 90 | Returns: |
| 91 | List[Dict[str, Any]]: The training data. |
| 92 | """ |
| 93 | if not self._data: |
| 94 | logger.info("Data not loaded. Loading data.") |
| 95 | self.load() |
| 96 | return self._data["train"] |
| 97 | |
| 98 | @property |
| 99 | def valid(self) -> List[Dict[str, Any]]: |