Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
Answers typed questions about a message, email, ticket or JSON record with calibrated probabilities in one pass of about 33 ms, in 100+ languages. For developers who route tickets and classify text.
Laya is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install laya
Laya is a decision model that never writes text. You give it a piece of content, such as an email, ticket or JSON record, and typed questions. It returns an answer and a probability for each question in a single forward pass of about 33 ms, across more than 100 languages. It has 421M parameters.
It suits developers who need quick, checkable answers about incoming text, such as which team should handle it and how urgent it is.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Customer support | Support engineers | Route tickets and spot churn risk | A billing complaint sent to the billing team |
| Software | Backend developers | Classify messages and records inside a service | An API that tags each incoming email |
| Operations | IT teams | Rank requests by urgency | Mark an outage report as blocking |
| Global teams | Localization staff | Handle messages in many languages with one model | Triage Hindi and Spanish messages in one queue |
If you need the model to write replies or summaries, you can skip it, because it only picks among the answers you define.
| Use case | Who | What they get back |
|---|---|---|
| Ticket routing | Support teams | A department choice with its probability |
| Urgency scoring | Operations | A placement on a scale such as not urgent, soon or blocking |
| Churn checks | Account teams | A probability that the customer threatens to leave |
You need these first:
pip install laya
Write the text to judge and a set of typed questions, then call predict on the Router. Each question is a choice, a score or a yes or no question. The Router detects the language and sends non-English text to the multilingual checkpoint.
from laya import Router
router = Router() # downloads a checkpoint on first use; Router(preload=True) loads all three up front
state = "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan."
questions = {
"department": {"type": "choice", "instructions": "Which department should handle this?",
"criteria": {"billing": "invoices, payments, refunds",
"technical": "bugs, outages, system errors",
"other": "everything else"}},
"urgency": {"type": "score", "instructions": "How urgent is this?",
"criteria": ["not urgent", "soon", "blocking"]},
"churn_risk": {"type": "noul", "instructions": "Does the user threaten to cancel or leave?"},
}
result = router.predict(state, questions)
print(result["answers"]["department"]["choice"]) # billing
print(result["answers"]["churn_risk"]["noul"]) # probability the answer is yes
print(result["routing"]["model"]) # englishFor long documents, name the multilingual checkpoint and raise the limit.
result = router.predict(long_document, questions, model="multilingual", max_len=8192)
| Tool | What it does |
|---|---|
| choice | Picks one option from the criteria you list |
| score | Places the answer on an ordered scale |
| noul | Gives the probability that a yes or no answer is yes |
| Router | Detects the language and picks the English or multilingual checkpoint |
You pass an email saying the customer was billed twice and may cancel, with the three questions above. The result names billing as the department and gives a probability that the customer is a churn risk. Nothing is generated or parsed.
Think of Laya as a fast sorting clerk. It reads text and answers fixed questions with numbers. A good first step is to run the quickstart above with your own short message.
It is non-autoregressive, so one forward pass gives all answers. Reinforcement learning against strictly proper scoring rules trained it, which makes honest probabilities the only way to earn reward.
The default input limit of laya-multilingual is smaller than its maximum.
Answers typed questions about a message, email, ticket or JSON record with calibrated probabilities in one pass of about 33 ms, in 100+ languages. For developers who route tickets and classify text.
Made by convaiinnovations on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Laya is a decision model that never writes text. You give it a piece of content, such as an email, ticket or JSON record, and typed questions. It returns an answer and a probability for each question in a single forward pass of about 33 ms, across more than 100 languages. It has 421M parameters.
Who it suits: It suits developers who need quick, checkable answers about incoming text, such as which team should handle it and how urgent it is.
Industry | Who uses it | How they use it | Example
Customer support | Support engineers | Route tickets and spot churn risk | A billing complaint sent to the billing team
Software | Backend developers | Classify messages and records inside a service | An API that tags each incoming email
Operations | IT teams | Rank requests by urgency | Mark an outage report as blocking
Global teams | Localization staff | Handle messages in many languages with one model | Triage Hindi and Spanish messages in one queue
If you need the model to write replies or summaries, you can skip it, because it only picks among the answers you define.
Where to use it:
Use case | Who | What they get back
Ticket routing | Support teams | A department choice with its probability
Urgency scoring | Operations | A placement on a scale such as not urgent, soon or blocking
Churn checks | Account teams | A probability that the customer threatens to leave
How to set it up: You need these first:
pip install laya
How to use it: Write the text to judge and a set of typed questions, then call predict on the Router. Each question is a choice, a score or a yes or no question. The Router detects the language and sends non-English text to the multilingual checkpoint.
from laya import Router
router = Router() # downloads a checkpoint on first use; Router(preload=True) loads all three up front
state = "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan."
questions = {
"department": {"type": "choice", "instructions": "Which department should handle this?",
"criteria": {"billing": "invoices, payments, refunds",
"technical": "bugs, outages, system errors",
"other": "everything else"}},
"urgency": {"type": "score", "instructions": "How urgent is this?",
"criteria": ["not urgent", "soon", "blocking"]},
"churn_risk": {"type": "noul", "instructions": "Does the user threaten to cancel or leave?"},
}
result = router.predict(state, questions)
print(result["answers"]["department"]["choice"]) # billing
print(result["answers"]["churn_risk"]["noul"]) # probability the answer is yes
print(result["routing"]["model"]) # english
For long documents, name the multilingual checkpoint and raise the limit.
result = router.predict(long_document, questions, model="multilingual", max_len=8192)
Tool | What it does
choice | Picks one option from the criteria you list
score | Places the answer on an ordered scale
noul | Gives the probability that a yes or no answer is yes
Router | Detects the language and picks the English or multilingual checkpoint
Example: You pass an email saying the customer was billed twice and may cancel, with the three questions above. The result names billing as the department and gives a probability that the customer is a churn risk. Nothing is generated or parsed.
For newcomers and experts: Think of Laya as a fast sorting clerk. It reads text and answers fixed questions with numbers. A good first step is to run the quickstart above with your own short message.
It is non-autoregressive, so one forward pass gives all answers. Reinforcement learning against strictly proper scoring rules trained it, which makes honest probabilities the only way to earn reward.
You pass text and typed questions
The Router picks a checkpoint by language
One forward pass scores every option
You get answers with probabilities
Good to know: The default input limit of laya-multilingual is smaller than its maximum.
Title: Token limit of laya-multilingual
Default limit: 1,024 tokens
With max_len=8192: 8,192 tokens
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download convaiinnovations/laya
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Laya This page | 18,689 | 5,956 | 421M | apache-2.0 | |
| Laya MultilingualShares calibrated-decisions · moderation · rlcd | 9,698 | 422 | 322M | apache-2.0 | |
| elephant-1Shares guardrails · routing · classification | 7,426 | 115 | 9.4B | mit | |
| mammoth-1Shares guardrails · routing · classification | 5,903 | 97 | 27.4B | mit | |
| joey-1Shares guardrails · routing · classification | 1,539 | 47 | 2.7B | mit | |
| FRIDA-DecisionsShares guardrails · routing · safetensors | 1,111 | 57 | 823M | mit |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…