🚨 Users are advised to exercise caution and are responsible for any additional training and oversight required to ensure the model's responses meet acceptable ethical and safety standards. The responsibility for incorporating this model into industrial or commercial solutions lies entirely with those who choose to deploy it.

T-Decision-1 · Decision models

Description

We introduce T-Decision-1, a family of decision models for Russian and English. Give it a context and one or more questions. It selects an option, answers yes/no with a probability, or scores a response on a rubric. Five model sizes share the same input and output format.

Evaluation

T Decision Index

The Russian and English tracks contain 52 and 54 benchmark banks, respectively. They use publicly documented sources. All index scores are shown on a 0–100 scale.

We drew on existing evaluation suites and public datasets to cover a range of domains and decision types. Both tracks organize their banks into eight groups: knowledge and reasoning, language and context, routing and classification, retrieval and relevance, tools and actions, affect and stance, judgment and preferences, and safety and policy.

Russian · 52 banks
Benchmark Source
BRIGHTER emotion categories rus Publisher
BRIGHTER emotion intensities rus Publisher
CEDR Publisher
DaNetQA Publisher
GeoReview Publisher
Global PIQA nonparallel Publisher
GOAT · Литература Publisher
GOAT · Обществознание Publisher
GOAT · Русский язык Publisher
Headline Classification Publisher
Inappropriateness Publisher
INCLUDE Russian Publisher
Kinopoisk Sentiment Publisher
LegalBench-RU Publisher
LIBRA MatreshkaYesNo Publisher
MIRACL Russian judged pairs Publisher
Multilingual Toxicity Russian Publisher
MuSeRC Publisher
NSFW Russian Publisher
ParaPhraser manual Publisher
PII token BIO Publisher
POLLUX instructions task type Publisher
POLLUX rubric rating Publisher
RCB Publisher
RuArg-2022 Publisher
RuBLiMP Publisher
RuBQ candidate pairs Publisher
RuCoLA in_domain Publisher
ruEthics Publisher
ruHateSpeech Publisher
RuHealth Publisher
RuMedDaNet Publisher
RuMedSymptomRec Publisher
RuMedTop3 Publisher
RuReviews Publisher
RuSciBench GRNTI Publisher
RuSciBench OECD Publisher
RusConText Publisher
RuSentiTweet Publisher
RuSentNE Publisher
RuSPUTMed original Publisher
RUSSE Publisher
RuStance Publisher
RuTaR Publisher
ruTXTAgroBench Publisher
ruTXTAquaBench Publisher
ruTXTMedQFundamental Publisher
Sensitive Topics Publisher
SentiRuEval-2016 Publisher
Support-JSON-RU Publisher
TERRa Publisher
USE multiple_choice Publisher
English · 54 banks
Benchmark Source
ACPBench Publisher
ANLI Publisher
API-Bank Publisher
AQuA Publisher
ARC-Challenge Publisher
BBH Publisher
BBQ Publisher
BFCL native Publisher
BPoMP Publisher
CLadder Publisher
CLINC150 + OOS Publisher
COPA Publisher
CosmosQA Publisher
DREAM Publisher
EquiBench · 5 configs Publisher
EquiBench · TVM Publisher
ESCI Publisher
EvalSafe-ONet Publisher
FANToM Publisher
FinEntity Publisher
HelpSteer2 Publisher
HH Publisher
HomeControl Publisher
Humicroedit Publisher
IMDb Publisher
iSarcasmEval Publisher
LogiQA2 Publisher
LongBench v2 · actual native ≤16k Publisher
MedMCQA Publisher
MMLU-Pro Publisher
Moderation Publisher
MultiRC Publisher
MuSR Publisher
NLU++ Publisher
OpenBookQA Publisher
PIQA Publisher
ProcessBench Publisher
PubMedQA Publisher
QuALITY Publisher
RACE Publisher
RewardBench2 · Precise IF Publisher
SafePyramid Publisher
SATA-Bench Publisher
SciQ Publisher
SciTab Publisher
SNLI Publisher
SST-2 Publisher
STS-B Publisher
TimeDial Publisher
TREC Publisher
TruthfulQA Publisher
When2Call Publisher
WiC Publisher
WikiQA Publisher

For each language, the index score is the arithmetic mean of the eight group scores.

T Decision Index Russian score by model size T Decision Index English score by model size

The horizontal axis shows model sizes in billions of parameters.

External text evaluation

We also evaluated the family on the Jev Decision Index Public suite (37 text banks, reproduction kit edition 0.3) and the Microsoft Decision Index Public suite (18 text banks). We ran our own evaluation using the upstream task definitions and scoring rules. Jev leaderboard on Hugging Face · Jev reproduction kit · Microsoft Decision Benchmarks

T-Decision-1 text evaluation results
Full text leaderboard
Model T Index RU T Index EN Jev Public Microsoft Public
T-Decision-1 (27B) 74.30 80.06 70.86 85.60
T-Decision-1 (9B) 71.60 78.10 70.63 83.31
Poindexter-Labs/Copernicus-57B 71.24 79.84 75.27 87.46
1000luca/FlexDM-LoRA-v2.1 71.23 78.46 69.07 62.30
PelaAI/KnowLine-31B-Gen2 71.18 78.58 73.04 86.92
fastino/GLiDE-27B 70.79 78.97 72.45 86.87
tattrongvu/Jeffan-31b-1710 70.47 79.87 73.12 86.50
Google: Gemini Decision 1 70.19 73.43 — —
perplexity-ai/pplx-decider-v1.3 69.99 80.01 69.69 85.78
tattrongvu/Jeffan-27B-1211 69.98 79.33 73.35 86.09
MachinePulseAI/karpo-decision-31B 69.74 80.03 75.11 87.44
baselabs/mammoth-1 69.66 79.13 75.35 85.64
logitshq/Logits-Sigma-1 69.26 77.60 67.20 62.25
vllm-sr/d3-ultra 68.91 79.71 71.59 85.33
Poindexter-Labs/Copernicus-31B 68.70 78.32 70.32 86.61
bespokelabs/Nimble-v4-max 68.49 79.07 72.68 85.71
TypeSafe: Jev 1.14 68.23 73.62 — —
sthanika-ai/Sieve-31B-v3 68.22 78.85 71.71 86.46
T-Decision-1 (4B) 67.74 76.52 68.50 79.25
tattrongvu/Jeffan-9B-1211 66.97 77.25 70.47 83.60
Microsoft: Microsoft-Decision-1.1 66.73 75.31 — —
turion-ai/turion-jev-31b 66.65 76.64 66.16 86.42
fastino/GLiDE-9B 65.87 76.71 68.79 82.96
baselabs/elephant-1 65.54 75.44 72.24 82.18
PelaAI/KnowLine-12B-Gen1 65.47 76.19 69.39 83.43
nace-ai/drex-max-v1 64.88 76.07 67.45 85.74
PelaAI/KnowLine-9B-Gen1 64.86 73.56 65.74 81.05
MachinePulseAI/karpo-decision-12B 64.86 75.23 69.72 82.37
plantwaterer/liquamen 64.68 74.48 65.78 61.24
OpenAI: GPT-6 Luna Decisions 64.42 67.38 — —
ai-forever/FRIDA-Decisions-V2-28B-A2.5B 64.22 73.02 61.19 79.38
startlux-models/StartLux-Decision-v1.1-4B-Instant 63.93 75.36 67.89 80.36
PelaAI/KnowLine-4B-Gen5.5 63.93 73.63 66.72 79.15
jgeuter/Jeff-1.1-Large 63.72 73.96 60.60 85.64
MachinePulseAI/karpo-decision-4B 62.47 73.34 67.57 76.34
T-Decision-1 (2B) 61.24 72.25 64.39 72.83
akhilaaa3/Jev-Omni 59.89 60.49 37.68 37.54
T-Decision-1 (0.8B) 56.47 66.81 55.28 67.31
fastino/GLiDE-2B 56.44 69.67 60.55 72.10
startlux-models/StartLux-Decision-v1.1-2B-Instant 56.29 69.06 59.19 73.87
PelaAI/KnowLine-2B-Gen1 55.86 63.43 52.24 71.06
MachinePulseAI/karpo-decision-2B 55.58 67.18 58.97 67.33
ai-forever/FRIDA-Decisions-V2-1.8B 54.34 60.40 45.22 66.54
6E6E/ru-decision-4b 52.94 57.61 29.65 46.68
fastino/GLiDE-0.8B 52.32 65.35 54.39 68.75
AmirBraham/jevstral-8b 52.24 60.30 34.31 68.34
baselabs/joey-1 51.66 63.60 63.30 67.53
startlux-models/StartLux-Decision-v1.1-0.8B-Instant 50.45 64.34 53.68 67.73
newsbang/adjudex-0.8b-v6 49.28 62.99 55.07 64.18
MachinePulseAI/karpo-decision-0.8B 48.93 62.41 53.35 59.88
morriszjm/Tacit-9B 48.92 59.41 37.39 67.87
internlm/Intern-Decision-2B 48.30 48.74 16.26 63.57
ai-forever/FRIDA-Decisions 44.30 35.02 7.91 47.46
internlm/Intern-Decision-0.8B 42.15 42.57 9.21 58.03
plantwaterer/peshigigunu 39.08 52.94 48.88 41.61

