How to use alusci/distilbert-smsafe with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alusci/distilbert-smsafe")
# Load model directly from transformers import AutoTokenizer, WeightedLossBERT tokenizer = AutoTokenizer.from_pretrained("alusci/distilbert-smsafe") model = WeightedLossBERT.from_pretrained("alusci/distilbert-smsafe")
The community tab is the place to discuss and collaborate with the HF community!