jensandClaude Sonnet 4.6 952045b9f1 [StackRnn] - temporal-shift padding, joint training, vocab reduction, TEMPORAL_DEPTH=64
stack_rnn.py:
  - _train_unrolled: C++-style temporal-shift padding — flatten (num_seq, T, s)
    → (N, s), append T-1 zero rows, layer t trains on batch[t:N+t]; joint
    training replaces greedy sequential (all layers update each epoch)
  - Reverted sequential/greedy training path (poor next-step prediction)

moby_rnn.ipynb:
  - Vocabulary reduced 85 → 40 chars (A-Z, 0-9, space, .!?)
  - T renamed to TEMPORAL_DEPTH throughout
  - TEMPORAL_DEPTH increased 5 → 64; CONTEXT_SIZE 128
  - SEED "Call me Ishmael." now falls within training data coverage

state.py:
  - Remove per-file load/save print messages (too noisy with 64-layer checkpoints)

README_moby_rnn.md:
  - Update vocab, constants, parameter count, checkpoint listing
  - Add temporal-shift padding and joint training sections
  - Clarify reconstruction accuracy vs next-step prediction as honest metric

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 14:37:08 +02:00
2025-12-19 11:11:00 +01:00
2026-01-11 11:23:35 +01:00
2026-01-10 21:44:03 +01:00
2025-12-19 15:20:04 +01:00
2026-01-11 11:23:35 +01:00
2026-01-10 19:58:39 +01:00
2025-12-18 07:56:45 +01:00
2026-01-06 18:00:26 +01:00
2025-12-16 21:46:00 +01:00
S
Description
Restricted Boltzmann Machine (RBM) for python
Readme
65 MiB
Languages
Jupyter Notebook 96.9%
Python 3.1%