CoolFace
Modelpublic

cglez/bert-dapt-imdb-uncased

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

Model Card: BERT-DAPT-IMDb

A domain-adapted BERT-base model, further pre-trained on the IMDb 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 IMDb 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
1703epoch-1step-703
53516epoch-5step-3516
107033epoch-10step-7033
2014066epoch-20step-14066
3021100epoch-30step-21100
4028133epoch-40step-28133
5035166epoch-50step-35166
6042200epoch-60step-42200
7049233epoch-70step-49233
8056240epoch-80step-56240

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 IMDb 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
  • —Runtime: 22 h
  • —Cluster Provider: Artemisa
  • —Compute Region: EU
  • —Carbon Emitted: 4.09 kg CO2 eq.

Citation

BibTeX:

[More Information Needed]