Consensus V2: larger model (bge-m3 / 1024 dims) + intent guard for same-place pairs #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
0.27.0 shipped real semantics with multilingual-e5-small (384d). Calibration on pt-BR civic pairs exposed two measured limitations that a small retrieval model cannot solve (see
crates/platform/consensus/src/model_embedder.rstests):UBSvsposto de saúde= 0.111 (threshold 0.10).ciclovia na avenida Brasilvsrecapear a avenida Brasil= 0.078 — topic/entity dominates intent. (paraphrase-multilingual-MiniLM-L12-v2 was evaluated and is worse on both.)V2 direction:
vector(384)columns of 0130 + full re-embed (embeddings are derived data; clusters with an active SLA are immutable).0.27.1 (PR #11) ships the precision-first floor for this: an auditable direction lexicon (stance.rs) + per-proposal
direction_signature(0517) + merge veto in ingest. Measured motivation added to the calibration tests: negation pairs at cosine 0.015 and opposite budget directions at 0.046 — both below every legitimate paraphrase, so NO embedding threshold can separate stance.Remaining for V2 (this issue): the lexicon is deliberately narrow — it cannot infer that
aumentar salários dos radiologistas do SUSimplies strengthening the public system (that pair is currently protected only by the threshold, at 0.107). The NLI/mDeBERTa path (or Aposta C, IA soberana como escrivã) covers the semantic remainder; the veto plumbing (signature column + ingest hook) is ready to receive a model-based contradiction check as a second signal.