CoolFace
Modelpublic

cglez/gpt2-dapt-imdb

sourceHugging Facemitupdated 11mo agoView on Hugging Face
0likes15downloads
Model Card

Model Card: GPT-2-DAPT-IMDb

A domain-adapted GPT-2, further pre-trained on the IMDb dataset text.

Model Details

Description

This model is based on the GPT-2 architecture and was further pre-trained (domain-adapted) using the text in IMDb dataset, excluding its test split.

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
53515epoch-5step-3515
107031epoch-10step-7031
2014063epoch-20step-14063
3021095epoch-30step-21095
4028126epoch-40step-28126
5035150epoch-50step-35150
6042182epoch-60step-42182
7049214epoch-70step-49214
8056240epoch-80step-56240

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

python
from transformers import AutoModelForCausalLM

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.

Preprocessing [optional]

[More Information Needed]

Training Hyperparameters
  • Precision: fp16
  • Batch size: 8
  • Gradient accumulation steps: 12

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 A100 PCIE 40GB
  • Runtime: 10 h
  • Cluster Provider: Artemisa
  • Compute Region: EU
  • Carbon Emitted: 1.55 kg CO2 eq.

Citation

BibTeX:

[More Information Needed]