CoolFace
Modelpublic

cglez/bert-dapt-s140-uncased

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

Model Card: BERT-DAPT-Sentiment140

A domain-adapted BERT-base model, further pre-trained on the Sentiment140 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 Sentiment140 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
115000epoch-1step-15000
230000epoch-2step-30000
345000epoch-3step-45000
575000epoch-5step-75000
10150000epoch-10step-150000
15225000epoch-15step-225000
20300000epoch-20step-300000
25375000epoch-25step-375000

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 Sentiment140 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: 37 h
  • —Cluster Provider: Artemisa
  • —Compute Region: EU
  • —Carbon Emitted: 6.88 kg CO2 eq.

Citation

BibTeX:

[More Information Needed]