Buckets:
| """THX-01: fast, non-autoregressive decision engine with calibrated probabilities.""" | |
| from .agent import Agent, RLAgent, load | |
| from .decide import decide as _decide | |
| from .common import ( | |
| QTYPES, | |
| QTYPE_NAMES, | |
| confidence_from_probs, | |
| ece_score, | |
| proper_reward, | |
| render_options, | |
| td_lambda_targets, | |
| ) | |
| from .email import clean_email_body, email_state | |
| from .lang import analyse as detect_language | |
| from .lang import detect_script, is_english | |
| from .presets import ( | |
| email_questions, | |
| guard_questions, | |
| moderation_questions, | |
| router_questions, | |
| triage_questions, | |
| ) | |
| from .shortlist import embed_fn_from_agent, predict_shortlist, shortlist_choice | |
| __version__ = "1.0.0" | |
| __all__ = [ | |
| "Agent", | |
| "RLAgent", | |
| "load", | |
| "shortlist_choice", | |
| "predict_shortlist", | |
| "embed_fn_from_agent", | |
| "detect_language", | |
| "detect_script", | |
| "is_english", | |
| "clean_email_body", | |
| "email_questions", | |
| "email_state", | |
| "guard_questions", | |
| "moderation_questions", | |
| "router_questions", | |
| "triage_questions", | |
| "proper_reward", | |
| "td_lambda_targets", | |
| "ece_score", | |
| "confidence_from_probs", | |
| "render_options", | |
| "QTYPES", | |
| "QTYPE_NAMES", | |
| "__version__", | |
| ] | |
| def _agent_decide(self, state, questions): | |
| """Answer any THX-01 question set (choice, noul, score, number, excerpt, cite) exactly like the HTTP API.""" | |
| return _decide(self, state, questions) | |
| Agent.decide = _agent_decide | |
Xet Storage Details
- Size:
- 1.46 kB
- Xet hash:
- 9c8c7e3a8a0fced719fb61b628d9e0e7d042ed44d6f19108c68dbf39ab96adf1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.