Downloads · 30 days
24
33% of all-time downloads
cglez/bert-dapt-ag_news
bert-dapt-ag_news is a fill-mask model from cglez. 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.
A domain-adapted BERT-base model, further pre-trained on the AG-News dataset texts.
Downloads · 30 days
24
33% of all-time downloads
All-time downloads
73
Public
Parameters
110M
5.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors438 MB · 100%
From the Hugging Face model README
A domain-adapted BERT-base model, further pre-trained on the AG-News dataset texts.
This model is based on the BERT base (uncased) architecture and was further pre-trained (domain-adapted) using the text in AG-News dataset, excluding its test split. Only the masked language modeling (MLM) objective was used during domain adaptation.
Intermediate checkpoints from the pre-training process are available and can be accessed using specific tags, which correspond to training epochs and steps:
| Epoch | Step | Tags | |
|---|---|---|---|
| 1 | 1125 | epoch-1 | step-1125 |
| 5 | 5625 | epoch-5 | step-5625 |
| 10 | 11250 | epoch-10 | step-11250 |
| 20 | 22500 | epoch-20 | step-22500 |
| 30 | 33750 | epoch-30 | step-33750 |
| 40 | 45000 | epoch-40 | step-45000 |
| 50 | 56250 | epoch-50 | step-56250 |
| 60 | 67500 | epoch-60 | step-67500 |
| 70 | 78750 | epoch-70 | step-78750 |
| 80 | 90000 | epoch-80 | step-90000 |
| 90 | 101250 | epoch-90 | step-101250 |
| 100 | 112500 | epoch-100 | step-112500 |
To load a model from a specific intermediate checkpoint, use the revision parameter with the corresponding tag:
from transformers import AutoModelForMaskedLM
model = AutoModelForMaskedLM.from_pretrained("<model-name>", revision="<checkpoint-tag>")
For more details on the training procedure, please refer to the base model's documentation: Training procedure.
All texts from AG-News dataset, excluding the test partition.
For typical use cases and limitations, please refer to the base model's guidance: Inteded uses & limitations.
This model inherits potential risks and limitations from the base model. Refer to: Limitations and bias.
BibTeX:
[More Information Needed]