Jev Visual Decision Index · Public

We fine-tuned the released family on text decisions. The exports retain their Qwen vision encoder, so we also measured decisions grounded in images on the 11-bank public visual suite. Visual suite and scorer

T-Decision-1 visual evaluation results
Full visual leaderboard
Model Visual score
plantwaterer/peshigigunu 83.84
MachinePulseAI/karpo-decision-31B 77.31
perplexity-ai/pplx-decider-v1.3 76.98
fastino/GLiDE-27B 76.11
sthanika-ai/Sieve-31B-v3 75.48
vllm-sr/d3-ultra 75.24
T-Decision-1 (27B) 74.48
baselabs/mammoth-1 74.46
nace-ai/drex-max-v1 73.79
ai-forever/FRIDA-Decisions-V2-28B-A2.5B 71.66
T-Decision-1 (9B) 71.43
baselabs/elephant-1 69.24
T-Decision-1 (4B) 67.64
T-Decision-1 (2B) 62.25
ai-forever/FRIDA-Decisions-V2-1.8B 60.12
akhilaaa3/Jev-Omni 57.44
baselabs/joey-1 54.40
internlm/Intern-Decision-2B 52.67
T-Decision-1 (0.8B) 51.38
internlm/Intern-Decision-0.8B 39.09

The five T-Decision-1 checkpoints score 51.38–74.48 on this visual evaluation.

See the T Decision Index Space for benchmark-level results.

Probability calibration

We measure top-label expected calibration error (ECE₁₀) on the same 43,217 Russian decisions across 21 banks and 10,794 English decisions across 16 banks for the 49 models in the calibration comparison. We group the predicted probabilities of the selected answers into ten equal-width bins and take the weighted absolute gap between confidence and observed accuracy, in percentage points. Banks carry equal weight within each language. The graph pairs mean Russian/English ECE with the mean of the two full index scores. Lower ECE is better.

