Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text classification

laya

by Verdict verdict-models/laya

laya is an open-weight model for text classification from Verdict, released under Apache License 2.0. Its published files total 1.7 GB.

The Laya System One decision model, exported to ONNX fp32 and packaged for Verdict -- a high-performance serving engine for System One decision models. Serve it with one command: Pick the image that matches the host.

Parameters—
Context—
Weights3.8 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Verdict, published under apache-2.0, revision c9fc09709ee9.

The Laya System One decision model, exported to ONNX fp32 and packaged for Verdict -- a high-performance serving engine for System One decision models. Serve it with one command: Pick the image that matches the host. The -v mounts cache the model, so only the first run downloads it. Add -e VERDICTUSEMODELSCOPE=1 and use sgyaqing/laya to fetch from ModelScope instead of the hub; add -e HFENDPOINT=https://hf-mirror.com if the hub is slow or unreachable. Endpoints: the standard decision protocols POST /v1/systemone and POST /v1/decisions, native POST /v1/choice | /v1/score | /v1/noul, plus an OpenAI-compatible layer (/v1/chat/completions, /v1/models). Measured on one machine (RTX 4090, AMD…

Read Verdict's full model card

Laya (Verdict-ready)

The Laya System One decision model, exported to ONNX fp32 and packaged for Verdict -- a high-performance serving engine for System One decision models. Serve it with one command:

Pick the image that matches the host. The -v mounts cache the model, so only the first run downloads it.

# CPU host
docker run --rm -p 8080:8080 \
    -v ~/.cache/verdict:/root/.cache/verdict \
    sgyaqing/verdict:0.2.0-cpu serve verdict-models/laya --host 0.0.0.0

# GPU host
docker run --rm --gpus all -p 8080:8080 \
    -v ~/.cache/verdict:/root/.cache/verdict \
    sgyaqing/verdict:0.2.0-cuda serve verdict-models/laya --host 0.0.0.0

Add -e VERDICT_USE_MODELSCOPE=1 and use sgyaqing/laya to fetch from ModelScope instead of the hub; add -e HF_ENDPOINT=https://hf-mirror.com if the hub is slow or unreachable.

Endpoints: the standard decision protocols POST /v1/systemone and POST /v1/decisions, native POST /v1/choice | /v1/score | /v1/noul, plus an OpenAI-compatible layer (/v1/chat/completions, /v1/models).

Performance

Measured on one machine (RTX 4090, AMD EPYC 7543, 16 threads), end to end over HTTP with oha and an identical request body for both servers. The baseline is the model author's own server (laya-serve, LAYA_MODELS=english); the Verdict column is this package. Latencies are per-request P50 / P99 at the stated concurrency. The ratios are oriented so that above 1× means Verdict is ahead in both: throughput ratio = Verdict ÷ baseline, latency ratio = baseline ÷ Verdict.

concurrency Verdict rps Verdict P50 / P99 laya-serve rps laya-serve P50 / P99 ratio rps ratio P50 / P99
1 121.4 8.37 / 11.07 ms 34.4 28.58 / 32.73 ms 3.53× 3.42 / 2.96×
8 501.4 15.99 / 22.42 ms 35.4 227.96 / 250.60 ms 14.2× 14.3 / 11.2×
64 1353.0 46.71 / 65.19 ms refused requests — — —

Files

File Purpose
model.json manifest: graph file name, budgets, calibration temperatures
laya.onnx + laya.onnx.data the ONNX graph (fp32, external weights)
tokenizer/tokenizer.json (+ tokenizer_config.json) the tokenizer
SHA256SUMS checksums for every file above

Provenance & fidelity

Weights are unchanged from convaiinnovations/laya; this repo adds only the ONNX export and the serving manifest. Conversion and serving are verified against the official model: identical answers on CPU, within 1e-4 on CUDA.

License

Apache-2.0, inherited from the base model. Credit for the model itself belongs to the original authors; this repository only repackages it for serving.

Identity and Version

Repository
verdict-models/laya
Publisher
Verdict
Task
Text classification
Modality
Text
Library
laya
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
c9fc09709ee99ba796001801ddc1729e340696ef
First published
2026-10-09
Last updated
2026-10-17

