christinacdl/clickbait_detection_dataset
Viewer • Updated • 37.9k • 185 • 3
How to use christinacdl/XLM_RoBERTa-Clickbait-Detection-new with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="christinacdl/XLM_RoBERTa-Clickbait-Detection-new") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("christinacdl/XLM_RoBERTa-Clickbait-Detection-new")
model = AutoModelForSequenceClassification.from_pretrained("christinacdl/XLM_RoBERTa-Clickbait-Detection-new", device_map="auto")This model is a fine-tuned version of xlm-roberta-large on the christinacdl/clickbait_detection_dataset dataset. It achieves the following results on the evaluation set:
It achieves the following results on the test set:
Accuracy: 0.9838922630050172
Micro-F1 Score: 0.9838922630050172
Macro-F1 Score: 0.9838416247418498
Matthews Correlation Coefficient: 0.9676867009951606
Precision of each class: [0.98156425 0.98597897]
Recall of each class: [0.98431373 0.98351648]
F1 score of each class: [0.98293706 0.98474619]
More information needed
The following hyperparameters were used during training: