ibrahimhamamci/CT-RATE
Preview • Updated • 174k • 455
Run Setpember/ctrate-bert-small_lora_r1_epsilon10 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:
Use HF Jobs to fine-tune https://huggingface.co/Setpember/ctrate-bert-small_lora_r1_epsilon10. 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.
Use HF Jobs to run batch inference with https://huggingface.co/Setpember/ctrate-bert-small_lora_r1_epsilon10 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.
How to use Setpember/ctrate-bert-small_lora_r1_epsilon10 with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("prajjwal1/bert-small")
model = PeftModel.from_pretrained(base_model, "Setpember/ctrate-bert-small_lora_r1_epsilon10")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 | 1 |
| Privacy | Differential privacy, ε = 10 |
| 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 ε.
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_r1_epsilon10")
tokenizer = AutoTokenizer.from_pretrained("prajjwal1/bert-small")
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).
Fengwei Tian, University of Arizona (GitHub)
Base model
prajjwal1/bert-small