Downloads · 30 days
6
2% of all-time downloads
timkmecl/sloberta-esnli-sinli
sloberta-esnli-sinli is a text classification model from timkmecl. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as gpl-3.0.
SloBERTa model, fine-tuned for natural language inference first on 50,000 samples from ESNLI dataset, machine translated to Slovene; then fine-tuned on Slovene dataset SI-NLI.
Downloads · 30 days
6
2% of all-time downloads
All-time downloads
318
Public
Repo size
886 MB
Likes
0
Public
Click a slice to open those files.
.bin443 MB · 99%
From the Hugging Face model README
SloBERTa model, fine-tuned for natural language inference first on 50,000 samples from ESNLI dataset, machine translated to Slovene; then fine-tuned on Slovene dataset SI-NLI.
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("timkmecl/sloberta-esnli-sinli")
model = AutoModelForMaskedLM.from_pretrained("timkmecl/sloberta-esnli-sinli")
Expected inputs are of the form
Premisa: {premise}
Hipoteza: {hypothesis}
with strings {premise} and {hypothesis} being replaced with premise and hypothesis in Slovene.
Class 0 is entailment, class 1 neutral and 2 contradiction.