How to use davanstrien/ModernBERT-based-Reasoning-Required with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="davanstrien/ModernBERT-based-Reasoning-Required")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("davanstrien/ModernBERT-based-Reasoning-Required") model = AutoModelForSequenceClassification.from_pretrained("davanstrien/ModernBERT-based-Reasoning-Required")
Hello, is it possible for you to share the training notebook. Thanks! π€
@selimc here is the notebook. It's very rough, but hopefully it's still helpful! Didn't do anything very special with the training, so I'm sure it's possible to get a much better model!
Β· Sign up or log in to comment