Views
No views yet
mistralai/Ministral-3-8B-Instruct-2512-BF16 fine-tuned using Low-Rank Adaptation (LoRA) on CulturaQA.
Ministral-3-8B-Instruct-2512-BF16 with Greek linguistic and cultural knowledge from the training part of CulturaQA.| DemosQA | GPCR | INCLUDE | Greek ASEP MCQA | Greek Medical MCQA | Plutus QA | Greek Truthful QA | Greek MMLU (Greek-specific) | CulturaQA | |
|---|---|---|---|---|---|---|---|---|---|
| Open-Weights Models | |||||||||
| Maistros 8B | 50.83 | 64.42 | 58.70 | 67.25 | 49.54 | 73.33 | 53.37 | 78.17 | 71.99 |
| Ministral 3 8B | 51.67 | 59.62 | 54.17 | 63.25 | 47.92 | 65.33 | 52.51 | 76.23 | 71.03 |
| Krikri 8B | 49.50 | 54.81 | 50.54 | 63.08 | 45.37 | 64.44 | 54.83 | 71.04 | 71.31 |
| Plutus 8B | 45.67 | 50.00 | 48.37 | 62.92 | 39.35 | 57.33 | 34.52 | 70.38 | 67.44 |
| EuroLLM v2 9B | 41.50 | 53.85 | 39.13 | 46.08 | 31.71 | 42.67 | 36.72 | 58.17 | 70.33 |
| Gemma 3n E4B | 47.17 | 60.10 | 50.00 | 57.75 | 43.75 | 53.78 | 46.76 | 71.39 | 69.10 |
| Qwen 3 8B | 48.83 | 31.73 | 49.28 | 54.58 | 36.64 | 63.56 | 42.72 | 67.57 | 68.73 |
| Proprietary Models | |||||||||
| Gemini 3 flash | 55.67 | 88.46 | 88.77 | 94.75 | 92.82 | 89.78 | 88.62 | 95.03 | 73.97 |
| GPT-5 mini | 53.00 | 77.40 | 74.46 | 78.92 | 78.01 | 76.89 | 75.89 | 87.49 | 75.09 |
1from transformers import AutoTokenizer, Mistral3ForConditionalGeneration, set_seed
2
3# Set the model path, device and a random seed for reproducibility.
4model_path = 'IMISLab/Maistros-8B-Instruct'
5device = 'cuda'
6set_seed(42)
7
8# Loading the model tokenizer.
9tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code = True)
10
11# Causal Language Models predict tokens from left to right and use EOS token for padding.
12tokenizer.pad_token = tokenizer.eos_token
13tokenizer.padding_side = 'right'
14
15# Load the model from the path to the device and set it in evaluation mode.
16model = Mistral3ForConditionalGeneration.from_pretrained(model_path, device_map = device, trust_remote_code = True)
17model.eval()
18
19# Set the system, instruction and user prompts.
20system_prompt = 'Είσαι ο Μαΐστρος, ένα εξαιρετικά ανεπτυγμένο μοντέλο Τεχνητής Νοημοσύνης για την Ελληνική γλώσσα.\nΈχεις δημιουργηθεί απο το IMIS Lab του Πανεπιστημιού Πατρών.'
21instruction_prompt = 'Παρακαλώ απάντησε στην παρακάτω ερώτηση.'
22user_prompt = 'Τι είναι η Ακρόπολη των Αθηνών;'
23
24# Defining the message template.
25messages = [
26 {'role': 'system', 'content': [{'type': 'text', 'text': system_prompt}]},
27 {'role': 'user', 'content': [{'type': 'text', 'text': '\n\n'.join((instruction_prompt, user_prompt))}]}
28]
29
30# Applying the tokenizer chat template.
31tokenized = tokenizer.apply_chat_template(
32 messages,
33 add_generation_prompt = True,
34 return_tensors = 'pt',
35 return_dict = True
36)
37
38# Sending the tokenized instances to the device.
39tokenized = {k: v.to(device) for k, v in tokenized.items()}
40input_len = len(tokenized['input_ids'][0])
41
42# Generating the model output.
43output = model.generate(
44 **tokenized,
45 max_new_tokens = 1024,
46 do_sample = False, # Equivalent to temperature = 0.0
47 temperature = None,
48 top_p = None,
49 top_k = None
50)
51
52# Decoding the assistant part of the output and printing it.
53decoded_output = tokenizer.decode(output[0][input_len:], skip_special_tokens = True)
54print(decoded_output)giarelis@ceid.upatras.gr
cmastrokostas@ac.upatras.gr
karacap@upatras.gr@misc{
giarelis2026maistrosgreeklargelanguage,
title = {Maistros: A Greek Large Language Model Adapted Through Knowledge Distillation From Large Reasoning Models},
author = {Nikolaos Giarelis and Charalampos Mastrokostas and Nikos Karacapilidis},
year = {2026},
eprint = {2605.01870},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2605.01870},
}