0x7o/ad_detector
Viewer • Updated • 4.16k • 10
How to use 0x7o/roberta-base-ad-detector with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="0x7o/roberta-base-ad-detector") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("0x7o/roberta-base-ad-detector")
model = AutoModelForSequenceClassification.from_pretrained("0x7o/roberta-base-ad-detector")This model is a fine-tuned version of roberta-base on an ad_detector dataset. It achieves the following results on the evaluation set:
More information needed
The following hyperparameters were used during training: