How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("fill-mask", model="ClassCat/roberta-base-spanish")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("ClassCat/roberta-base-spanish")
model = AutoModelForMaskedLM.from_pretrained("ClassCat/roberta-base-spanish")
Quick Links

RoBERTa Spanish base model (Uncased)

Prerequisites

transformers==4.19.2

Model architecture

This model uses RoBERTa base setttings except vocabulary size.

Tokenizer

Using BPE tokenizer with vocabulary size 50,000.

Training Data

  • wiki40b/es (Spanish Wikipedia)
  • Subset of CC-100/es : Monolingual Datasets from Web Crawl Data

Usage

from transformers import pipeline

unmasker = pipeline('fill-mask', model='ClassCat/roberta-base-spanish')
unmasker("Yo soy <mask>.")
Downloads last month
10
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train ClassCat/roberta-base-spanish

Space using ClassCat/roberta-base-spanish 1