Repository navigation
v.0.5.2-alpha
·
195 commits
to d022819df4fed77a7deda311a05434377a116a4c
since this release
Install command, run in a user level powershell.
irm https://raw.githubusercontent.com/omgitsbase/llmash/main/install.ps1 | iexOn Linux:
curl -fsSL https://raw.githubusercontent.com/omgitsbase/llmash/main/install.sh | shAlready installed: llmash update.
Classifiers
A classifier answers questions about a text from one forward pass and generates nothing. The hub tags them text-classification: decision models such as Laya, Jev-Style and decider, and rerankers with a scoring head. llmash runs them as their own kind of model.
pullrecords the tag beside the model and takes whatever the repository, or the model it was converted from, publishes for reading the answers: Laya's decision head comes down as a sidecar next to the encoder (<model>.classifier.gguf), a Jev-Style v3 verdict readout or a decider answer-letter layout is written to<model>.classifier.jsonwith its calibration, and a scoring head inside the GGUF needs nothing more. A model pulled before this release gets the same the first time it is shown or run: where it came from is found from its header or by the file on the hub, once, and kept insources.jsonbeside it.- The runtime is started with what the kind needs (an encoder serves its states, a scorer its rank), and no drafter is offered, so the wait after pulling one is gone.
runon a classifier takes the questions first, one per line, then judges every line of text against them and prints each answer with its probabilities:Which team should handle this? [billing, technical, sales],score: How urgent is it? [not at all, slightly, very],Is the customer angry?. A choice lists its options in brackets andname: descriptiondescribes one;score:lists ordered levels, lowest first; a question with no options is answered yes or no./questions,/clear,/json,/?.- The same lines work in any chat window pointed at llmash, after the text or in the system prompt:
/api/chat,/api/generateand/v1/chat/completionsanswer a classifier with the answers as text plus ananswersobject, and say how to ask when no question was given. POST /api/classify(also/v1/systemone, the shape decision models share) takes{"model", "state", "questions": {id: {"type": choice|score|noul, "instructions", "criteria"}}}and answers{"answers": {id: {"type", "choice"|"score"|"noul", "probabilities", "confidence"}}, "usage"}.statemay be an object. A chat model asked here is read at the answer letter of the common decision prompt.showlists such a model with the capabilityclassification;<model>.classifier.jsonbeside any GGUF says how it is read, and can be written by hand.
Pulling
- Every GGUF repository on the hub pulls. A build whose file name carries
-imatrix-is a build, not the importance file beside it. A build named without a width (-APEX-Balanced,gemma-2b.gguf) is listed by what sets it apart, taken by that name, and the middle one by size stands in for the medium build. Ternary widths (PQ2_0,PTQ1_0) are read. A full build that carries its own MTP head is a build. - A gated repository (Gemma and Llama as their makers publish them) is read with the token
hf auth loginstores, orHF_TOKEN. The token goes to the hub only, never to the CDN a download redirects to, and a refused token is dropped so public repositories still read. - The drafter search names a model correctly: a converter that wrote the whole name as the basename gives Qwen3.5-4B, not Qwen3.5-4B-4B; an expert-count label (64x2.6B) is not part of a name; Meta-Llama is looked for as Llama; and a file whose header cannot name its model (Agents-A1's says A1) is named by the repository it was pulled from, or the model the hub's card says that repository quantized. So a model's own heads are found under its own name.
- A drafter named for its kind and then its own words (DFlash-UltraChat, EAGLE3-converted, SpecForge-EAGLE3) is a drafter for the model, not a project of its own, and Instruct inside a candidate's name no longer hides the model's. A head published on its own in a repository named -MTP- is an MTP head, not a plain draft the runtime could not have loaded.
- After a pull, the drafter search gives up after twenty seconds and says that
pulldraftlooks longer, instead of holding the console; a prompt with no console to answer from takes no for an answer.
Context
ctx --kvand the server's kv_type are checked before anything launches: a made-up cache type (q16_0) is refused with the list llama.cpp takes, instead of being written to local.json and failing every load after. A runtime that refuses an argument is quoted in its own words rather than its usage tail. The context report says what the bytes in RAM are: the model's token table, which llama.cpp keeps in system RAM as the input layer whatever the card holds.
Console
- Ctrl and Alt with the arrow keys jump by words again. The sequence they send was read a byte at a time, so it moved nothing and typed the rest.
- The line no longer flickers as you type: a redraw is one write, with the cursor hidden meanwhile, instead of pieces that showed the cursor jumping to the start of the line and back on every key.
LLMASH_KEYLOG=<file>writes every byte the editor reads, for a key that does nothing in some terminal.
Checked before release:
- 170 GGUF repositories through the picker, nothing downloaded: the top ones by downloads, the trending ones, and the awkward namings (APEX builds, a lone
gemma-2b.gguf,-imatrix-in the file name, full builds carrying their own MTP head, ternary spellings). Every one lists its builds; seven did not before. - The drafter search from the headers of fifteen models (Qwen 3.5, 3.6 and 3.8, GLM-4.7-Flash, Gemma 4 E4B and 26B-A4B, Agents-A1, Llama 3.1 and 3.2, Qwen3-8B, DeepSeek-R1-Qwen3-8B, Mistral Small 3.2, gpt-oss-20b): each finds what the hub publishes for it, checked against the weights, and says so when there is nothing.
- Laya (
laya:q8_0, the head fetched from the hub) against its reference cases: every probability within 0.01, token counts equal. Jev-Style-0.8B-Decision-v3 and decider-2b (its own layout, temperatures and level-by-level scores) give the expected answers on sentiment, ticket routing and news sections in 0.1 to 2 seconds once loaded; a reranker with a cls head scores through the runtime's rerank route. - A Laya file pulled by an earlier version, with nothing beside it, run from the console: its repository found by the file's name and size, the head taken, the questions answered.
- The chat, generate, OpenAI and System One routes on a classifier, streaming and not; the editor fed ctrl+arrow, delete, home, end and paste sequences; a bad hub token against a public repository; all client tests on Windows and Linux.
The runtime is unchanged from 0.5.1.