HF RL Explorer

Task: Access Network Weights in PyTorch nn.Sequential Model

Task: Access Network Weights in PyTorch nn.Sequential Model: a task in Terminal-Lego-15k (Harbor dataset). When using PyTorch's nn.Sequential to build a neural network, you need to demonstrate how to correctly access the network weights for each layer. The naive approach of using attribute names…

The task

When using PyTorch's `nn.Sequential` to build a neural network, you need to demonstrate how to correctly access the network weights for each layer. The naive approach of using attribute names like `model.input_size.weight` does not work because `nn.Sequential` does not create named attributes based on variable names…

Part of PrimeIntellect/Terminal-Lego-15k.