HiTZ

HiTZ

Latxa-Qwen3.5-2B

Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more

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.0

Model 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-2B

Getting Started

Use the code below to get started with the model.

python

from transformers import pipeline
# Load the text and image to text pipeline
pipe = pipeline("image-text-to-text", model="HiTZ/Latxa-Qwen3.5-2B")
# Messages can be of many types
messages = [
{
"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 text 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 VL or precise coding (e.g. WebDev) tasks : temperature=0.6, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
  • Non-thinking mode for text tasks: temperature=1.0, top_p=1.00, top_k=20, min_p=0.0, presence_penalty=2.0, repetition_penalty=1.0
  • Non-thinking mode for VL tasks: temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0

Please 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-VL 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.

Table
TaskQ3-VL-2BQ3-VL-2B euQ3-VL-2B multiQ3.5-2BQ3.5-2B multi
Arc Challenge36.9551.28 (+14.33)55.20 (+18.25)45.0559.72 (+14.67)
Arc Easy43.2765.99 (+22.72)69.95 (+26.68)54.7673.61 (+18.85)
BeleBele46.0065.44 (+19.44)60.67 (+14.67)56.3366.89 (+10.56)
BertaQA global46.0353.43 (+7.40)56.81 (+10.78)49.5060.36 (+10.86)
BertaQA local37.2742.51 (+5.24)44.46 (+7.19)37.0152.45 (+15.44)
BL2MP49.1187.94 (+38.83)89.22 (+40.11)60.8990.06 (+29.17)
Eus Exams33.8142.44 (+8.63)42.81 (+9.00)36.8643.30 (+6.44)
Eus Proficiency25.6936.45 (+10.76)36.58 (+10.89)27.8043.39 (+15.59)
Eus Reading25.8547.73 (+21.45)41.76 (+15.91)40.9145.17 (+4.26)
Eus Trivia35.0440.41 (+5.37)42.04 (+7.00)38.1352.59 (+14.46)
MGSM CoT13.1033.20 (+20.10)34.00 (+20.90)21.6038.80 (+17.20)
MMLU34.0743.33 (+9.26)45.93 (+11.86)42.2247.40 (+5.18)
OpenBook QA30.2050.40 (+20.20)54.60 (+24.40)45.4057.00 (+11.60)
PIQA53.7055.17 (+1.47)54.08 (+0.38)52.9459.53 (+6.59)
SIQA38.1848.26 (+10.08)50.31 (+12.13)42.9450.87 (+7.93)
X-StoryCloze50.5056.98 (+6.48)57.05 (+6.55)52.0858.30 (+6.22)
AVG EU38.7751.31 (+12.54)52.22 (+13.45)44.0356.22 (+12.19)

[!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 and
Perez, Naiara and
Etxaniz, Julen and
Fernandez de Landa, Joseba and
Aldabe, Itziar and
Garc{\'i}a-Ferrero, Iker and
Zabala, Aimar and
Azurmendi, Ekhi and
Rigau, German and
Agirre, Eneko and
Artetxe, Mikel and
Soroa, Aitor",
editor = "Christodoulopoulos, Christos and
Chakraborty, Tanmoy and
Rose, Carolyn and
Peng, 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

HiTZ

Model tree

Base

Qwen/Qwen3.5-2B

Fine-tuned

this model

Modalities

Input

Video, Text, Image

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today