Mean Russian and English index scores versus calibration error
Calibration results by model
Model Mean index Mean ECE ↓ RU index EN index RU ECE ↓ EN ECE ↓
T-Decision-1 (27B) 77.18 3.90 74.30 80.06 6.20 1.60
Poindexter-Labs/Copernicus-57B 75.54 4.01 71.24 79.84 5.90 2.11
tattrongvu/Jeffan-31b-1710 75.17 4.77 70.47 79.87 8.06 1.48
perplexity-ai/pplx-decider-v1.3 75.00 6.01 69.99 80.01 9.30 2.72
MachinePulseAI/karpo-decision-31B 74.89 9.50 69.74 80.03 13.69 5.31
fastino/GLiDE-27B 74.88 5.56 70.79 78.97 8.24 2.88
PelaAI/KnowLine-31B-Gen2 74.88 2.83 71.18 78.58 3.35 2.31
T-Decision-1 (9B) 74.85 3.87 71.60 78.10 6.35 1.39
1000luca/FlexDM-LoRA-v2.1 74.84 5.36 71.23 78.46 6.23 4.49
tattrongvu/Jeffan-27B-1211 74.65 3.87 69.98 79.33 6.56 1.18
baselabs/mammoth-1 74.39 5.29 69.66 79.13 8.41 2.18
vllm-sr/d3-ultra 74.31 11.29 68.91 79.71 17.53 5.06
bespokelabs/Nimble-v4-max 73.78 2.97 68.49 79.07 4.62 1.32
sthanika-ai/Sieve-31B-v3 73.53 6.38 68.22 78.85 10.88 1.87
Poindexter-Labs/Copernicus-31B 73.51 3.59 68.70 78.32 3.81 3.36
logitshq/Logits-Sigma-1 73.43 8.75 69.26 77.60 12.56 4.94
T-Decision-1 (4B) 72.13 3.41 67.74 76.52 5.79 1.04
tattrongvu/Jeffan-9B-1211 72.11 4.11 66.97 77.25 6.59 1.63
turion-ai/turion-jev-31b 71.64 4.53 66.65 76.64 6.05 3.01
fastino/GLiDE-9B 71.29 4.00 65.87 76.71 6.81 1.20
PelaAI/KnowLine-12B-Gen1 70.83 2.62 65.47 76.19 1.97 3.26
baselabs/elephant-1 70.49 6.70 65.54 75.44 10.39 3.01
nace-ai/drex-max-v1 70.47 7.96 64.88 76.07 11.57 4.36
MachinePulseAI/karpo-decision-12B 70.05 6.87 64.86 75.23 10.71 3.04
startlux-models/StartLux-Decision-v1.1-4B-Instant 69.64 4.79 63.93 75.36 8.65 0.92
plantwaterer/liquamen 69.58 5.28 64.68 74.48 9.08 1.47
PelaAI/KnowLine-9B-Gen1 69.21 4.77 64.86 73.56 7.13 2.40
jgeuter/Jeff-1.1-Large 68.84 3.81 63.72 73.96 4.89 2.73
PelaAI/KnowLine-4B-Gen5.5 68.78 4.58 63.93 73.63 5.73 3.43
MachinePulseAI/karpo-decision-4B 67.91 6.96 62.47 73.34 10.53 3.38
T-Decision-1 (2B) 66.74 4.72 61.24 72.25 6.81 2.63
fastino/GLiDE-2B 63.05 9.08 56.44 69.67 12.72 5.44
startlux-models/StartLux-Decision-v1.1-2B-Instant 62.67 4.72 56.29 69.06 6.46 2.98
T-Decision-1 (0.8B) 61.64 3.34 56.47 66.81 4.43 2.24
MachinePulseAI/karpo-decision-2B 61.38 6.89 55.58 67.18 10.87 2.91
akhilaaa3/Jev-Omni 60.19 17.08 59.89 60.49 20.04 14.12
PelaAI/KnowLine-2B-Gen1 59.64 3.44 55.86 63.43 4.11 2.77
fastino/GLiDE-0.8B 58.84 9.14 52.32 65.35 12.09 6.19
baselabs/joey-1 57.63 6.62 51.66 63.60 8.84 4.41
startlux-models/StartLux-Decision-v1.1-0.8B-Instant 57.39 4.06 50.45 64.34 2.60 5.52
AmirBraham/jevstral-8b 56.27 5.35 52.24 60.30 5.95 4.74
newsbang/adjudex-0.8b-v6 56.14 4.41 49.28 62.99 6.27 2.55
MachinePulseAI/karpo-decision-0.8B 55.67 7.76 48.93 62.41 12.81 2.70
6E6E/ru-decision-4b 55.27 3.86 52.94 57.61 5.07 2.65
morriszjm/Tacit-9B 54.17 8.19 48.92 59.41 10.68 5.70
internlm/Intern-Decision-2B 48.52 2.29 48.30 48.74 2.23 2.34
plantwaterer/peshigigunu 46.01 3.89 39.08 52.94 6.29 1.49
internlm/Intern-Decision-0.8B 42.36 5.39 42.15 42.57 5.46 5.32
ai-forever/FRIDA-Decisions 39.66 22.50 44.30 35.02 19.91 25.10

Training

We use the Qwen3.5-0.8B, Qwen3.5-2B, Qwen3.5-4B, Qwen3.5-9B and Qwen3.8-27B architectures. Full-attention layers see the whole question in both directions. Gated DeltaNet layers remain causal. Packed training examples are isolated from one another. The model configurations specify a context window of 262,144 tokens. We tested inputs up to 32,768 tokens.

We assembled LargeMix from publicly available datasets, deduplicated training examples, and filtered overlap with protected examples and source groups from all evaluation sets. We tuned the balance of sources and decision types for the final mix.

