(self)
| 209 | |
| 210 | class MetaPreprocessor: |
| 211 | def __init__(self): |
| 212 | self.routing = { |
| 213 | "single_turn_llava": self._preprocess_single_turn_llava, |
| 214 | "caption": self._preprocess_caption |
| 215 | } |
| 216 | |
| 217 | def preprocess(self, meta_l:List[Dict], recipe: str): |
| 218 | return self.routing[recipe](meta_l) |
nothing calls this directly
no outgoing calls
no test coverage detected