Downloads · 30 days
5
25% of all-time downloads
mrehank209/bk-classification-bart-two-stage
bk-classification-bart-two-stage is a text classification model from mrehank209. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This model performs automatic classification of German bibliographic records using BK (Basisklassifikation) codes.
Downloads · 30 days
5
25% of all-time downloads
All-time downloads
20
Public
Repo size
1.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 99%
From the Hugging Face model README
This model performs automatic classification of German bibliographic records using BK (Basisklassifikation) codes.
This is a two-stage fine-tuned BART-large model for multi-label classification of bibliographic metadata into BK classification codes. The model achieved state-of-the-art performance on the K10plus library catalog dataset.
The model uses a two-stage fine-tuning approach:
This approach outperformed both standard fine-tuning and hierarchical joint training.
import torch
from transformers import AutoTokenizer
from huggingface_hub import hf_hub_download
# Load tokenizer
tokenizer = AutoTokenizer.from_pretrained("mrehank209/bk-classification-bart-two-stage")
# Load model components (see repository for full inference code)
# This model requires custom loading due to the classifier head
If you use this model, please cite:
@misc{bk-classification-bart,
title={Automatic BK Classification using Two-Stage BART Fine-tuning},
author={Khalid, M. Rehan},
year={2025},
howpublished={Hugging Face Model Hub},
url={https://huggingface.co/mrehank209/bk-classification-bart-two-stage}
}
MIT License