We fine-tune all text-model parameters, including the vocabulary head. LargeMix contains approximately 10.24 million decision instances and 4.16 billion unpadded input tokens under the reference Qwen tokenizer. One original record can yield more than one decision.

LargeMix decision types: choice 58.27%, noul 35.68%, score 6.05%

Each direct SFT ran for one epoch with AdamW, a peak learning rate of 3.5 × 10⁻⁶, a linear warm-up of about 3%, and cosine decay to zero. The reference Qwen packing used isolated 32,768-token windows, a global batch of 32 windows, and 122 warm-up steps out of 4,062.

For a question with correct label y and allowed labels A, the training objective is

L = −log(py) + 0.5 · ∑i ∈ A (qi − 𝟙[i = y])²

Both terms use the logits at the answer position. The cross-entropy term uses the probability py from a softmax over the full vocabulary. The Brier term uses probabilities qi from a softmax over the allowed labels. We sum the squared errors over those labels and average the loss over answer positions.

Throughput

We measured serving on NVIDIA H100 GPUs using a shared 10,000-request Russian/English workload with a 16,384-token reference limit. After warm-up, we screened concurrency settings and confirmed end-to-end throughput on the full workload. Throughput counts valid responses per second per H100. Quality is the arithmetic mean of the complete Russian and English T Decision Index scores. OSS models used their published runtime paths. The chart includes profiles with native batching or concurrent serving.

Pareto chart of valid requests per second per H100 and mean Russian and English index score

The lime points pair the mean release RU/EN score with the verified BF16 throughput of the same checkpoint. The table lists the fastest verified configuration per H100 for each precision. A dash marks a measurement pending verification.

T-Decision-1 release serving results · BF16 and FP8
Size Precision H100 Confirmed concurrency Valid RPS/H100 Valid requests
0.8B BF16 1 96 112.38 10000 / 10000
0.8B FP8 1 96 113.94 10000 / 10000
2B BF16 1 128 68.92 10000 / 10000
2B FP8 1 96 87.88 10000 / 10000
4B BF16 1 192 31.10 10000 / 10000
4B FP8 1 128 38.80 10000 / 10000
9B BF16 1 128 18.92 10000 / 10000
9B FP8 1 128 26.35 10000 / 10000
27B BF16 1 48 5.94 10000 / 10000
27B FP8 1 64 8.28 10000 / 10000

Usage

The Python adapter renders one prompt per question, asks the serving backend for the first-position log probabilities of every option token, and normalizes them across the supplied options. Return values are keyed by the original question IDs. choice selects an option, noul returns the probability of true, and score returns the expected zero-based rubric level. No generated explanation is required.

For threshold-based decisions, tune the cutoff on a representative validation set to match your task’s precision and recall needs.

Serve the model

Set MODEL_PATH to the published T-Decision-1 model ID on Hugging Face or to a local checkpoint directory. The 27B model is based on Qwen3.8. The 0.8B, 2B, 4B and 9B models are based on Qwen3.5. Our SGLang evaluation runs used 0.5.22. We also tested vLLM 0.34.0 and recommend it for vLLM deployments.

SGLang 0.5.22
SGLANG_JIT_DEEPGEMM_PRECOMPILE=0 python3 -m sglang.launch_server \
  --model-path "$MODEL_PATH" --served-model-name T-Decision-1 \
  --host 127.0.0.1 --port 30000 --dtype bfloat16 \
  --context-length 32768 --max-prefill-tokens 49152 --attention-backend fa3 \
  --disable-radix-cache --chunked-prefill-size -1 \
  --cuda-graph-backend-prefill disabled --cuda-graph-backend-decode disabled
vLLM 0.34.0
VLLM_DEEP_GEMM_WARMUP=skip vllm serve "$MODEL_PATH" --served-model-name T-Decision-1 \
  --host 127.0.0.1 --port 30000 --dtype bfloat16 \
  --max-model-len 32768 --max-num-batched-tokens 49152 \
  --no-enable-prefix-caching --no-enable-chunked-prefill \
  --enforce-eager --logprobs-mode raw_logprobs

