CoolFace
Modelpublic

cglez/bert-dapt-ag_news

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes19downloads
Model Card

Model Card: BERT-DAPT-AG-News

A domain-adapted BERT-base model, further pre-trained on the AG-News dataset texts.

Model Details

Description

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.

Checkpoints

Intermediate checkpoints from the pre-training process are available and can be accessed using specific tags, which correspond to training epochs and steps:

EpochStepTags
11125epoch-1step-1125
55625epoch-5step-5625
1011250epoch-10step-11250
2022500epoch-20step-22500
3033750epoch-30step-33750
4045000epoch-40step-45000
5056250epoch-50step-56250
6067500epoch-60step-67500
7078750epoch-70step-78750
8090000epoch-80step-90000
90101250epoch-90step-101250
100112500epoch-100step-112500

To load a model from a specific intermediate checkpoint, use the revision parameter with the corresponding tag:

python
from transformers import AutoModelForMaskedLM

model = AutoModelForMaskedLM.from_pretrained("<model-name>", revision="<checkpoint-tag>")

Sources

  • —Paper: [Information pending]

Training Details

For more details on the training procedure, please refer to the base model's documentation: Training procedure.

Training Data

All texts from AG-News dataset, excluding the test partition.

Training Hyperparameters
  • —Precision: fp16
  • —Batch size: 32
  • —Gradient accumulation steps: 3

Uses

For typical use cases and limitations, please refer to the base model's guidance: Inteded uses & limitations.

Bias, Risks, and Limitations

This model inherits potential risks and limitations from the base model. Refer to: Limitations and bias.

Environmental Impact

  • —Hardware Type: NVIDIA Tesla V100 PCIE 32GB
  • —Cluster Provider: Artemisa
  • —Compute Region: EU

Citation

BibTeX:

[More Information Needed]