CoolFace
Modelpublic

cglez/bert-dapt-wiki_toxic-uncased

sourceHugging Faceapache-2.0updated 11mo agoView on Hugging Face
0likes15downloads
Model Card

Model Card: BERT-DAPT-WikiToxic

A domain-adapted BERT-base model, further pre-trained on the WikiToxic dataset text.

Model Details

Description

This model is based on the BERT base (uncased) architecture and was further pre-trained (domain-adapted) using the text in WikiToxic 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
11496epoch-1step-1496
57480epoch-5step-7480
1014960epoch-10step-14960
2029920epoch-20step-29920
3044880epoch-30step-44880
4059840epoch-40step-59840
5074800epoch-50step-74800

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 WikiToxic dataset, excluding the test partition.

Preprocessing

All markup and symbols were removed from the texts, including punctuation.

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]