def _prepare_inputs(inputs: List[List[str]]) -> List[Dict]:
        """prepares the inputs for the onnx cross encoder
        used named fields in the output to allow for proper passing of two strings

        Args:
            inputs (List[List[str]]): _description_

        Raises:
            RuntimeError: _description_

        Returns:
            List[Dict]: _description_
        """
        if not _verify_model_inputs(inputs):
            raise RuntimeError(f"expected list of lists, received {type(inputs)} of {type(inputs[0])}")

        return [{'text':pair[0], 'text_pair':pair[1]} for pair in inputs]
prepares the inputs for the onnx cross encoder
        used named fields in the output to allow for proper passing of two strings

        Args:
            inputs (List[List[str]]): _description_

        Raises:
            RuntimeError: _description_

        Returns:
            List[Dict]: _description_
        
src/marqo/s2_inference/reranking/model_utils.py