Spaces:
Running on Zero
Running on Zero
Download laya/__init__.py from hugging-apps/laya-hebrew: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/spaces/hugging-apps/laya-hebrew/resolve/main/laya/__init__.py
- Command line
-
hf download hf://spaces/hugging-apps/laya-hebrew/laya/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hugging-apps/laya-hebrew/resolve/main/laya/__init__.py
1.31 kB
| """Laya: Fast, non-autoregressive System 1 decision engine with calibrated probabilities.""" | |
| from .agent import Agent, RLAgent, load | |
| 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 .router import DEFAULT_MODELS, RouteDecision, Router | |
| from .shortlist import embed_fn_from_agent, predict_shortlist, shortlist_choice | |
| __version__ = "0.3.7" | |
| __all__ = [ | |
| "Agent", | |
| "RLAgent", | |
| "load", | |
| "Router", | |
| "RouteDecision", | |
| "DEFAULT_MODELS", | |
| "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__", | |
| ] | |