YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
AI417 - Assignment 4
Student Information
- Organization: AI417UPM
- Student ID: 4410058
- Name: Retaj
Repository Contents
dummy.pyโ Dummy model architectureVanilla.pyโ Vanilla model architecturedummy-weights.binโ Trained weights for Dummy modelvanilla-weights.binโ Trained weights for Vanilla modelhubconf.pyโ Torch Hub configuration file
Model Description
Dummy Model
The dummy model is a simple feed-forward neural network composed only of Linear (fully connected) layers.
It does not include any activation functions between layers.
Therefore, it represents a purely linear transformation.
Vanilla Model
The vanilla model is a feed-forward neural network that includes activation functions between Linear layers.
The activation functions introduce non-linearity, allowing the model to learn more complex patterns.
How to Load the Models
You can load the models using Torch Hub:
import torch
# Load Dummy Model
model = torch.hub.load("AI417UPM/A4_4410058_Retaj", "dummy", trust_repo=True)
# Load Vanilla Model
model = torch.hub.load("AI417UPM/A4_4410058_Retaj", "vanilla", trust_repo=True)
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support