Downloads · 30 days
23
7% of all-time downloads
Matej/bert-small-buddhist-nonbuddhist-sanskrit
bert-small-buddhist-nonbuddhist-sanskrit is a fill-mask model from Matej. Use it when you need the model to fill a missing word. It is set up for transformers.
BERT model trained on a lemmatized corpus containing Buddhist and non-Buddhist Sanskrit texts.
Downloads · 30 days
23
7% of all-time downloads
All-time downloads
341
Public
Repo size
521 MB
Likes
0
Public
Click a slice to open those files.
.bin260 MB · 100%
From the Hugging Face model README
BERT model trained on a lemmatized corpus containing Buddhist and non-Buddhist Sanskrit texts.
The model has the bert architecture and was pretrained from scratch as a masked language model on the lemmatized Sanskrit corpus. Due to lack of resources and to prevent overfitting, the model is smaller than bert-base, i.e. the number of attention heads and hidden layers have been reduced to 8 and the context has been reduced to 128 tokens. Vocabulary size is 10000 tokens.
model = AutoModelForMaskedLM.from_pretrained("Matej/bert-small-buddhist-nonbuddhist-sanskrit")
tokenizer = AutoTokenizer.from_pretrained("Matej/bert-small-buddhist-nonbuddhist-sanskrit", use_fast=True)
MIT license, no limitations
See the paper 'Embeddings models for Buddhist Sanskrit' for details on the corpora and the evaluation procedure.
The following hyperparameters were used during training: