You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

DeBERTa Secret Detection Model

This model detects secrets in git diff lines.

Model Details

  • Base Model: microsoft/deberta-base
  • Task: Binary sequence classification
  • Labels:
    • LABEL_0: Normal
    • LABEL_1: Secret

Training

  • Loss: Weighted cross-entropy
  • Metric for best model: F1
  • BF16 training
  • Gradient checkpointing enabled

Usage

from transformers import pipeline

classifier = pipeline(
    "text-classification",
    model="hypn05/secret-detector-deberta-base"
)

classifier("+ password='secret123'")

Intended Use

Production secret detection in git diffs.

Downloads last month
18
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hypn05/secret-detector-deberta-base

Finetuned
(530)
this model