CoolFace
Modelpublic

cglez/bert-trec-uncased

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

Model Card: BERT-TREC

An in-domain BERT-base model, pre-trained from scratch on the TREC 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 TREC dataset, excluding its test split. Only the masked language modeling (MLM) objective was used during pre-training.

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
151epoch-1step-51
5256epoch-5step-256
10513epoch-10step-513
201026epoch-20step-1026
402053epoch-40step-2053
603080epoch-60step-3080
804106epoch-80step-4106
1005133epoch-100step-5133
1206160epoch-120step-6160
1407186epoch-140step-7186
1608213epoch-160step-8213
1809240epoch-180step-9240
19910200epoch-199step-10200

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

Citation

BibTeX:

[More Information Needed]