CoolFace
Modelpublic

cglez/gpt2-dapt-ohsumed

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

Model Card: GPT-2-DAPT-Ohsumed

A domain-adapted GPT-2, further pre-trained on the Ohsumed 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 Ohsumed 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
197epoch-1step-97
5489epoch-5step-489
10978epoch-10step-978
201956epoch-20step-1956
403913epoch-40step-3913
605870epoch-60step-5870
807826epoch-80step-7826
1009783epoch-100step-9783
12011740epoch-120step-11740
14013696epoch-140step-13696
16015653epoch-160step-15653
18017610epoch-180step-17610
19819400epoch-198step-19400

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

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: 35 h
  • Cluster Provider: Artemisa
  • Compute Region: EU
  • Carbon Emitted: 5.42 kg CO2 eq.

Citation

BibTeX:

[More Information Needed]