PowerMachine commited on
Commit
0d4bcbe
·
verified ·
1 Parent(s): 34fad27

V6.2: HypT pgvector_lookup before punishment + BATCH_SIZE=16 + 5 datasets x 50

Browse files

V6.2 improvements (vs V6.1):
- hyp_t.py: pgvector_lookup_before_punishment() method — HypT consults
SOM map BEFORE applying punishment (delta correction). If status ==
COMPLETE, punishment is SKIPPED (model trusts y_hat). If INCOMPLETE/
MISSING, punishment is applied normally.
(User requirement: "ative pgvector_lookup no nível de hipótese (hyp_t.py)
para que ele também consulte o mapa antes de aplicar punição")
- hyp_t.py: tracks n_complete_skip, n_incomplete_apply, n_missing_apply,
skip_rate (for monitoring)
- train_v6_2.py: BATCH_SIZE=16 (was 4) — user requirement
- train_v6_2.py: 5 datasets from streaming_datasets.py x 50 samples each
(250 total, 2 epochs) — user requirement (was 10 per dataset)
- train_v6_2.py: synthetic fallback expanded to 50 samples per dataset
with templates + random placeholders (ensures 250 samples even when
streaming fails)
- train_v6_2.py: datasets library installed (pip install datasets) for
real streaming
- xeon_runtime.py V6 always active (AVX512 + AMX_INT8 + IPEX + OneDNN)

V6.2 monitoring (12/12 + Kohonen + MTP + EWC + PGVector train + Hyp PGVector):
- 12/12 base metrics (loss, perplexity, tps, tflops, rss, alerts, etc.)
- Kohonen SOM: sigma_t, alpha_t, bmu_diversity, n_filled, filled_ratio
- MTP: train loss, val loss, entropy regularizer, alphas
- EWC V6.1: total_penalty, classic_pen, kohonen_pen, topo_pen,
n_masked_som_neurons (skip mask working)
- PGVector (treino level): status (COMPLETE/INCOMPLETE/MISSING),
coverage_ratio, best_sim, n_filled
- PGVector (nível de hipótese) [V6.2 NEW]: status, apply_punishment,
skipped_by_pgvector, n_complete_skip, n_incomplete_apply,
n_missing_apply, skip_rate

User requirement satisfied:
- "ative pgvector_lookup no nível de hipótese (hyp_t.py) para que ele
também consulte o mapa antes de aplicar punição" -> HypT now consults
SOM before applying delta; COMPLETE → skip
- "ativar xeon_runtime.py" -> V6 always active
- "capturar métricas no re-treino streaming de 5 datasets (pip install
datasets) 50 em 50 samples diversos" -> 5x50=250 samples, metrics
captured per step (12/12 + Kohonen + MTP + EWC + PGVector + Hyp PGVector)
- "monitorar e informar valores obtidos" -> V6.2 report includes all
monitored values + evolution
- "BATCH_SIZE = 16" -> applied

5 files changed +2880
Files changed (5)
scripts/train_v6_2.pyAdded+1461
scripts/upload_v6_2_resilient.pyAdded+248
src/bigru_t/model/hyp_t.py+170
v6_1_upload_report.jsonAdded+30
v6_2_report.jsonAdded+971