Views
No views yet
1import torch
2from transformers import AutoTokenizer
3from huggingface_hub import hf_hub_download
4
5# Load tokenizer
6tokenizer = AutoTokenizer.from_pretrained("mrehank209/bk-classification-bart-two-stage")
7
8# Load model components (see repository for full inference code)
9# This model requires custom loading due to the classifier head1@misc{bk-classification-bart,
2 title={Automatic BK Classification using Two-Stage BART Fine-tuning},
3 author={Khalid, M. Rehan},
4 year={2025},
5 howpublished={Hugging Face Model Hub},
6 url={https://huggingface.co/mrehank209/bk-classification-bart-two-stage}
7}