Improve Section 04 nanoTabICL visualizations - #6
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve Section 04's visualizations of the nanoTabICL classifier forward graph used to teach TabICLv2. The training loss and update are illustrative educational steps around that graph, not a nanoTabICL pretraining implementation. The browser model implementation, checkpoint, and prediction behavior are unchanged.
Visualization improvements:
Primary architecture source: official nanoTabICL model.py at 4a7f9c7648f05c3efb34555e088105405a707469. The TabICLv2 paper v2 supplies the broader teaching context. The full TabICL implementation at 0dbff3ec8fc68c123c87af77b0ea8b25cd2d23f3 was additionally checked for data-flow consistency; it is not the implementation depicted by this schematic. Its training path can compute all row outputs and then select queries, while nanoTabICL skips unused final context outputs. The tensor dimensions also match the browser manifest, but this does not make the schematic an exact trace of that checkpoint or its wrapper. Training loss and probability values remain explicitly illustrative.
Validation: inspected the rendered forward, loss, and inference canvases; all eight steps at 375/768/1024/1440px (32 states) select correctly with no page overflow or JavaScript exceptions. Website JS syntax, local asset references, visible em-dash scan, and git diff checks pass. Subsequent label wording changes pass applicable syntax and diff checks. Core runtime and model files are unchanged.