Downloads · 30 days
9
19% of all-time downloads
udmurtNLP/zerpal-glot500
zerpal-glot500 is a fill-mask model from udmurtNLP. Use it when you need the model to fill a missing word. It is set up for transformers.
You can use this model directly with a pipeline for masked language modeling:
Downloads · 30 days
9
19% of all-time downloads
All-time downloads
47
Public
Parameters
395M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
From the Hugging Face model README
You can use this model directly with a pipeline for masked language modeling:
from transformers import pipeline
unmasker = pipeline('fill-mask', model='udmurtNLP/zerpal-glot500', tokenizer='cis-lmu/glot500-base')
unmasker("Ӟечбур! Мынам нимы <mask>.")
Here is how to use this model to get the features of a given text in PyTorch:
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained('cis-lmu/glot500-base')
model = AutoModelForMaskedLM.from_pretrained("udmurtNLP/zerpal-glot500")
text = "Яратон, яратон, мар меда сыӵе тон?"
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)