Run this model with HF Jobs

Run Setpember/ctrate-bert-small_lora_r32_epsilon01 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Setpember/ctrate-bert-small_lora_r32_epsilon01. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Setpember/ctrate-bert-small_lora_r32_epsilon01 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

ctrate-bert-small_lora_r32_epsilon01

A LoRA adapter for BERT-small that classifies 18 abnormalities from chest CT radiology reports (CT-RATE). It was fine-tuned with differentially private LoRA (DP-LoRA).

Base model prajjwal1/bert-small
Task Multi-label classification, 18 labels
Data CT-RATE radiology reports
LoRA rank 32
Privacy Differential privacy, ε = 0.1
Paper Learning to Diagnose Privately: DP-Powered LLMs for Radiology Report Classification (IEEE Access, 2026)

This is one run in a sweep over model size, LoRA rank (1, 32, 64, 128), and privacy budget ε.

How to load

from transformers import AutoModelForSequenceClassification, AutoTokenizer
from peft import PeftModel

base = AutoModelForSequenceClassification.from_pretrained(
    "prajjwal1/bert-small", num_labels=18, problem_type="multi_label_classification"
)
model = PeftModel.from_pretrained(base, "Setpember/ctrate-bert-small_lora_r32_epsilon01")
tokenizer = AutoTokenizer.from_pretrained("prajjwal1/bert-small")

Intended use

Research on privacy-preserving fine-tuning only. Not for clinical use.

The license follows the CT-RATE data license (CC BY-NC-SA 4.0).

Author

Fengwei Tian, University of Arizona (GitHub)

Downloads last month
15
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Setpember/ctrate-bert-small_lora_r32_epsilon01

Adapter
(16)
this model

Dataset used to train Setpember/ctrate-bert-small_lora_r32_epsilon01

Paper for Setpember/ctrate-bert-small_lora_r32_epsilon01