Downloads · 30 days
0
AI417UPM/A4_4320154_FaresAldeeb
A4_4320154_FaresAldeeb is a machine learning model from AI417UPM. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Name: Fares Aldeeb - UPM ID: 4320154 - Course: AI417
Downloads · 30 days
0
Access
Public
Updated Feb 22, 2026
Repo size
4.5 MB
Likes
0
Public
Click a slice to open those files.
.bin4.5 MB · 100%
From the Hugging Face model README
This repository contains two trained neural network models from Assignment 3:
Both models are fully compatible with torch.hub.load().
Files included:
dummy.py → Dummy model architecturevanilla.py → Vanilla model architecturedummy-weights.bin → Trained weights for DummyNetvanilla-weights.bin → Trained weights for VanillaNethubconf.py → TorchHub configuration fileBoth models are trained on the FashionMNIST dataset.
Example usage:
from huggingface_hub import snapshot_download
import torch as tr
repo_id = "AI417UPM/A4_4320154_FaresAldeeb"
repo_path = snapshot_download(repo_id)
# Load DummyNet
dummy = tr.hub.load(repo_path, "DummyNet", source="local", pretrained=True)
dummy.eval()
# Load VanillaNet
vanilla = tr.hub.load(repo_path, "VanillaNet", source="local", pretrained=True)
vanilla.eval()
# Example forward pass
output = dummy(tr.randn(1, 784))
print(output.shape)