-
V6.7: upload src/bigru_t/utils/oom_guard.py (21.1KB) — FASE1+FASE2 training results
-
V7: dpo.py + data_augmentation.py + oom_guard.py aprimorados
Módulos aprimorados:
- training/dpo.py: AdaptiveDPOLoss (nn.Module, log_beta otimizável, atualização dual KL-aware, clamps [0.01, 2.0])
- training/data_augmentation.py: AdvancedSOMAugmenter (manifold-aware, grid 4D canônico (4,4,4,4)=256, α₀=0.5, σ₀=2.0, ruído gaussiano adaptativo por QE local, interpolação convexa 0.7*real + 0.3*BMU)
- utils/oom_guard.py: OomGuard V7 (memory leak detection, logic failure detection, crash dump JSON, signal handlers, excepthook, ring buffer de ops, cgroup limit detection)
Arquivos removidos (fora de src/bigru_t/):
- 5 JSONs antigos na raiz: v6_5_v2_*.json (substituídos por reports/)
Parâmetros canônicos mantidos:
- HIDDEN_DIM=1024, VOCAB_SIZE=16384, N_HYPOTHESES=16, MAX_N_HYPOTHESES=32, HYP_TRAIN_STEPS=30, HYP_HIDDEN_DIM=256
- Grid SOM (4,4,4,4)=256, Buffer=256 (alinhamento 1:1)
- α₀=0.5 (∈ [0.5, 1.0] Kohonen rough training)
- σ₀=2.0 (= max(4,4,4,4)/2 = metade da maior dimensão)
Timestamp: 2026-08-09T19:08:19.776243
-
V6.5-final: removed pre-V6.4 modules/scripts, moved kohonen_learning_system up, activated VQ-VAE-2 in pipeline, integrated reasoning_engine, benchmarked EWC+W8A8 dequant, exhausted 6 datasets
-
V6: Kohonen 4D SOM + EWC per-neuron + MTP+entropy + Xeon V6
V6 MELHORIAS VS V5:
1. OrqCell V6 Kohonen 4D SOM (orq_cell.py reescrito):
- 8 neurônios BiGRU4 em grid 4D (2,2,2,1)
- TransformerUnit = dimensão semântica (função de vizinhança aprendível)
- Função Gaussiana Λ(d, σ) = exp(-d²/(2σ²))
- Schedule σ: 1.5 → 0.3, α: 0.5 → 0.05
- BMU + vizinhos puxados na direção do input (preserva topologia)
- Compatibilidade com datasets não-preparados: random pad
- update_map_after_backward() (não quebra autograd)
2. EWC V6 com Kohonen per-neuron (ewc.py novo):
- Fisher por neurônio (n_neurons, d_cache)
- Reforço γ_bmu=2.0 no BMU
- Penalidade topológica: preserva distâncias no grid 4D
- Funciona em eval mode (forward-only penalty)
3. MTP V6 com entropia + ativo em val (mtp.py novo):
- L_mtp = Σ α_k L_k - β H(α), β=0.01
- MTP ativo em val (métrica adicional val_mtp_loss)
- mtp_alphas aprendíveis (K=4)
4. Window Context 2M tokens (window_context.py):
- SequenceCompressor + ChunkIndexer
- Adaptive attention:… -
V2: 12.97M params, HW optimizer, parallel BBPE, DPO, reasoning, inference, 10 bugs fixed
-
Upload folder using huggingface_hub