The adapter requires Python 3.10 or newer. Install the adapter dependencies with python3 -m pip install httpx aiohttp transformers. For multi-GPU serving, set --tp-size in SGLang or --tensor-parallel-size in vLLM. Image requests use the processor included with the checkpoint. For vLLM, select backend="vllm" and pass model_path to the Python client, or use --backend vllm --model-path "$MODEL_PATH" when starting the adapter service.

Python client · choice, yes/no, rubric and multiple questions
from src.tdecision_adapter import TDecisionClient

client = TDecisionClient(url="http://127.0.0.1:30000", backend="sglang")
request = {
    "state": "The customer returned an unopened item after 12 days. Returns are allowed for 30 days.",
    "questions": {
        "action": {
            "type": "choice",
            "instructions": "Which action follows the policy?",
            "criteria": {"accept": "Accept the return", "reject": "Reject the return"},
        },
        "in_window": {"type": "noul", "instructions": "Is the return within the allowed window?"},
        "evidence": {
            "type": "score",
            "instructions": "How clearly does the context support the decision?",
            "criteria": ["No support", "Partial support", "Explicit support"],
        },
    },
}
try:
    print(client.decide(request)["answers"])
finally:
    client.close()

For parallel traffic, create one client and call await client.adecide(request) from tasks in the same event loop. Call await client.aclose() at shutdown.

HTTP service · POST /v1/systemone
python3 src/tdecision_adapter.py --backend sglang --url http://127.0.0.1:30000 --port 8000
curl -fsS http://127.0.0.1:8000/v1/systemone \
  -H 'Content-Type: application/json' \
  -d '{
    "state": "Заказ доставлен. Клиент просит копию чека.",
    "questions": {
      "route": {
        "type": "choice",
        "instructions": "Куда направить запрос?",
        "criteria": {"billing": "Оплата и чеки", "shipping": "Доставка"}
      },
      "delivered": {"type": "noul", "instructions": "Заказ доставлен?"},
      "clarity": {"type": "score", "instructions": "Насколько запрос ясен?",
                  "criteria": ["Неясен", "Частично ясен", "Ясен"]}
    }
  }'

The endpoint forwards requests asynchronously. Each question is scored separately against the shared state.

Images · Python and HTTP

Send images as inline data URLs in images. Each question receives the images in the same order. In this example, T-Decision-1 (9B) in BF16 selected T-Decision-1 (27B) with a probability of 99.86%.

from base64 import b64encode
from pathlib import Path
from src.tdecision_adapter import TDecisionClient

image = "data:image/png;base64," + b64encode(Path("assets/visual-example-ru.png").read_bytes()).decode()
request = {
    "state": "Изучи график.",
    "images": [image],
    "questions": {
        "peak": {
            "type": "choice",
            "instructions": "Какая модель T-Decision-1 набрала больше всего баллов на русском индексе?",
            "criteria": {"2b": "T-Decision-1 (2B)", "4b": "T-Decision-1 (4B)", "9b": "T-Decision-1 (9B)", "27b": "T-Decision-1 (27B)"},
        }
    },
}
client = TDecisionClient(url="http://127.0.0.1:30000", backend="sglang")
try:
    print(client.decide(request)["answers"]["peak"])
finally:
    client.close()
python3 - <<'PY' > request.json
import base64, json
from pathlib import Path
image = "data:image/png;base64," + base64.b64encode(Path("assets/visual-example-ru.png").read_bytes()).decode()
print(json.dumps({
    "state": "Изучи график.",
    "images": [image],
    "questions": {
        "peak": {
            "type": "choice",
            "instructions": "Какая модель T-Decision-1 набрала больше всего баллов на русском индексе?",
            "criteria": {"2b": "T-Decision-1 (2B)", "4b": "T-Decision-1 (4B)", "9b": "T-Decision-1 (9B)", "27b": "T-Decision-1 (27B)"},
        }
    },
}))
PY
curl -fsS http://127.0.0.1:8000/v1/systemone \
  -H 'Content-Type: application/json' --data-binary @request.json

Quantization

Supported linear layers use E4M3 FP8 weights in 128×128 blocks with dynamic activation quantization.

Downloads last month
6
Safetensors
Model size
3B params
Tensor type
F32
·
BF16
·
F8_E4M3
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for t-tech/T-Decision-1-2B-FP8

Finetuned
Qwen/Qwen3.5-2B
Quantized
(2)
this model

Collection including t-tech/T-Decision-1-2B-FP8