π Flan T5 SmallΒΆ
metrics.perplexity.flan_t5_small
Perplexity(
model_name="google/flan-t5-small",
source_template="Complete the given content: {reference}",
target_template="{prediction}",
)
[source]Explanation about PerplexityΒΆ
Computes the likelihood of generating text Y after text X - P(Y|X).
Read more about catalog usage here.