d4br4/agb-de
Viewer • Updated • 3.76k • 89 • 3
How to use d4br4/AGBert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="d4br4/AGBert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("d4br4/AGBert")
model = AutoModelForSequenceClassification.from_pretrained("d4br4/AGBert")