Downloads · 30 days
19
100% of all-time downloads
rafmacalaba/gliner-datause-catchall-singlepass
gliner-datause-catchall-singlepass is a token classification model from rafmacalaba. Use it when you need labels on individual words, such as names. It is set up for gliner. The card lists the license as apache-2.0.
Single-pass catch-all cascade in one bundle: the rafmacalaba/gliner-datause-mentions-catch-all encoder (frozen, byte-identical) plus an inference-native probe head (probehead.pt, trained by outputs/gliner-datause-catc…
Downloads · 30 days
19
100% of all-time downloads
All-time downloads
19
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.bin1.8 GB · 99%
From the Hugging Face model README
Single-pass catch-all cascade in one bundle: the rafmacalaba/gliner-datause-mentions-catch-all encoder (frozen, byte-identical) plus an inference-native probe head (probe_head.pt, trained by outputs/gliner-datause-catchall-infer-probe with --feature-source infer). One forward per doc yields proposals (GLiNER DATA_MENTION @ 0.1) and keep/drop (probe_score) together — see training/singlepass_infer.py.
| origin | thr | f1 |
|---|---|---|
fcv_pads_east_africa | 0.5 | 0.8046 |
general_prwp | 0.4 | 0.8796 |
jad_paddy_docs | 0.1 | 0.9693 |
jdc_operational | 0.6 | 0.8019 |
refugee_pads | 0.5 | 0.8387 |
reliefweb | 0.4 | 0.7738 |
from training.singlepass_infer import load_bundle, predict_keep_drop
model, head, bundle = load_bundle('rafmacalaba/gliner-datause-catchall-singlepass', 'rafmacalaba/gliner-datause-catchall-singlepass', 'cuda')
rows = predict_keep_drop(texts, model, head, bundle,
propose_thr=0.1, keep_thr=0.3)
Files: pytorch_model.bin + gliner_config.json (encoder),
probe_head.pt + head_config.json (head), thresholds.json
(operating points), holdout_metrics.json (sweep).