Views
No views yet
pytorch_cnn_weights.pth, tf_cnn_model.keras): A Convolutional Neural Network designed for high accuracy and $O(1)$ inference latency.sklearn_rf.joblib): A baseline classical Machine Learning architecture to establish performance bounds before applying deep learning.sklearn_ensemble.joblib): An ensemble combining a Multi-Layer Perceptron (MLP) and a K-Nearest Neighbors (K-NN) classifier.huggingface_hub library.1# pip install huggingface_hub torch
2
3import torch
4from huggingface_hub import hf_hub_download
5
6# 1. Download the PyTorch weights (caches automatically)
7model_path = hf_hub_download(
8 repo_id="AKinoshi/mnist-framework-bakeoff",
9 filename="pytorch_cnn_weights.pth"
10)
11
12# 2. Load into your PyTorch architecture
13# model = DigitClassifierCNN()
14# model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu')))
15# model.eval()