Instructions to use jmaccoby/redact-leak-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jmaccoby/redact-leak-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jmaccoby/redact-leak-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jmaccoby/redact-leak-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add model card
#1
by nielsr HF Staff - opened
This PR adds a model card for the REDaCT leak detector, linking to the paper REDaCT: Collapse-Free Unlearning in Large Reasoning Models and the code repository, while adding the appropriate metadata: pipeline_tag, library_name, and license.
jmaccoby changed pull request status to merged