Text classification

A text classification model doesn't write text. It reads a piece of text and answers questions about it — yes or no, pick one, or a position on a scale — with a probability for every answer. TurboLLM runs two kinds: Laya models, on their own engine on any OS, and Jev models (NLI cross-encoders), on vLLM. They share one place to find them, one playground and one API call, POST /v1/systemone.

What you ask, and what you get

You send the text (state) and a map of questions under ids of your own. There are three question types:

TypeYou askYou get
noulA yes/no questionA number between 0 and 1: the probability of yes
choicePick one from options you nameThe chosen option and a probability for every option
scoreWhere the text sits on an ordered scale you describeA score (the probability-weighted level) and a probability for every level

Because the answer is typed and comes with probabilities, your code can branch on it directly: route a support ticket, flag a message, gate an action. There is nothing to parse and no prompt to engineer. The field names follow TypeSafe AI's public System One API, so a client written for that shape only changes its base URL and key.

Laya or Jev?

LayaJev
What it isA small decision model with English and multilingual checkpoints (Apache-2.0)An NLI cross-encoder, such as OpenJev (MIT)
Runs onThe Laya engine: Windows, macOS, Linux; CPU or GPUvLLM: Linux or WSL2, NVIDIA GPU
SizeAbout 1.5 GBAbout 9 GB for the tested 4B checkpoint
Chat while it is loadedStill available. It loads beside your chat model.Workspace shows only the playground
Who works out the numbersThe model itself. TurboLLM passes its answers through.TurboLLM, from NLI entailment scores
Endpoints/v1/systemone/v1/systemone, /v1/classify, /v1/rerank
Set-up guideLayaJev

If you're on Windows or macOS and want to try one quickly, start with Laya: it needs no vLLM and no WSL2. Reach for Jev when you want the NLI-style /v1/classify and /v1/rerank endpoints, or the larger model.

Find a model in Discover

Open Models → Discover and switch on the Text classification chip beside the sort menu. Search as usual, or leave the box empty to browse. The list works whichever chat engine is active, and each row shows which runtime it loads on (Laya engine or vLLM).

The two models these guides were written with:

One playground

While a text classification model is loaded, the playground is where you try it. It is the same screen for both kinds: two editors that are the request (state and questions), a Run button, an answer card per question, and a Response tab and a curl tab so you can move from clicking to code. Nothing is sent until you press Run.

The playground lives at /workspace/text-classification. The old address, /workspace/jev, redirects there.

One API call

POST /v1/systemone takes the same request for either kind. Name the model in model; TurboLLM sends the request to the right runtime. The full field reference is on the Jev page and a worked Laya example is on the Laya page.

What isn't supported

Next

Laya →

Install the Laya engine, download convaiinnovations/laya, and ask your first question.

Jev →

Run an NLI model on vLLM, with the full /v1/systemone, /v1/classify and /v1/rerank reference.

API overview →

Base URL, authentication and the rest of TurboLLM's endpoints.