Downloads · 30 days
7
18% of all-time downloads
JonusNattapong/jev-my-bro-th1200
jev-my-bro-th1200 is a text classification model from JonusNattapong. Use it when you need a label for a piece of text. It is set up for laya. The card lists the license as apache-2.0.
Jev laya-th1200 is a Thai typed decision model for agent and tool governance. Given an operational request or long agent task context, it returns four typed signals: - action: execute, askuser, or reject - needsreview…
Downloads · 30 days
7
18% of all-time downloads
All-time downloads
40
Public
Parameters
322M
3.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors5.2 GB · 95%
From the Hugging Face model README
Jev laya-th1200 is a Thai typed decision model for agent and tool governance.
Given an operational request or long agent task context, it returns four typed signals:
action: execute, ask_user, or rejectneeds_review: boolean-like (noul) indicating whether human review is requiredprohibited: boolean-like (noul) indicating whether the operation is strictly forbiddenrisk: ordinal operational-risk score from 0 to 4This is a research and engineering checkpoint. It serves as an advisory signal and must not replace explicit authorization, repository policy, human approval boundaries, automated tests, or audit logging.
convaiinnovations/laya-multilingualth) and bilingual English/Thaichoice (action), noul (needs_review, prohibited), and ordinal score (risk 0–4)data/th_curated_1200/train.jsonl)
th_17_agent_task_context_train.csv) covering realistic multi-clause coding agent promptsJonusNattapong/jev-my-bro-th1200Evaluated on the locked test set (100 cases, 400 typed decisions, 20 cases per risk level):
| Metric | Result |
|---|---|
| Overall accuracy | 86.75% |
| Action choice accuracy | 88.00% |
Noul accuracy (needs_review / prohibited) | 93.50% |
| Level 4 risk recall (Catastrophic/Destructive) | 100.00% |
prohibited spikes on routine multi-clause coding tasks containing phrases like "ผู้ใช้สั่งให้ทำแล้ว" or "ไม่มีการ push".In production and local agent environments (Claude Code, Antigravity, Codex), th1200 operates as part of a Hybrid Cascaded Architecture:
jevbro/rules.pyrules.yaml / .jev/rules.yamljevbro/core.py with whitespace normalizationagent.model.encoder (--quantize)import json
import torch
from laya import Agent
from jevbro.questions import default_questions
MODEL_ID = "JonusNattapong/jev-my-bro-th1200"
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
agent = Agent(MODEL_ID, device=DEVICE)
result = agent.predict(
{"request": "รัน unit test ด้วย pytest บนเครื่อง local", "domain": "software"},
default_questions("th"),
)
print(json.dumps(result["answers"], ensure_ascii=False, indent=2))
prohibited >= 0.5 ➔ rejectneeds_review >= 0.5 or action == "ask_user" or risk >= 3 ➔ prompt user for explicit review