HPLT / hplt_bert_base_2_0_mkd-Latn

huggingface.co
Total runs: 31
24-hour runs: 0
7-day runs: -7
30-day runs: 17
Model's Last Updated: Agosto 05 2025
fill-mask

Introduction of hplt_bert_base_2_0_mkd-Latn

Model Details of hplt_bert_base_2_0_mkd-Latn

HPLT v2.0 BERT for Macedonian

This is one of the encoder-only monolingual language models trained as a second release by the HPLT project . It is a so called masked language model. In particular, we used the modification of the classic BERT model named LTG-BERT .

We present monolingual LTG-BERT models for more than 50 languages out of 191 total in the HPLT v2.0 dataset .

All the HPLT encoder-only models use the same hyper-parameters, roughly following the BERT-base setup:

  • hidden size: 768
  • attention heads: 12
  • layers: 12
  • vocabulary size: 32768

Every model uses its own tokenizer trained on language-specific HPLT data.

The training code .

The training statistics of all runs

Example usage

This model currently needs a custom wrapper from modeling_ltgbert.py , you should therefore load the model with trust_remote_code=True .

import torch
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("HPLT/hplt_bert_base_2_0_mkd-Latn")
model = AutoModelForMaskedLM.from_pretrained("HPLT/hplt_bert_base_2_0_mkd-Latn", trust_remote_code=True)

mask_id = tokenizer.convert_tokens_to_ids("[MASK]")
input_text = tokenizer("It's a beautiful[MASK].", return_tensors="pt")
output_p = model(**input_text)
output_text = torch.where(input_text.input_ids == mask_id, output_p.logits.argmax(-1), input_text.input_ids)

# should output: '[CLS] It's a beautiful place.[SEP]'
print(tokenizer.decode(output_text[0].tolist()))

The following classes are currently implemented: AutoModel , AutoModelMaskedLM , AutoModelForSequenceClassification , AutoModelForTokenClassification , AutoModelForQuestionAnswering and AutoModeltForMultipleChoice .

Intermediate checkpoints

We are releasing 10 intermediate checkpoints for each model at intervals of every 3125 training steps in separate branches. The naming convention is stepXXX : for example, step18750 .

You can load a specific model revision with transformers using the argument revision :

model = AutoModelForMaskedLM.from_pretrained("HPLT/hplt_bert_base_2_0_mkd-Latn", revision="step21875", trust_remote_code=True)

You can access all the revisions for the models with the following code:

