--- license: mit language: - en library_name: gguf pipeline_tag: text-classification tags: - gguf - openvino - llama.cpp - decision-model - yes-no - zero-shot-classification - cpu - local - on-device - jev ---
Same questions for every system, through the same HTTP client. Latency is the median of 10 requests on an
Intel Core Ultra 7 255H laptop, 16 threads, each text read from scratch. No task text was used to train
jevos; five of the six sets helped choose the released checkpoint.
| | **jevos-v4** | Jev | Laya |
|---|:---:|:---:|:---:|
| Yes/no questions | ✓ | ✓ | ✓ |
| Multiple choice | ✓ | ✓ | ✓ |
| Scores | ✓ (early) | ✓ | ✓ |
| Runs on | your machine | cloud | your machine |
| Cost | free | per token | free |
| Context | 8,192 tokens | not stated | 512 tokens |
jevos-v4 is much faster than the cloud API and free, but less accurate than Jev on the harder tasks above
(fraud points, patent phrases): check it on your own questions before relying on it.
## API
`POST /v1/systemone`, in TypeSafe Jev's wire format: code written for Jev's SDK works unchanged for yes/no
questions. One request can ask several questions about the same text, which is read once:
```json
{
"model": "jev-latest",
"state": {"item": "wireless mouse", "customer_message": "The box arrived empty. This is the second time!"},
"questions": {
"refund": {"type": "noul", "instructions": "Our policy refunds items reported missing within 30 days of delivery. Should this customer get a refund?"},
"team": {"type": "choice", "instructions": "Which team should handle this message?",
"criteria": {"billing": "payments, refunds", "shipping": "deliveries, missing parcels", "tech": "a product that does not work"}},
"anger": {"type": "score", "instructions": "How angry is the customer?", "criteria": ["calm", "annoyed", "angry", "furious"]}
}
}
```
A `noul` returns P(yes); a `choice` the most probable option; a `score` the expected level. Choices and scores
also return a probability per answer and a `confidence`: when it is low, send the case to a person. Put the
rule in the question, and do sums in code.
Options, memory use and building from source are in the [README on GitHub](https://github.com/feder-cr/jev#readme);
guides and measurements are in the [wiki](https://github.com/feder-cr/jev/wiki).
## License and authors
MIT. Built by [Federico Elia (@feder-cr)](https://github.com/feder-cr) together with
[Loris Salsi (@LosaLosSantos)](https://github.com/LosaLosSantos).