Skip to content

Instantly share code, notes, and snippets.

View lastforkbender's full-sized avatar
🎯
Focusing

ROBERT CECIL lastforkbender

🎯
Focusing
  • Row4
  • Milkyway
View GitHub Profile
@lastforkbender
lastforkbender / aires3.py
Created May 19, 2026 23:16
Multi-layered dimensional meta-controller cognitive advantage b-spline nn
# aires3.py
# B-spline geometric anchors with curvature stability metrics
# 3D rotational node spawning with Frenet-Serret frames
# SVD-evolved hierarchical meta-controllers
# Spectral cognitive mode extraction and analysis
# Curriculum learning with progressive layer enablement
# Multi-layer parameter efficiency(compression via SVD)
# Faster inference)fewer parameters at higher levels)
# Smarter responses(now actually learns principal cognitive modes)
@lastforkbender
lastforkbender / nn_ipe4.py
Created May 16, 2026 19:02
NN with advanced IPI/IPE residual compression reasoning
# nn_ipe4.py
import math
import time
from typing import Tuple, Optional
import torch
import torch.nn as nn
import torch.nn.functional as F
# ---------------------------
@lastforkbender
lastforkbender / bnn_7171.py
Created May 16, 2026 02:42
BNN-AGI with lower/upper complex number inference
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
import math
class MetaController(nn.Module):
def __init__(self, node_feature_dim, hidden_dim, window_size, num_targets,
meta_steps=3, use_layernorm=True,
spec_k=4, spec_alpha=0.1, layer_linear_attenuation=True,
@lastforkbender
lastforkbender / hptb.py
Created April 24, 2026 19:36
HPTB NN using torch
# hierarchical_bspline.py
# Requiere: torch, numpy
from typing import List, Optional, Tuple, Dict
from dataclasses import dataclass
import torch
import torch.nn as nn
import torch.nn.functional as F
import numpy as np
@lastforkbender
lastforkbender / nort9c.py
Created April 19, 2026 01:36
NORT9-C Ai
"""
nort9commutator.py
NORT9 - "Fearless" configuration: aggressive learning, stronger bidirectional coupling,
GPU-native B-spline evaluation, batched vjp/jvp propagation, mixed-precision optional.
Features:
- Layered directional node network with bi-directional coupling
- Cubic B-spline gating with learnable coefficients (GPU PyTorch implementation)
- Timed gradient transport using batched vjp/jvp where possible
@lastforkbender
lastforkbender / bmhr.py
Created March 16, 2026 04:51
boyer moore with hash rodding
from typing import Generator, Tuple, Dict
from collections import defaultdict
# Parámetros
L = 5 # longitud de la ventana de la "rod" (4-8 típico)
# Dos bases independientes de 64 bits (impares, apariencia aleatoria)
BASES = (11400714785074694791, 14029467366897019727)
MASK64 = (1 << 64) - 1 # máscara para emular overflow uint64
def _build_bad_char(pattern: str) -> dict:
@lastforkbender
lastforkbender / cecil_plus_ide.py
Last active March 8, 2026 00:04
Cecil+ IDE / Spectral Multi-dispatch GUI Works
# Cecil+ Programme Lang /IDE /PyQt5 - Spectral Multi-Dispatching GUI Works - /Py /C /C++ /C#
#
#____________________________________________________________________________________________________________________
#
# CECIL+ CORE FEATURES/SERVICES:
#
# Spectral Multi-Dispatch(SMD) allows dispatch merges along multiple orthogonal axes(type, capability, performance
# classing, resource constraints and much more. A LLM-AI using the Cecil+ language can more easily assemble large
# systems like a game engine by composing small, focused handlers and letting the dispatch system select best-fit
# implementations at runtime or compile time to C. Those technical parsing mechanisms include a built-in AI system
@lastforkbender
lastforkbender / cp_doc_kywrd_pipe.txt
Last active December 9, 2025 20:56
Cecil+ — Documentação da Linguagem de Programação / PALAVRA-CHAVE: pipe
Cecil+ — Documentação da Linguagem de Programação
PALAVRA-CHAVE: pipe
_______________________________________________________________________________
pipe | pipe+ | pipe-
_______________________________________________________________________________
Construtor universal aplicável a variáveis, atributos de classe e a todos os laços.
Essa palavra-chave pode ser um construtor neutro, positivo (pipe+) ou negativo
@lastforkbender
lastforkbender / cubosai.py
Created October 12, 2025 10:44
Comutação de três estados, modulação axis-map(wave) por par de blocos de cubo e persistência em XML
# cubosai.py ~ comutação de três estados, modulação axis-map(wave) por par de blocos de cubo e persistência em XML
from typing import Tuple, Dict, Any, Optional, List
import xml.etree.ElementTree as ET
import torch.optim as optim
import torch.nn as nn
import numpy as np
import torch
import math
import io
@lastforkbender
lastforkbender / tt_dom_inpr_1_02.py
Last active October 11, 2025 12:30
Tictac interpreter 1.02
# tt_dom_inpr_1_02.py /TT-DOM Plex Interpreter 1.02 with high-fidelity complex flir sequence imagings /Python 3.13
from PIL import Image, ImageFilter, ImageDraw, ImageFont
from collections import defaultdict, namedtuple, deque
from torch.utils.data import Dataset, DataLoader
from scipy.linalg import cho_factor, cho_solve
from xml.etree import ElementTree as ET
from sklearn.cluster import KMeans
import matplotlib.pyplot as plt
import torch.nn.functional as F