from huggingface_hub import list_repo_refs
out = list_repo_refs("HPLT/hplt_bert_base_2_0_mkd-Latn")
print([b.name for b in out.branches])
Cite us
@inproceedings{samuel-etal-2023-trained,
    title = "Trained on 100 million words and still in shape: {BERT} meets {B}ritish {N}ational {C}orpus",
    author = "Samuel, David  and
      Kutuzov, Andrey  and
      {\O}vrelid, Lilja  and
      Velldal, Erik",
    editor = "Vlachos, Andreas  and
      Augenstein, Isabelle",
    booktitle = "Findings of the Association for Computational Linguistics: EACL 2023",
    month = may,
    year = "2023",
    address = "Dubrovnik, Croatia",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.findings-eacl.146",
    doi = "10.18653/v1/2023.findings-eacl.146",
    pages = "1954--1974"
})
@inproceedings{de-gibert-etal-2024-new-massive,
    title = "A New Massive Multilingual Dataset for High-Performance Language Technologies",
    author = {de Gibert, Ona  and
      Nail, Graeme  and
      Arefyev, Nikolay  and
      Ba{\~n}{\'o}n, Marta  and
      van der Linde, Jelmer  and
      Ji, Shaoxiong  and
      Zaragoza-Bernabeu, Jaume  and
      Aulamo, Mikko  and
      Ram{\'\i}rez-S{\'a}nchez, Gema  and
      Kutuzov, Andrey  and
      Pyysalo, Sampo  and
      Oepen, Stephan  and
      Tiedemann, J{\"o}rg},
    editor = "Calzolari, Nicoletta  and
      Kan, Min-Yen  and
      Hoste, Veronique  and
      Lenci, Alessandro  and
      Sakti, Sakriani  and
      Xue, Nianwen",
    booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
    month = may,
    year = "2024",
    address = "Torino, Italia",
    publisher = "ELRA and ICCL",
    url = "https://aclanthology.org/2024.lrec-main.100",
    pages = "1116--1128",
    abstract = "We present the HPLT (High Performance Language Technologies) language resources, a new massive multilingual dataset including both monolingual and bilingual corpora extracted from CommonCrawl and previously unused web crawls from the Internet Archive. We describe our methods for data acquisition, management and processing of large corpora, which rely on open-source software tools and high-performance computing. Our monolingual collection focuses on low- to medium-resourced languages and covers 75 languages and a total of {\mbox{$\approx$}} 5.6 trillion word tokens de-duplicated on the document level. Our Macedonian-centric parallel corpus is derived from its monolingual counterpart and covers 18 language pairs and more than 96 million aligned sentence pairs with roughly 1.4 billion Macedonian tokens. The HPLT language resources are one of the largest open text corpora ever released, providing a great resource for language modeling and machine translation training. We publicly release the corpora, the software, and the tools used in this work.",
}

Runs of HPLT hplt_bert_base_2_0_mkd-Latn on huggingface.co

31
Total runs
0
24-hour runs
-2
3-day runs
-7
7-day runs
17
30-day runs

More Information About hplt_bert_base_2_0_mkd-Latn huggingface.co Model

More hplt_bert_base_2_0_mkd-Latn license Visit here:

https://choosealicense.com/licenses/apache-2.0

hplt_bert_base_2_0_mkd-Latn huggingface.co

hplt_bert_base_2_0_mkd-Latn huggingface.co is an AI model on huggingface.co that provides hplt_bert_base_2_0_mkd-Latn's model effect (), which can be used instantly with this HPLT hplt_bert_base_2_0_mkd-Latn model. huggingface.co supports a free trial of the hplt_bert_base_2_0_mkd-Latn model, and also provides paid use of the hplt_bert_base_2_0_mkd-Latn. Support call hplt_bert_base_2_0_mkd-Latn model through api, including Node.js, Python, http.

hplt_bert_base_2_0_mkd-Latn huggingface.co Url

https://huggingface.co/HPLT/hplt_bert_base_2_0_mkd-Latn

HPLT hplt_bert_base_2_0_mkd-Latn online free

hplt_bert_base_2_0_mkd-Latn huggingface.co is an online trial and call api platform, which integrates hplt_bert_base_2_0_mkd-Latn's modeling effects, including api services, and provides a free online trial of hplt_bert_base_2_0_mkd-Latn, you can try hplt_bert_base_2_0_mkd-Latn online for free by clicking the link below.

HPLT hplt_bert_base_2_0_mkd-Latn online free url in huggingface.co:

https://huggingface.co/HPLT/hplt_bert_base_2_0_mkd-Latn

hplt_bert_base_2_0_mkd-Latn install

hplt_bert_base_2_0_mkd-Latn is an open source model from GitHub that offers a free installation service, and any user can find hplt_bert_base_2_0_mkd-Latn on GitHub to install. At the same time, huggingface.co provides the effect of hplt_bert_base_2_0_mkd-Latn install, users can directly use hplt_bert_base_2_0_mkd-Latn installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

hplt_bert_base_2_0_mkd-Latn install url in huggingface.co:

https://huggingface.co/HPLT/hplt_bert_base_2_0_mkd-Latn

Url of hplt_bert_base_2_0_mkd-Latn

hplt_bert_base_2_0_mkd-Latn huggingface.co Url

Provider of hplt_bert_base_2_0_mkd-Latn huggingface.co

HPLT
ORGANIZATIONS

Other API from HPLT

huggingface.co

Total runs: 3.0K
Run Growth: -5.5K
Growth Rate: -181.91%
Updated:Julho 03 2026
huggingface.co

Total runs: 2.0K
Run Growth: 666
Growth Rate: 35.52%
Updated:Junho 16 2026
huggingface.co

Total runs: 296
Run Growth: 267
Growth Rate: 91.13%
Updated:Janeiro 27 2026