Skip to content

Add Legend of Elya - nano-GPT neural network on N64 - #63

Merged
command-tab merged 1 commit into
command-tab:mainfrom
Scottcjn:add-legend-of-elya
Feb 27, 2026
Merged

command-tab merged 1 commit into
command-tab:mainfrom
Scottcjn:add-legend-of-elya

Conversation

@Scottcjn

Copy link
Copy Markdown
Contributor

Addition

Adds Legend of Elya to the Example Code section — a 4-layer nano-GPT transformer (819K parameters) running natively on the Nintendo 64's MIPS R4300i FPU.

Details

  • Parameters: 819K across 4 transformer layers
  • Weights: ~848KB (Q8 + f16 scales), fits in N64's 4MB RAM
  • Arithmetic: Float32 on the R4300i hardware FPU (no softfloat)
  • Features: Big-endian weight loading, Taylor series exp() (no libm), custom memory management
  • Output: Generates English text on real N64 hardware

Believed to be the first neural network / language model running on Nintendo 64.

Repo: https://github.com/Scottcjn/legend-of-elya-n64

@command-tab
command-tab merged commit 147f7e4 into command-tab:main Feb 27, 2026
@command-tab

Copy link
Copy Markdown
Owner

Excellent! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants