GroNLP/dutch-cola
Viewer โข Updated โข 24.7k โข 83 โข 6
How to use WideMan/robbert_dutch-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="WideMan/robbert_dutch-cola") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("WideMan/robbert_dutch-cola")
model = AutoModelForSequenceClassification.from_pretrained("WideMan/robbert_dutch-cola", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("WideMan/robbert_dutch-cola")
model = AutoModelForSequenceClassification.from_pretrained("WideMan/robbert_dutch-cola", device_map="auto")This model is a fine-tuned version of pdelobelle/robbert-v2-dutch-base on GroNLP/dutch-cola. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="WideMan/robbert_dutch-cola")