CoolFace
Modelpublic

cglez/bert-base-uncased-ft-trec

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes45downloads
Model Card

BERT Fine-Tuned on TREC

A fine-tuned BERT model using the TREC dataset with coarse-grained labels.

Model Details

Description

This model is based on the BERT base (uncased) architecture and has been fine-tuned on the TREC dataset using coarse-grained labels.

Seed Initializations

Alternative models trained using different initialization seeds are available and can be accessed using specific branches:

Random SeedBranch
120seed-120
220seed-220
320seed-320
420seed-420
520seed-520

To load a model from a specific branch, use the revision parameter:

python
from transformers import AutoModelForSequenceClassification

model = AutoModelForSequenceClassification.from_pretrained("<model>", revision="seed-120")

Sources

[Information pending]

Training Details

Fine-tuning was performed end-to-end using a grid search over key hyperparameters. Model performance was evaluated based on validation loss computed on the development set. After identifying the optimal hyperparameter configuration, the final model was retrained on the entire training dataset.

Training Data

The model was trained on the TREC training partition using coarse-grained labels, with validation performed on a random 20% split of the training data.

Training Hyperparameters
  • —Epochs: 1-4
  • —Batch size: {16, 32}
  • —Learning rate: {5e-5, 3e-5, 2e-5}
  • —Validation metric: loss
  • —Precision: fp16

Uses

This model can be used for classification tasks aligned with the structure and intent of the TREC dataset.

For broader guidance, refer to the BERT base model’s Inteded Uses & Limitations.

Bias, Risks, and Limitations

This model inherits the potential risks and limitations of its base model. For more details, refer to the Limitations and bias section of the original model documentation.

Additionally, it may reflect or amplify patterns and biases present in the TREC training data.

Hardware

  • —Hardware Type: NVIDIA Tesla V100 PCIE 32GB
  • —Cluster Provider: Artemisa
  • —Compute Region: EU

Citation

If you use this model in your research, please cite both the base BERT model and the TREC dataset.