Skip to main content
Ctrl+K

CAPPr 0.9.6 documentation

  • About
  • User Guide
  • Research
  • API Reference
  • Local development
  • GitHub
  • About
  • User Guide
  • Research
  • API Reference
  • Local development
  • GitHub

Section Navigation

  • Select a language model
  • Select a prompt-completion format
  • (Optional) Supply a prior
  • Examples
  • Why predict probabilities?
  • A note on workflow
  • User Guide
  • Examples

Examples#

For minimal examples you can quickly run, see the Example section for each of these functions:

cappr.openai.classify.predict()

cappr.huggingface.classify.predict()

cappr.llama_cpp.classify.predict()

cappr.openai.classify.predict_examples()

cappr.huggingface.classify.predict_examples()

cappr.llama_cpp.classify.predict_examples()

Also see the Usage section in the repo README.

For examples of fully worked out tasks, see the demos in the repo.

previous

(Optional) Supply a prior

next

Why predict probabilities?

Show Source

© Copyright 2023-2024, Kush Dubey.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.16.0.