mellea.backends.aloras.huggingface.granite_aloras
processing
processing(mot: ModelOutputThunk, chunk: GenerateDecoderOnlyOutput, backend: LocalHFBackend, force_yn: bool, gen_prompt: str)
post_processing
post_processing(mot: ModelOutputThunk, backend: LocalHFBackend)
add_granite_aloras
add_granite_aloras(backend: LocalHFBackend)
HFConstraintAlora
generate_using_strings
generate_using_strings(self, input: str, response: str, constraint: str, force_yn: bool = True, stream: bool = False) -> ModelOutputThunk