langtest.modelhandler.llm_modelhandler#

Classes

PretrainedModelForClinical(hub, model, ...)

A class representing a pretrained model for clinical.

PretrainedModelForDisinformation(hub, model, ...)

A class representing a pretrained model for disinformation. Inherits: PretrainedModelForQA: The base class for pretrained models.

PretrainedModelForFactuality(hub, model, ...)

A class representing a pretrained model for factuality detection.

PretrainedModelForIdeology(hub, model, ...)

A class representing a pretrained model for ideology.

PretrainedModelForLegal(hub, model, *args, ...)

A class representing a pretrained model for legal.

PretrainedModelForNER(hub, model, *args, ...)

A class representing a pretrained model for named entity recognition.

PretrainedModelForQA(hub, model, *args, **kwargs)

A class representing a pretrained model for question answering.

PretrainedModelForSecurity(hub, model, ...)

A class representing a pretrained model for security detection.

PretrainedModelForSensitivity(hub, model, ...)

PretrainedModelForSummarization(hub, model, ...)

A class representing a pretrained model for summarization.

PretrainedModelForSycophancy(hub, model, ...)

A class representing a pretrained model for sycophancy.

PretrainedModelForToxicity(hub, model, ...)

A class representing a pretrained model for toxicity detection.

PretrainedModelForWinoBias(hub, model, ...)

A class representing a pretrained model for wino-bias detection.

Exceptions

ConfigError(message)

An exception raised for configuration errors.