DictaBERT-large-char: A Character-Level BERT-Large model for Hebrew.
DictaBERT-large-char is a BERT-style language model for Hebrew, based on the BERT-Large architecture with a character level tokenizer.
This model is a BERT-Large adaptation of our BERT-Base Hebrew Character model (
https://huggingface.co/dicta-il/dictabert-char
), released in our 2025 W-NUT paper: Avi Shmidman and Shaltiel Shmidman, "Restoring Missing Spaces in Scraped Hebrew Social Media", The 10th Workshop on Noisy and User-generated Text (W-NUT), 2025
The model is pretrained with the masked-language-modeling objective, on a character basis. For a fine-tuned version of this model which is trained to produce Hebrew diacritization (nikud), see:
https://huggingface.co/dicta-il/dictabert-large-char-menaked
Sample usage:
from transformers import AutoModelForMaskedLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained('dicta-il/dictabert-large-char')
model = AutoModelForMaskedLM.from_pretrained('dicta-il/dictabert-large-char')
model.eval()
sentence = 'בשנת 1948 השלים אפרים קישון את מחקרו בפיסול מתכת וב[MASK]ולדות האמנות והחל לפרסם מאמרים הומוריסטיים'
output = model(tokenizer.encode(sentence, return_tensors='pt'))
# the [MASK] is the 52nd token (including [CLS])import torch
top_arg = torch.argmax(output.logits[0, 52, :])
print(tokenizer.convert_ids_to_tokens([top_arg])) # should print ['ת']
Citation
If you use DictaBERT-char in your research, please cite
Restoring Missing Spaces in Scraped Hebrew Social Media
BibTeX:
@inproceedings{shmidman2025restoring,
author = {Avi Shmidman and Shaltiel Shmidman},
title = {Restoring Missing Spaces in Scraped Hebrew Social Media},
booktitle = {The 10th Workshop on Noisy and User-generated Text (W-NUT)},
year = {2025}
}
dictabert-large-char huggingface.co is an AI model on huggingface.co that provides dictabert-large-char's model effect (), which can be used instantly with this dicta-il dictabert-large-char model. huggingface.co supports a free trial of the dictabert-large-char model, and also provides paid use of the dictabert-large-char. Support call dictabert-large-char model through api, including Node.js, Python, http.
dictabert-large-char huggingface.co is an online trial and call api platform, which integrates dictabert-large-char's modeling effects, including api services, and provides a free online trial of dictabert-large-char, you can try dictabert-large-char online for free by clicking the link below.
dicta-il dictabert-large-char online free url in huggingface.co:
dictabert-large-char is an open source model from GitHub that offers a free installation service, and any user can find dictabert-large-char on GitHub to install. At the same time, huggingface.co provides the effect of dictabert-large-char install, users can directly use dictabert-large-char installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
dictabert-large-char install url in huggingface.co: