446 MB
9 files
Updated 3 months ago
Name
Size
.gitattributes690 Bytes
xet
README.md990 Bytes
xet
config.json520 Bytes
xet
dict.txt434 kB
xet
pytorch_model.bin443 MB
xet
sentencepiece.bpe.model800 kB
xet
special_tokens_map.json298 Bytes
xet
tokenizer.json1.65 MB
xet
tokenizer_config.json506 Bytes
xet
README.md

Usage

Load in transformers library with:

from transformers import AutoTokenizer, AutoModelForMaskedLM
  
  tokenizer = AutoTokenizer.from_pretrained("EMBEDDIA/sloberta")
  model = AutoModelForMaskedLM.from_pretrained("EMBEDDIA/sloberta")

SloBERTa

SloBERTa model is a monolingual Slovene BERT-like model. It is closely related to French Camembert model https://camembert-model.fr/. The corpora used for training the model have 3.47 billion tokens in total. The subword vocabulary contains 32,000 tokens. The scripts and programs used for data preparation and training the model are available on https://github.com/clarinsi/Slovene-BERT-Tool

SloBERTa was trained for 200,000 iterations or about 98 epochs.

Corpora

The following corpora were used for training the model:

  • Gigafida 2.0
  • Kas 1.0
  • Janes 1.0 (only Janes-news, Janes-forum, Janes-blog, Janes-wiki subcorpora)
  • Slovenian parliamentary corpus siParl 2.0
  • slWaC
Total size
446 MB
Files
9
Last updated
Jun 5
Pre-warmed CDN
US EU US EU

Contributors