GroNLP/dutch-cola
Viewer • Updated • 24.7k • 149 • 6
How to use WideMan/gpt2-medium-dutch_dutch-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="WideMan/gpt2-medium-dutch_dutch-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("WideMan/gpt2-medium-dutch_dutch-cola")
model = AutoModelForSequenceClassification.from_pretrained("WideMan/gpt2-medium-dutch_dutch-cola")This model is a fine-tuned version of yhavinga/gpt2-medium-dutch on GroNLP/dutch-cola. It achieves the following results on the evaluation set:
The following hyperparameters were used during training: