incerto.llm.plot_length_vs_confidence

incerto.llm.plot_length_vs_confidence#

incerto.llm.plot_length_vs_confidence(lengths, confidences, ax=None, title='Sequence Length vs. Confidence')[source]#

Plot relationship between sequence length and confidence.

Parameters:
  • lengths (List[int]) – Sequence lengths

  • confidences (List[float]) – Confidence scores

  • ax – Matplotlib axes

  • title (str) – Plot title