HF RL Explorer

Task: Demonstrate PyTorch Embedding Layer Internals

Task: Demonstrate PyTorch Embedding Layer Internals: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that demonstrates exactly what happens inside PyTorch's nn.Embedding layer, including how the lookup table works, how weights are structured, and how gradients are computed…

The task

Create a Python script that demonstrates exactly what happens inside PyTorch's `nn.Embedding` layer, including how the lookup table works, how weights are structured, and how gradients are computed during training.

Part of PrimeIntellect/Terminal-Lego-15k.