Instructions to use domenicrosati/bert-finetuning-ctf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use domenicrosati/bert-finetuning-ctf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="domenicrosati/bert-finetuning-ctf")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("domenicrosati/bert-finetuning-ctf") model = AutoModelForSequenceClassification.from_pretrained("domenicrosati/bert-finetuning-ctf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Can you close the BERT fine-tuning gap?
Fine-tune the defended BERT to classify DBpedia articles into 14 topics. The flag is 80% held-out accuracy with at most 784 fresh labeled articles on average across the eight challenge draws. Submit a reproducible full-weight or LoRA fine-tuning recipe and its eight learning curves. Challenge code, rules and submissions
| Initial weights | Mean samples to 80% | Relative cost |
|---|---|---|
| Baseline | 784 | 1.00× |
| Defended | 10,000 | 12.76× |
These are measured first crossings under three reference full-weight AdamW recipes. Within each draw, the score takes the earliest crossing among the recipes at checkpoints spaced 128 training articles apart. Each draw has 2,048 held-out articles. The smallest paired delay was 10.43×. A better fine-tuner can lower the score.
The root contains the defended checkpoint. The baseline/ subfolder contains the original challenge baseline with its exact classifier initialization. Use the baseline only for the reference run. Both use a standard two-block uncased BERT and the same tokenizer. The challenge repository supplies the historical preprocessing and draw manifest.
The models derive from Google's BERT Miniatures by Iulia Turc, Ming-Wei Chang, Kenton Lee and Kristina Toutanova, with a 14-way classifier and modified weights for this release. Base model · DBpedia 14 dataset
Checkpoint integrity
| File | SHA-256 |
|---|---|
model.safetensors |
96bbbd86e693465eed5e6ca4a8e0404ae0c724f080695f679b201fa6b7c098ca |
baseline/model.safetensors |
fb7d03a0a609aecb84c6de379caf9bf5bf7f534c6518fbbd6ec43733f51e486c |
- Downloads last month
- 17
Model tree for domenicrosati/bert-finetuning-ctf
Base model
google/bert_uncased_L-2_H-128_A-2