|
Download README.md from orucexe/kev-az: direct link, hf CLI and curl.
- Browser
- Download file 4.46 kB
-
https://huggingface.co/orucexe/kev-az/resolve/main/README.md
- Command line
-
hf download hf://orucexe/kev-az/README.md
-
curl -L -o README.md https://huggingface.co/orucexe/kev-az/resolve/main/README.md
4.46 kB
| language: | |
| - az | |
| base_model: jaredpalmer/kev-0.8b | |
| base_model_relation: finetune | |
| datasets: | |
| - orucexe/azerbaijani-decision | |
| tags: | |
| - kev | |
| - lora | |
| - decision-model | |
| - azerbaijani | |
| - text-classification | |
| license: apache-2.0 | |
| # Kev-AZ | |
| Kev-AZ is a compact Azerbaijani decision model fine-tuned from **Kev-0.8B**. It takes a text state and a question, then returns a probability for each allowed answer. The release contains the trained LoRA adapter and Kev decision head, which the runtime loads on the 0.8B-parameter Qwen3.5 backbone. [Kev-0.8B](https://huggingface.co/jaredpalmer/kev-0.8b) · [Qwen3.5 backbone](https://huggingface.co/Qwen/Qwen3.5-0.8B-Base) · [Kev runtime](https://github.com/jaredpalmer/kev) | |
| **Experimental release.** Kev-AZ is an early research prototype intended for testing and exploration. Its results reflect the specific benchmarks described below. Validate it on your own data before relying on its decisions in production. | |
| [Web playground](https://kev-az.orucs.net) | |
| | Decision type | Output | Example use | | |
| |---|---|---| | |
| | `choice` | Probabilities over named options | Route a customer message to the right team | | |
| | `noul` | Probabilities for yes and no | Check whether a passage supports a claim | | |
| | `score` | Probabilities over ordered levels | Rate a request against a defined urgency scale | | |
| ## Training data | |
| This release was fine-tuned on **49,200 records** from the `orucexe/azerbaijani-decision` training split, or **40.3%** of the split’s 121,965 records. Training logs record 27,037 processed records in the initial run and 22,163 in the continuation run. The two submitted subsets had distinct record IDs. [Training dataset](https://huggingface.co/datasets/orucexe/azerbaijani-decision) · [Training counts and evaluation manifest](benchmark/manifest.json) | |
| ## Azerbaijani decision benchmark | |
| Kev-AZ achieved **59.75% overall accuracy** (331/554). Its strongest result relative to the other models was **57.14% on ordinal decisions** (88/154), **22.73 percentage points** ahead of the closest model in that category. THX-02 led on both choice and yes/no decisions. | |
| | Model | Parameters | Choice (200) | Yes/No (200) | Ordinal score (154) | Overall (554) | | |
| |---|---:|---:|---:|---:|---:| | |
| | **Kev-AZ** | **0.8B** | 59.50% | 62.00% | **57.14%** | **59.75%** | | |
| | THX-02 | 4.54B | **66.00%** | **69.50%** | 32.47% | 57.94% | | |
| | Perplexity Decider Flash | 4.54B | 65.00% | 68.50% | 34.42% | 57.76% | | |
| | Kev-4B | 4B | 61.50% | 65.00% | 30.52% | 54.15% | | |
| | Strands Decider 2B | 2B | 56.00% | 64.50% | 31.82% | 52.35% | | |
| | Mapika Decider 2B | 1.88B | 55.00% | 60.50% | 29.22% | 49.82% | | |
| | THX-01 | 322M | 38.50% | 54.50% | 16.88% | 38.27% | | |
| | Laya Multilingual | 322M | 38.00% | 52.00% | 13.64% | 36.28% | | |
| **How it was measured.** All eight models received the same questions, texts, and option order. A separate answer key was used for scoring. Each record contains one question. Accuracy compares the highest-probability answer with the dataset label. Overall accuracy counts each question once. THX-02 ran in direct mode with one option-order pass. [Score breakdown](benchmark/scores.csv) · [Evaluation manifest](benchmark/manifest.json) | |
| ## Run locally | |
| Download this model repository to a local directory. Install the Kev runtime from source with Python 3.12 or 3.13 and `uv`. Replace `/path/to/kev-az` with the downloaded directory. The first run fetches the pinned Qwen3.5 backbone. The command below uses CPU. | |
| ```bash | |
| git clone https://github.com/jaredpalmer/kev.git | |
| cd kev | |
| git checkout 65b1e763943ace53fd3a4aae00d8d08dbd849772 | |
| uv sync --extra serve | |
| uv run --extra serve python -m kev.serve --run /path/to/kev-az --device cpu --port 8009 | |
| ``` | |
| Send an Azerbaijani request to the local endpoint. | |
| ```bash | |
| curl http://127.0.0.1:8009/v1/systemone \ | |
| -H 'Content-Type: application/json' \ | |
| -d '{ | |
| "model": "kev-az", | |
| "state": "Sifarişim üç gündür gecikir. Bağlamanın harada olduğunu öyrənmək istəyirəm.", | |
| "questions": { | |
| "department": { | |
| "type": "choice", | |
| "instructions": "Bu müraciət hansı şöbəyə yönləndirilməlidir?", | |
| "criteria": { | |
| "delivery": "Bağlamaların çatdırılması və izlənməsi", | |
| "billing": "Ödənişlər və fakturalar", | |
| "access": "Hesaba giriş və şifrənin bərpası" | |
| } | |
| } | |
| } | |
| }' | |
| ``` | |
| The response includes the selected option and the probability distribution under `answers.department`. |