lexometrica/ru-court-decision-outcome
arbitration court decision outcome classifier
2 min readupdated
A compact language model based on cointegrated/rubert-tiny2 (29 million parameters) that determines the outcome of arbitration lawsuits from the operative part of Russian arbitration court decisions. The model outputs one of three outcomes: grant the claim fully, partially, or dismiss it. It evaluates already delivered text (does not forecast case outcomes) and runs roughly a thousand times faster than large LLMs (Large Language Model). This tool is useful for developers and legal professionals to automate legal analytics and stream document processing.
Key features
- Built on the lightweight
cointegrated/rubert-tiny2architecture with a size of 29M parameters. - Identifies three distinct court decision statuses directly from official case file text.
- High inference speed: about 2 ms per decision on Apple Silicon (MPS).
- Achieves a macro-F1 score of 0.926 on a test set of 497 court documents.
What you can do
- Integrate the model into a court decision processing pipeline for rapid filtering and case cataloging.
- Automatically structure large flows of electronic arbitration court documents.
- Set up text classification in custom LegalTech solutions using the
transformerslibrary.
Example
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="lexometrica/ru-court-decision-outcome",
truncation=True,
max_length=2048,
)
classifier("В удовлетворении исковых требований отказать. Решение может быть обжаловано в течение месяца.")
# [{'label': 'В иске отказать полностью', 'score': 0.99...}]
Read more
DetailsTest metrics: macro-F1 0.926, accuracy 0.952.
Limitations: trained only on first-instance arbitration court decisions regarding business reputation protection.
Memory requirements: minimal due to the lightweight architecture (29M parameters).
Input features: accepts only the operative part of the decision following the word RESHIL, maximum length is 2048 tokens.










Comments