google-research-datasets/xsum_factuality
Updated • 174 • 6
How to use ernlavr/distilbert-base-uncased-xsum-factuality with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ernlavr/distilbert-base-uncased-xsum-factuality") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ernlavr/distilbert-base-uncased-xsum-factuality")
model = AutoModelForSequenceClassification.from_pretrained("ernlavr/distilbert-base-uncased-xsum-factuality")This model is a fine-tuned version of distilbert-base-uncased on the XSum-Factuality dataset. You can view more implementation details as part of this GitHub repository. It achieves the following results on the evaluation set:
View the full run on Weights & Biases
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.6904 | 6.93 | 1040 | 0.6850 | 0.6332 | 0.6212 | 0.6526 | 0.6332 |
Base model
distilbert/distilbert-base-uncased