Download model.py from ermandmand/humanoid-core-model-v3: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/ermandmand/humanoid-core-model-v3/resolve/main/model.py
- Command line
-
hf download hf://ermandmand/humanoid-core-model-v3/model.py
-
curl -L -o model.py https://huggingface.co/ermandmand/humanoid-core-model-v3/resolve/main/model.py
216 Bytes
| import torch | |
| import torch.nn as nn | |
| class HumanoidCoreModel(nn.Module): | |
| def __init__(self): | |
| super().__init__() | |
| self.layer = nn.Linear(4, 2) | |
| def forward(self, x): | |
| return self.layer(x) | |