HiTZ
Latxa-Qwen3.5-4B
Run this model inference on single tenant GPU with unmatched speed and reliability at scale.
Get help setting up a custom Dedicated Endpoints.
Talk with our engineer to get a quote for reserved GPU instances with discounts.
README
License: apache-2.0Model Details
Model Description
Latxa Vision models are a family of Vision-Language Models based on Qwen3.5. The models were adapted to different languages following Sainz et al. (2025) adaptation method.
- Developed by: HiTZ Research Center & IXA Research group (University of the Basque Country UPV/EHU)
- Funded by: Ikergaitu and ALIA projects (Basque and Spanish Government)
- Model type: Vision-Language Instruct Model
- Language(s) (NLP): Basque, Galician, Catalan, Spanish, English and more.
- License: Apache 2.0
- Finetuned from model: Qwen3.5-4B
Getting Started
Use the code below to get started with the model.
python
from transformers import pipeline# Load the text and image to text pipelinepipe = pipeline("image-text-to-text", model="HiTZ/Latxa-Qwen3.5-4B")# Messages can be of many typesmessages = [{"role": "user","content": [{"type": "image", "image": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png"},{"type": "text", "text": "What do we see in this image?"},]}]output = pipe(messages)print(output)
[!Tip] We recommend using the following set of sampling parameters for generation
- Thinking mode for general tasks:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0- Thinking mode for precise coding tasks (e.g. WebDev):
temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0- Instruct (or non-thinking) mode for general tasks:
temperature=0.7, top_p=0.8, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0- Instruct (or non-thinking) mode for reasoning tasks:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0Please note that the support for sampling parameters varies according to inference frameworks.
Uses
Latxa models are intended to be used with Basque data; for any other language the performance is not guaranteed.
Regarding the multi variant, it was additionally adapted for Galician and Catalan.
Direct Use
Latxa Instruct models are trained to follow instructions or to work as chat assistants.
Out-of-Scope Use
The model is not intended for malicious activities, such as harming others or violating human rights. Any downstream application must comply with current laws and regulations. Irresponsible usage in production environments without proper risk assessment and mitigation is also discouraged.
Bias, Risks, and Limitations
In an effort to alleviate the potentially disturbing or harmful content, Latxa has been trained on carefully selected and processed data which comes mainly from local media, national/regional newspapers, encyclopedias and blogs (see Latxa Corpus v2). Still, the model is based on Qwen3.5 models and can potentially carry the same bias, risk and limitations.
Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Training Details
Training Data
For training details, please, refer to our paper: Instructing Large Language Models for Low-Resource Languages: A Systematic Study for Basque
Evaluation
We evaluated the models using 5-shot settings on multiple-choice and generative tasks.
| Task | Q3-VL-4B | Q3-VL-4B eu | Q3-VL-4B multi | Q3.5-4B | Q3.5-4B multi |
|---|---|---|---|---|---|
| Arc Challenge | 53.75 | 75.09 (+21.34) | 75.34 (+21.59) | 70.22 | 80.55 (+10.33) |
| Arc Easy | 66.20 | 87.58 (+21.38) | 87.58 (+21.38) | 82.07 | 89.60 (+7.53) |
| BeleBele | 69.67 | 80.67 (+11.00) | 79.00 (+9.33) | 79.78 | 86.33 (+6.55) |
| BertaQA global | 60.66 | 69.06 (+8.40) | 69.65 (+8.99) | 65.05 | 73.54 (+8.49) |
| BertaQA local | 40.27 | 53.43 (+13.16) | 54.36 (+14.09) | 40.74 | 62.82 (+22.08) |
| BL2MP | 55.89 | 90.17 (+34.28) | 90.28 (+34.39) | 71.00 | 91.61 (+20.61) |
| Eus Exams | 47.21 | 55.39 (+8.18) | 56.40 (+9.19) | 50.24 | 58.06 (+7.82) |
| Eus Proficiency | 28.98 | 51.00 (+22.02) | 51.77 (+22.79) | 34.79 | 61.60 (+26.81) |
| Eus Reading | 42.33 | 63.92 (+21.59) | 64.49 (+22.16) | 61.36 | 73.58 (+12.22) |
| Eus Trivia | 44.49 | 56.27 (+11.78) | 57.55 (+13.06) | 46.18 | 62.45 (+16.27) |
| MGSM CoT | 39.20 | 58.40 (+19.20) | 62.40 (+23.20) | 54.00 | 62.80 (+8.80) |
| MMLU | 51.48 | 55.19 (+3.71) | 57.41 (+5.93) | 46.67 | 60.74 (+14.07) |
| OpenBook QA | 42.80 | 70.40 (+27.60) | 71.60 (+28.80) | 62.60 | 71.80 (+9.20) |
| PIQA | 56.81 | 64.49 (+7.68) | 68.68 (+11.87) | 63.51 | 76.03 (+12.52) |
| SIQA | 47.54 | 61.67 (+14.13) | 62.59 (+15.05) | 54.91 | 63.40 (+8.49) |
| X-StoryCloze | 50.63 | 61.22 (+10.59) | 61.81 (+11.18) | 56.25 | 67.31 (+11.06) |
| AVG EU | 49.93 | 65.81 (+15.88) | 66.93 (+17.00) | 58.71 | 71.39 (+12.68) |
[!WARNING] DISCLAIMER
These model are still under development. The results are only reported for Basque tasks, the results in the rest of the languages will be released in the near future.
Citation
bibtex
@inproceedings{sainz-etal-2025-instructing,title = "Instructing Large Language Models for Low-Resource Languages: A Systematic Study for {B}asque",author = "Sainz, Oscar andPerez, Naiara andEtxaniz, Julen andFernandez de Landa, Joseba andAldabe, Itziar andGarc{\'i}a-Ferrero, Iker andZabala, Aimar andAzurmendi, Ekhi andRigau, German andAgirre, Eneko andArtetxe, Mikel andSoroa, Aitor",editor = "Christodoulopoulos, Christos andChakraborty, Tanmoy andRose, Carolyn andPeng, Violet",booktitle = "Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing",month = nov,year = "2025",address = "Suzhou, China",publisher = "Association for Computational Linguistics",url = "https://aclanthology.org/2025.emnlp-main.1484/",doi = "10.18653/v1/2025.emnlp-main.1484",pages = "29124--29148",ISBN = "979-8-89176-332-6",abstract = "Instructing language models with user intent requires large instruction datasets, which are only available for a limited set of languages. In this paper, we explore alternatives to conventional instruction adaptation pipelines in low-resource scenarios. We assume a realistic scenario for low-resource languages, where only the following are available: corpora in the target language, existing open-weight multilingual base and instructed backbone LLMs, and synthetically generated instructions sampled from the instructed backbone. We present a comprehensive set of experiments for Basque that systematically study different combinations of these components evaluated on benchmarks and human preferences from 1,680 participants. Our conclusions show that target language corpora are essential, with synthetic instructions yielding robust models, and, most importantly, that using as backbone an instruction-tuned model outperforms using a base non-instructed model. Scaling up to Llama 3.1 Instruct 70B as backbone, our model comes near frontier models of much larger sizes for Basque, without using any Basque instructions. We release code, models, instruction datasets, and human preferences to support full reproducibility in future research on low-resource language adaptation."}
Acknowledgements
This work has been partially supported by the Basque Government (Research group funding IT1570-22 and IKER-GAITU project), the Spanish Ministry for Digital Transformation and of Civil Service, and the EU-funded NextGenerationEU Recovery, Transformation and Resilience Plan (ALIA project). The models were trained on the Leonardo supercomputer at CINECA under the EuroHPC Joint Undertaking, project EHPC-EXT-2024E01-042.
Model provider
HiTZ
Model tree
Base
Qwen/Qwen3.5-4B
Fine-tuned
this model
Modalities
Input
Video, Text, Image
Output
Text
Pricing
Dedicated Endpoints
View detailsSupported Functionality
Model APIs
Dedicated Endpoints
Container
More information