Text Classification
Transformers
Safetensors
English
qwen3_5_text
feature-extraction
decision-model
calibration
full-weight-sft
weight-averaging
multiple-choice
typesafe
qwen3.8
Eval Results (legacy)
Instructions to use jaredpalmer/kev-27b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaredpalmer/kev-27b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jaredpalmer/kev-27b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("jaredpalmer/kev-27b") model = AutoModel.from_pretrained("jaredpalmer/kev-27b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Kev 1.0 model card (weights unchanged)
Browse files
README.md
CHANGED
|
@@ -93,10 +93,11 @@ Kev-27B is a decision model. It reads one document (the *state*) and a set of ty
|
|
| 93 |
| Parameters | 25.6B in the backbone (vision tower, LM head and multi-token-prediction layers are not loaded), 2.6M in the head |
|
| 94 |
| Precision | bf16 (a 51.3 GB checkpoint); served in bf16 |
|
| 95 |
| Context | States of up to 65,536 tokens are served, plus at least 8,192 tokens per question. Training states were at most 32,768 tokens. |
|
|
|
|
| 96 |
| Calibration | One temperature, T = 1.32, stored in `head.pt` and applied at load time |
|
| 97 |
| Languages | English |
|
| 98 |
| License | Apache-2.0 (weights and head); the base model is Apache-2.0 |
|
| 99 |
-
| Version | v2, released 2026-09-30 on `main` of [`jaredpalmer/kev-27b`](https://huggingface.co/jaredpalmer/kev-27b) |
|
| 100 |
| Previous version | v1, a rank-16 LoRA adapter on the same base (T = 1.38), at tag [`v1-lora`](https://huggingface.co/jaredpalmer/kev-27b/tree/v1-lora); its card is the README at that tag |
|
| 101 |
|
| 102 |
**Input.** A state (text, or a JSON object or array rendered as labelled text) and any number of named questions, each of one of three types:
|
|
@@ -229,6 +230,8 @@ Against v1 the index difference is +2.1 [−0.4, +4.6]. No paired interval again
|
|
| 229 |
|
| 230 |
Accuracy difference over all lengths: −1.6 [−3.0, −0.3]. On the generated agreement bundles (2,400 questions) both models score 1.000.
|
| 231 |
|
|
|
|
|
|
|
| 232 |
**Calibration** (expected calibration error, ECE, as served; lower is better):
|
| 233 |
|
| 234 |
| Panel | Kev-27B v2 | Kev-27B v1 |
|
|
|
|
| 93 |
| Parameters | 25.6B in the backbone (vision tower, LM head and multi-token-prediction layers are not loaded), 2.6M in the head |
|
| 94 |
| Precision | bf16 (a 51.3 GB checkpoint); served in bf16 |
|
| 95 |
| Context | States of up to 65,536 tokens are served, plus at least 8,192 tokens per question. Training states were at most 32,768 tokens. |
|
| 96 |
+
| Validated context length | 65,536 tokens (see Long documents) |
|
| 97 |
| Calibration | One temperature, T = 1.32, stored in `head.pt` and applied at load time |
|
| 98 |
| Languages | English |
|
| 99 |
| License | Apache-2.0 (weights and head); the base model is Apache-2.0 |
|
| 100 |
+
| Version | v2 (Kev 1.0), released 2026-09-30 on `main` of [`jaredpalmer/kev-27b`](https://huggingface.co/jaredpalmer/kev-27b) |
|
| 101 |
| Previous version | v1, a rank-16 LoRA adapter on the same base (T = 1.38), at tag [`v1-lora`](https://huggingface.co/jaredpalmer/kev-27b/tree/v1-lora); its card is the README at that tag |
|
| 102 |
|
| 103 |
**Input.** A state (text, or a JSON object or array rendered as labelled text) and any number of named questions, each of one of three types:
|
|
|
|
| 230 |
|
| 231 |
Accuracy difference over all lengths: −1.6 [−3.0, −0.3]. On the generated agreement bundles (2,400 questions) both models score 1.000.
|
| 232 |
|
| 233 |
+
**Context length.** Validated context length: 65,536 tokens, the serving limit, from longdoc-v1 development (paired CUAD accuracy difference from the 8k bucket, pp [95 % CI]: 16k +0.2 [−0.7, +1.2], 32k −0.2 [−1.2, +0.7], 64k −1.1 [−2.4, +0.0]; 445–447 questions each). The rule is the one applied to every Kev 1.0 size: the validated length is the nominal size of the largest bucket from 16,384 tokens up such that it, and every bucket between it and 8,192, is within tolerance, meaning the CUAD accuracy difference from the 8k bucket, paired on the same contract, repeat and question, has a 95 % lower bound of at least −3 pp, with every record answered.
|
| 234 |
+
|
| 235 |
**Calibration** (expected calibration error, ECE, as served; lower is better):
|
| 236 |
|
| 237 |
| Panel | Kev-27B v2 | Kev-27B v1 |
|