MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / __init__

Method __init__

accessory/data/alpaca.py:211–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209
210class 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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected