Downloads · 30 days
15
32% of all-time downloads
HPLT/hplt-2.0-eus_Latn-llama-2b-30bt
hplt-2.0-eus_Latn-llama-2b-30bt is a machine learning model from HPLT. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
<img src="https://hplt-project.org/next/static/media/logo-hplt.d5e16ca5.svg" width=12.5%
Downloads · 30 days
15
32% of all-time downloads
All-time downloads
47
Public
Parameters
2.1B
17.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.3 GB · 99%
From the Hugging Face model README
The HPLT's Llama-2b collection comprises monolingual decoder-only language models pretrained by the HPLT team as part of the third release.
The models are released as artifacts of our ablation studies on evaluating different corpora and sampling strategies across multiple languages:
Please find more details in our GitHub repository and pre-print.
All models follow the Llama architecture with 24 layers, 32 attention heads, and a sequence length of 2048. The tokenizer is Gemma-3 with the vocabulary size of 262K tokens.
This model is pretrained on 30B tokens from HPLT 2.0 from scratch. For lower-resource languages with less than 30B tokens of available data, datasets are uniformly upsampled (repeated) following Muennighoff et al. (2023). Pretraining is run using the Megatron-LM framework on the LUMI supercomputer, employing 16 AMD MI250x nodes.
Intended Use Cases: The model is intended for research use in Basque and reproducibility purposes. Since this model is only pretrained, its performance can be potentially improved in a variety of natural language understanding and generation tasks using post-training data.
Out of Scope: Model usage in languages beyond the explicitly referenced as supported in this model card.
This repository contains the following intermediate checkpoints due to limited quota resources:
1B10B20BmainThe other checkpoints can be provided upon request.
You can run the inference using the Transformers pipeline abstraction or by leveraging the Auto classes with the generate() function.
import torch
from transformers import pipeline
pipe = pipeline(
"text-generation",
model="HPLT/hplt-2.0-eus_Latn-llama-2b-30bt",
torch_dtype=torch.bfloat16,
device_map="auto"
)
Specific intermediate checkpoint can be accessed using the revision argument when loading the model.
from transformers import AutoModelForCausalLM
import torch
revision = "10B"
model = AutoModelForCausalLM.from_pretrained(
"HPLT/hplt-2.0-eus_Latn-llama-2b-30bt",
torch_dtype=torch.bfloat16,
revision=revision,
device_map="auto"
)
@article{oepen2025hplt,
title={HPLT\~{} 3.0: Very Large-Scale Multilingual Resources for LLM and MT. Mono-and Bi-lingual Data, Multilingual Evaluation, and Pre-Trained Models},
author={Oepen, Stephan and Arefev, Nikolay and Aulamo, Mikko and Ba{\~n}{\'o}n, Marta and Buljan, Maja and Burchell, Laurie and Charpentier, Lucas and Chen, Pinzhen and Fedorova, Mariya and de Gibert, Ona and others},
journal={arXiv preprint arXiv:2511.01066},
year={2025}
}