PII-Redact-General-oQ4

This model was quantized using oQ (oMLX v0.7.0) mixed-precision quantization.

Quantization details

  • Model type: llama
  • Bits: 4
  • Group size: 64
  • Format: MLX safetensors

Quantization of OpenPipe/PII-Redact-General (oQ4).

Usage

This quant is meant to be served by oMLX and driven through the PII-redaction fork, which pairs it with the Name model and handles tagging, redaction, and fake-data replacement:

https://github.com/gwyntel-git/pii-redact-mlx

pip install "git+https://github.com/gwyntel-git/pii-redact-mlx"

# list the models an oMLX server is serving
pii-redact list-models --omlx-url http://localhost:27473/v1

# redact a trace/JSONL file
pii-redact convert-traces input.jsonl output.jsonl \
  --backend omlx --omlx-url http://localhost:27473/v1 --auto-max-tokens

The fork also provides a transformers/torch backend, concurrent inference, and a labelled validation harness. Validated on an 18-document labelled set: recall matches the full-precision model, F1 0.816 vs 0.833 (precision 0.870 vs 0.909).

Downloads last month
57
Safetensors
Model size
1B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for gwyntel/PII-Redact-General-oQ4

Quantized
(2)
this model