Evaluate
compute_rewrite_or_rephrase_quality() -> Dict
def compute_rewrite_or_rephrase_quality(
model,
model_name,
hparams: HyperParams,
tok: AutoTokenizer,
prompt: str,
target_new: str,
device,
test_rephrase: bool = False
) -> typing.Dict:compute_locality_quality() -> Dict
Example
Last updated