Model Card: BERT-WikiToxic
An in-domain BERT-base model, pre-trained from scratch on the WikiToxic dataset text.
Model Details
Description
This model is based on the BERT base (uncased) architecture and was pre-trained from scratch (in-domain) using the text in WikiToxic dataset, excluding its test split. Only the masked language modeling (MLM) objective was used during pre-training.
- Developed by: Cesar Gonzalez-Gutierrez
- Funded by: ERC
- Architecture: BERT-base
- Language: English
- License: Apache 2.0
- Base model: BERT base model (uncased)
Checkpoints
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 | 1496 | epoch-1 | step-1496 |
| 5 | 7480 | epoch-5 | step-7480 |
| 10 | 14960 | epoch-10 | step-14960 |
| 20 | 29920 | epoch-20 | step-29920 |
| 30 | 44880 | epoch-30 | step-44880 |
| 40 | 59840 | epoch-40 | step-59840 |
| 50 | 74800 | epoch-50 | step-74800 |
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>")
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]
- Downloads last month
- 1
Model tree for cglez/bert-wiki_toxic-uncased
Base model
google-bert/bert-base-uncased