Download baselines/__init__.py from Anonymous1611/Lattice_Spike: direct link, hf CLI and curl.
- Browser
- Download file 2.09 kB
-
https://huggingface.co/Anonymous1611/Lattice_Spike/resolve/main/baselines/__init__.py
- Command line
-
hf download hf://Anonymous1611/Lattice_Spike/baselines/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Anonymous1611/Lattice_Spike/resolve/main/baselines/__init__.py
2.09 kB
| """Shared interfaces and structs for token-level hallucination baselines.""" | |
| from .base import ( | |
| TokenScoreDetector, | |
| TrainableTokenScoreDetector, | |
| ) | |
| from .adapters import AutoLabelledDatasetAdapter, DatasetAdapter | |
| from .attention_entropy import AttentionEntropyDetector | |
| from .epr import ( | |
| EPRDetector, | |
| EntropyRankTokenProbeDetector, | |
| EntropyProductionRateDetector, | |
| WEPRDetector, | |
| WeightedEntropyProductionRateDetector, | |
| ) | |
| from .hami import HaMIDetector | |
| from .hidden_state_probe import HiddenStateProbeDetector | |
| from .icr_probe import ICRProbeDetector | |
| from .llm_check import LLMCheckEigenDetector, LLMCheckUncertaintyDetector | |
| from .lookback_lens import LookbackLensDetector | |
| from .multi_view_attention import MultiViewAttentionDetector, MultiViewAttentionTransformerCRFDetector | |
| from .saplma import SAPLMADetector | |
| from .structs import ( | |
| AutoLabelledRow, | |
| BaselineDetectorName, | |
| BaselineExample, | |
| HallucinatedSpan, | |
| LabelCounts, | |
| LogisticConfig, | |
| MethodScoreAggregate, | |
| ResponsePredictionRow, | |
| ScoreSummary, | |
| TokenEvalMetadata, | |
| TokenEvalRow, | |
| TokenOffset, | |
| TokenPredictionRow, | |
| TokenScoreResult, | |
| ) | |
| __all__ = [ | |
| "AutoLabelledDatasetAdapter", | |
| "AutoLabelledRow", | |
| "AttentionEntropyDetector", | |
| "BaselineDetectorName", | |
| "BaselineExample", | |
| "DatasetAdapter", | |
| "EPRDetector", | |
| "EntropyProductionRateDetector", | |
| "EntropyRankTokenProbeDetector", | |
| "HaMIDetector", | |
| "HallucinatedSpan", | |
| "HiddenStateProbeDetector", | |
| "ICRProbeDetector", | |
| "LLMCheckEigenDetector", | |
| "LLMCheckUncertaintyDetector", | |
| "LabelCounts", | |
| "LookbackLensDetector", | |
| "LogisticConfig", | |
| "MethodScoreAggregate", | |
| "MultiViewAttentionDetector", | |
| "MultiViewAttentionTransformerCRFDetector", | |
| "ResponsePredictionRow", | |
| "SAPLMADetector", | |
| "ScoreSummary", | |
| "TokenEvalMetadata", | |
| "TokenEvalRow", | |
| "TokenOffset", | |
| "TokenPredictionRow", | |
| "TokenScoreDetector", | |
| "TokenScoreResult", | |
| "TrainableTokenScoreDetector", | |
| "WEPRDetector", | |
| "WeightedEntropyProductionRateDetector", | |
| ] | |