Instructions to use batistado/QuorumGuard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use batistado/QuorumGuard with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("batistado/QuorumGuard", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download quorumguard/__init__.py from batistado/QuorumGuard: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/batistado/QuorumGuard/resolve/main/quorumguard/__init__.py
- Command line
-
hf download hf://batistado/QuorumGuard/quorumguard/__init__.py
-
curl -L -o __init__.py https://huggingface.co/batistado/QuorumGuard/resolve/main/quorumguard/__init__.py
935 Bytes
| """QuorumGuard: Claim-Genealogy-Gated Hedged Quorums for Asynchronous Multi-Agent LLM Consensus.""" | |
| from .entropy_gate import ( | |
| EpistemicSignals, | |
| compute_epistemic_weight, | |
| posterior_entropy_and_margin_from_logits, | |
| ) | |
| from .genealogy import ProvenanceDAG, ProvenanceNode | |
| from .scheduler import ( | |
| VLLM_PRIORITY_BACKGROUND_SPECULATIVE, | |
| VLLM_PRIORITY_DISSENT_BOOST, | |
| VLLM_PRIORITY_NORMAL, | |
| AgentVote, | |
| PriorityBudgetPool, | |
| QuorumGuardConfig, | |
| QuorumGuardController, | |
| StageCommitResult, | |
| ) | |
| __all__ = [ | |
| "AgentVote", | |
| "EpistemicSignals", | |
| "PriorityBudgetPool", | |
| "ProvenanceDAG", | |
| "ProvenanceNode", | |
| "QuorumGuardConfig", | |
| "QuorumGuardController", | |
| "StageCommitResult", | |
| "VLLM_PRIORITY_BACKGROUND_SPECULATIVE", | |
| "VLLM_PRIORITY_DISSENT_BOOST", | |
| "VLLM_PRIORITY_NORMAL", | |
| "compute_epistemic_weight", | |
| "posterior_entropy_and_margin_from_logits", | |
| ] | |
| __version__ = "0.1.0" | |