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="GroNLP/bert-base-dutch-cased-frisian")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("GroNLP/bert-base-dutch-cased-frisian")
model = AutoModelForMaskedLM.from_pretrained("GroNLP/bert-base-dutch-cased-frisian", device_map="auto")
Quick Links

Wietse de Vries β€’ Martijn Bartelds β€’ Malvina Nissim β€’ Martijn Wieling

Adapting Monolingual Models: Data can be Scarce when Language Similarity is High

This model is part of this paper + code:

Models

The best fine-tuned models for Gronings and West Frisian are available on the HuggingFace model hub:

Lexical layers

These models are identical to BERTje, but with different lexical layers (bert.embeddings.word_embeddings).

POS tagging

These models share the same fine-tuned Transformer layers + classification head, but with the retrained lexical layers from the models above.

Downloads last month
63
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using GroNLP/bert-base-dutch-cased-frisian 1

Paper for GroNLP/bert-base-dutch-cased-frisian