Downloads · 30 days
6
16% of all-time downloads
biankasimkova/mistral-sk-7b-finetuned-court-decisions-sk
mistral-sk-7b-finetuned-court-decisions-sk is a text generation model from biankasimkova. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
This model is a fine-tuned version of slovak-nlp/mistral-sk-7b for conditional text generation of Slovak court decisions. Given the legal reasoning of a court case as input, the model generates the corresponding verdi…
Downloads · 30 days
6
16% of all-time downloads
All-time downloads
37
Public
Repo size
196 MB
Likes
0
Public
Click a slice to open those files.
.pt130 MB · 62%
From the Hugging Face model README
This model is a fine-tuned version of slovak-nlp/mistral-sk-7b for conditional text generation of Slovak court decisions. Given the legal reasoning of a court case as input, the model generates the corresponding verdict/statement (výrok) of the decision.
Generating the verdict/statement (výrok) of a Slovak court decision conditioned on the legal reasoning (odôvodnenie) of the case.
The training data consists of Slovak court decisions sourced from open government records of the Slovak Republic. Each training example pairs the reasoning section of a decision as input with the verdict section as the generation target.
| Metric | Value |
|---|---|
| ROUGE-1 | 0.27 |
| ROUGE-2 | 0.17 |
| ROUGE-L | 0.22 |
| BLEU | 0.10 |
| Perplexity | 1.86 |
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("biankasimkova/mistral-sk-7b-8b-finetuned-court-decisions-sk")
model = AutoModelForCausalLM.from_pretrained("biankasimkova/mistral-sk-7b-8b-finetuned-court-decisions-sk")
reasoning = "Súd zistil, že žalobca ..." # legal reasoning text
inputs = tokenizer(reasoning, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
If you use this model, please cite the associated thesis:
@mastersthesis{Simkova2026,
author = {Bianka Šimková},
title = {Using large language models for analyzing decisions of Slovak courts},
school = {Institute of Artificial Intelligence,
Faculty of Electrical Engineering and Informatics,
Technical University of Košice},
year = {2026}
}