Downloads · 30 days
12
24% of all-time downloads
ashaduzzaman/distilroberta-finetuned-eli5
distilroberta-finetuned-eli5 is a fill-mask model from ashaduzzaman. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
12
24% of all-time downloads
All-time downloads
49
Public
Parameters
82.2M
5.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors329 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of distilroberta-base, optimized for the ELI5 (Explain Like I'm Five) task. It has been trained on the eli5_category dataset to handle masked language modeling specifically within the context of question answering and explanations.
DistilRoBERTa is a smaller, faster, and lighter version of the RoBERTa model, designed to retain a good balance between efficiency and performance. This fine-tuned model adapts DistilRoBERTa to the ELI5 task, which involves understanding complex topics and providing simplified, easy-to-understand explanations. The model has been fine-tuned using masked language modeling objectives, making it suitable for tasks requiring contextual understanding and natural language generation.
eli5_category dataset, which contains question-answer pairs and explanatory text sourced from the ELI5 subreddit and other similar data. This dataset focuses on providing simplified explanations for various topics, making it suitable for the ELI5 task.| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.2493 | 1.0 | 1332 | 2.0661 |
| 2.1761 | 2.0 | 2664 | 2.0300 |
| 2.1281 | 3.0 | 3996 | 2.0227 |
You can use this model in a Hugging Face pipeline for fill-mask tasks:
from transformers import pipeline
fill_mask = pipeline(
"fill-mask", model="ashaduzzaman/distilroberta-finetuned-eli5"
)
# Example usage
text = "The quick brown <mask> jumps over the lazy dog."
fill_mask(text, top_k=3)
This model was developed using the Hugging Face Transformers library and fine-tuned using the eli5_category dataset. Special thanks to the contributors of the ELI5 subreddit for providing a rich source of explanatory content.