Transformers How to use gaurv007/clauseguard-legal-bert with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="gaurv007/clauseguard-legal-bert") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("gaurv007/clauseguard-legal-bert")
model = AutoModelForSequenceClassification.from_pretrained("gaurv007/clauseguard-legal-bert")