Text Classification
Transformers
Safetensors
Korean
English
qwen3_5
image-text-to-text
decision-model
jev
classification
calibration
korean
Instructions to use quevirus/Xevn-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use quevirus/Xevn-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="quevirus/Xevn-4B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("quevirus/Xevn-4B") model = AutoModelForMultimodalLM.from_pretrained("quevirus/Xevn-4B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update model card
Browse files
README.md
CHANGED
|
@@ -19,6 +19,8 @@ Xevn is a 4B decision model built for Korean. It starts from the general-purpose
|
|
| 19 |
|
| 20 |
Xevn follows the [Jev](https://benchmarkheaven.com/jev-models) decision format. It reads a question and its options once and returns the answer together with a probability for every option. There is no text generation, so a request costs one forward pass.
|
| 21 |
|
|
|
|
|
|
|
| 22 |
## Tasks
|
| 23 |
|
| 24 |
| Type | Input | Output |
|
|
@@ -42,7 +44,7 @@ Xevn follows the [Jev](https://benchmarkheaven.com/jev-models) decision format.
|
|
| 42 |
| CLIcK | Korean culture and language | **66.5** | 67.3 | 67.2 | 64.9 | 64.3 | 62.9 |
|
| 43 |
| KMMLU-1035 | Expert knowledge, second set | **50.1** | 48.0 | 48.3 | 51.0 | 48.2 | 43.6 |
|
| 44 |
|
| 45 |
-
**
|
| 46 |
|
| 47 |
| Benchmark | **Xevn** | JevK5 | Plumb | Decider | Mica | Tev1 |
|
| 48 |
|---|:-:|:-:|:-:|:-:|:-:|:-:|
|
|
@@ -63,23 +65,25 @@ Latency of a single request over HTTP, bf16, Apple M4 Max, 3,000 requests.
|
|
| 63 |
|
| 64 |
| Input length | p50 | p95 |
|
| 65 |
|---|:-:|:-:|
|
| 66 |
-
| up to 64 tokens |
|
| 67 |
-
| 65 to 128 tokens |
|
| 68 |
-
| 129 to 256 tokens |
|
| 69 |
|
| 70 |
## Models
|
| 71 |
|
| 72 |
-
| Precision |
|
| 73 |
-
|---|--
|
| 74 |
-
| bf16 | 8.
|
| 75 |
-
|
|
| 76 |
-
|
|
| 77 |
-
|
|
| 78 |
-
|
|
| 79 |
-
|
|
| 80 |
-
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
-
|
| 83 |
|
| 84 |
## Intended use
|
| 85 |
|
|
@@ -87,7 +91,7 @@ Xevn is built for decisions: classification, multiple choice, yes/no judgments,
|
|
| 87 |
|
| 88 |
## License
|
| 89 |
|
| 90 |
-
[Apache 2.0](LICENSE). Built on [Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B).
|
| 91 |
|
| 92 |
## Quick start
|
| 93 |
|
|
@@ -100,7 +104,7 @@ Use the bundled `xevn_infer.py` decision helper with `./Xevn`. It renders the de
|
|
| 100 |
|
| 101 |
## 한국어
|
| 102 |
|
| 103 |
-
Xevn은 한국어 분류, 객관식 선택, 예/아니요 판단, 평점을 위한 4B 결정 모델입니다. 질문과 선택지를 한 번 읽고 답과 선택지별 확률을 반환합니다. 한국어 벤치마크 결과와 정밀도별 측정값은 위 표에 있습니다.
|
| 104 |
|
| 105 |
```python
|
| 106 |
from xevn_infer import Xevn
|
|
|
|
| 19 |
|
| 20 |
Xevn follows the [Jev](https://benchmarkheaven.com/jev-models) decision format. It reads a question and its options once and returns the answer together with a probability for every option. There is no text generation, so a request costs one forward pass.
|
| 21 |
|
| 22 |
+
This repository provides the bf16 Transformers weights. Weight size: 9.3198 GB. It retains the base vision tensors for HF layout compatibility; the decision helper uses text only. The tables below report the MLX bf16 reference and its quantized variants. Reference MLX bf16 equal-mixture HTTP p50: 88.37 ms.
|
| 23 |
+
|
| 24 |
## Tasks
|
| 25 |
|
| 26 |
| Type | Input | Output |
|
|
|
|
| 44 |
| CLIcK | Korean culture and language | **66.5** | 67.3 | 67.2 | 64.9 | 64.3 | 62.9 |
|
| 45 |
| KMMLU-1035 | Expert knowledge, second set | **50.1** | 48.0 | 48.3 | 51.0 | 48.2 | 43.6 |
|
| 46 |
|
| 47 |
+
**Headline** = (Intelligence + Calibration) / 2, the JevBench score that combines accuracy and calibration.
|
| 48 |
|
| 49 |
| Benchmark | **Xevn** | JevK5 | Plumb | Decider | Mica | Tev1 |
|
| 50 |
|---|:-:|:-:|:-:|:-:|:-:|:-:|
|
|
|
|
| 65 |
|
| 66 |
| Input length | p50 | p95 |
|
| 67 |
|---|:-:|:-:|
|
| 68 |
+
| up to 64 tokens | 56 ms | 64 ms |
|
| 69 |
+
| 65 to 128 tokens | 88 ms | 103 ms |
|
| 70 |
+
| 129 to 256 tokens | 156 ms | 188 ms |
|
| 71 |
|
| 72 |
## Models
|
| 73 |
|
| 74 |
+
| Precision | Size | Accuracy | Headline | Speed (p50) | Download |
|
| 75 |
+
|---|:-:|:-:|:-:|:-:|:-:|
|
| 76 |
+
| bf16 | 8.4 GB | 68.5 | 76.1 | 88 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-bf16) |
|
| 77 |
+
| 8-bit | 4.5 GB | 68.3 | 76.0 | 83 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-8bit) |
|
| 78 |
+
| 6-bit | 3.4 GB | 68.2 | 75.8 | 82 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-6bit) |
|
| 79 |
+
| 5-bit | 2.9 GB | 68.4 | 75.6 | 80 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-5bit) |
|
| 80 |
+
| 4-bit | 2.4 GB | 67.0 | 75.4 | 78 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-4bit) |
|
| 81 |
+
| 3-bit | 1.8 GB | 55.3 | 65.7 | 77 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-3bit) |
|
| 82 |
+
| 2-bit | 1.3 GB | 27.2 | 21.7 | 76 ms | [MLX](https://huggingface.co/quevirus/Xevn-4B-MLX-2bit) |
|
| 83 |
+
|
| 84 |
+
Accuracy and Headline are the mean over the eight Korean benchmarks above. Speed is the p50 over an equal mix of the three input lengths, measured in the same session as the Speed table. 8-bit to 4-bit stay within 1.5 points of bf16. 3-bit and 2-bit lose substantial accuracy and are provided for experimentation.
|
| 85 |
|
| 86 |
+
PyTorch (Transformers) bf16 weights: [Xevn-4B](https://huggingface.co/quevirus/Xevn-4B).
|
| 87 |
|
| 88 |
## Intended use
|
| 89 |
|
|
|
|
| 91 |
|
| 92 |
## License
|
| 93 |
|
| 94 |
+
[Apache 2.0](https://huggingface.co/quevirus/Xevn-4B/blob/main/LICENSE). Built on [Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B).
|
| 95 |
|
| 96 |
## Quick start
|
| 97 |
|
|
|
|
| 104 |
|
| 105 |
## 한국어
|
| 106 |
|
| 107 |
+
Xevn은 한국어 분류, 객관식 선택, 예/아니요 판단, 평점을 위한 4B 결정 모델입니다. 질문과 선택지를 한 번 읽고 답과 선택지별 확률을 반환합니다. 한국어 벤치마크 결과와 정밀도별 측정값은 위 표에 있습니다. 한국어 README: https://github.com/Nhahan/Xevn/blob/main/README.ko.md
|
| 108 |
|
| 109 |
```python
|
| 110 |
from xevn_infer import Xevn
|