Files and Weights

9 files, 1.7 GB in total. The weights are 1 file totalling 3.8 MB in onnx.

Weights1 file · 3.8 MB
Configuration1 file · 562 B
Tokenizer2 files · 3.6 MB
Documentation1 file · 3.0 KB
Other2 files · 1.7 GB
Repository2 files · 2.7 KB
Every file
FileTypeSizeSHA-256
laya.onnxWeights3.8 MB f8569c393215
model.jsonConfiguration562 B —
README.mdDocumentation3.0 KB —
SHA256SUMSOther499 B —
laya.onnx.dataOther1.7 GB 487746363a8d
.gitattributesRepository1.6 KB —
.ms_upload_cacheRepository1.1 KB —
tokenizer/tokenizer.jsonTokenizer3.6 MB —
tokenizer/tokenizer_config.jsonTokenizer308 B —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
3.8 MB
Download from Verdict

Released by Verdict through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published3.8 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About laya

Can I use laya commercially?

Yes. laya is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text classification

twitter-roberta-base-sentiment-latest

Cardiff NLP

This is a RoBERTa-base model trained on ~124M tweets from January 2018 to December 2021, and finetuned for sentiment analysis with the TweetEval benchmark. The original Twitter-based RoBERTa model can be found here and the original reference paper is TweetEval. This model is suitable for English. 0 -> Negative; 1 -> Neutral; 2 -> Positive This sentiment analysis model has been integrated into TweetNLP. You can access the demo here.

Open weights cc-by-4.0 514 tokens transformers

Model · Text classification

finbert-tone

Yi

FinBERT is a BERT model pre-trained on financial communication text. The purpose is to enhance financial NLP research and practice. It is trained on the following three financial communication corpus. The total corpora size is 4.9B tokens. More technical details on FinBERT: Click Link This released finbert-tone model is the FinBERT model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. If you are simply interested in using FinBERT for financial tone analysis, give it a try. If you use the model in your academic work, please cite the following paper: Huang, Allen H.…

Open weights 512 tokens transformers

Model · Text classification

ms-marco-MiniLM-L-6-v2

Joshua

https://huggingface.co/cross-encoder/ms-marco-MiniLM-L-6-v2 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 512 tokens transformers.js

Model · Text classification

twitter-xlm-roberta-base-sentiment

Cardiff NLP

This is a multilingual XLM-roBERTa-base model trained on ~198M tweets and finetuned for sentiment analysis. The sentiment fine-tuning was done on 8 languages (Ar, En, Fr, De, Hi, It, Sp, Pt) but it can be used for more languages (see paper for details). This model has been integrated into the TweetNLP library.

Open weights 514 tokens transformers

Model · Text classification

unbiased-toxic-roberta

Unitary

The huggingface models currently give different results to the detoxify library (see issue here). For the most up to date models we recommend using the models from https://github.com/unitaryai/detoxify Trained models & code to predict toxic comments on 3 Jigsaw challenges: Toxic comment classification, Unintended Bias in Toxic comments, Multilingual toxic comment classification. Built by Laura Hanu at Unitary, where we are working to stop harmful content online by interpreting visual content in context. Score not directly comparable since it is obtained on the validation set provided and not on the test set. To update when the test labels are made available. It is also noteworthy to mention…

Open weights apache-2.0 514 tokens transformers

Model · Text classification

emotion-english-distilroberta-base

Hartmann

With this model, you can classify emotions in English text data. The model was trained on 6 diverse datasets (see Appendix below) and predicts Ekman's 6 basic emotions, plus a neutral class: 1) anger 2) disgust 3) fear 4) joy 5) neutral 6) sadness 7) surprise The model is a fine-tuned checkpoint of DistilRoBERTa-base. For a 'non-distilled' emotion model, please refer to the model card of the RoBERTa-large version. a) Run emotion model with 3 lines of code on single text example using Hugging Face's pipeline command on Google Colab: b) Run emotion model on multiple examples and full datasets (e.g.,.csv files) on Google Colab: Please reach out to [email protected] if you have any…

Open weights 514 tokens transformers