CoolFace
Datasetpublic

dk4120/neural_network_parameter_dataset_lenet5_binary

Neural Networks Dataset for Hypernetworks Research Summary This repository contains a dataset of neural networks, designed for the purpose of hypernetworks research. The dataset includes 10,610 neural networks trained for binary image classification separated into 10 classes, such that each class contains 1,061 different neural networks that can identify a certain ImageNette V2 class from all other classes. The classification models used a LeNet-5 framework with… See the full description on the dataset page: https://huggingface.co/datasets/dk4120/neural_network_parameter_dataset_lenet5_binary.

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes6downloads
Dataset Card

Neural Networks Dataset for Hypernetworks Research

Summary

This repository contains a dataset of neural networks, designed for the purpose of hypernetworks research. The dataset includes 10,610 neural networks trained for binary image classification separated into 10 classes, such that each class contains 1,061 different neural networks that can identify a certain ImageNette V2 class from all other classes. The classification models used a LeNet-5 framework with each model containing 91,481 parameters. A computing cluster of over 10,000 cores was used to generate the dataset. Basic classification results show that the neural networks can be classified with accuracy of 87%, indicating that the differences between the neural networks can be identified by supervised machine learning algorithms in accuracy better than mere chance. The ultimate purpose of the dataset is to enable hypernetworks research.

Specifications

This repository contains the individual model files, consolidated listing of parameters, and training/validation loss and accuracy plots for each model.

Directory Listing

Model Weights

Contains individual model parameters saved as hdf5 files

Plots

Contains plots for training/validation loss and accuracy for each model

Pickle Files

Consolidated parameters saved into a single file for all 10,610 models.

Modelwise

Parameters by model in dictionary format

  • Keys: model, parameters_by_layer, parameters_flat
  • Example:
{
  'model': 'church_649', 
  'parameters_by_layer': {
    'conv2d/conv2d/bias:0': tensor([ 0.0572, 0.0594, -0.0007, -0.0440, 0.0227, 0.0155]), 
    'conv2d/conv2d/kernel:0': tensor([[[[ 2.0242e-01, -8.1340e-02, -1.1604e-01, 6.9871e-02, -1.4720e-01,...
  }, 
  'parameters_flat': tensor([ 0.0572, 0.0594, -0.0007, ..., 0.2816, 0.3210, -0.1104])
}
Layerwise

Parameters by layer for all models in a given class

  • Keys: class, parameters
  • Example:
{
  'class': 'cassette_player', 
  'parameters': {
    'conv2d': [array([ 2.81625651e-02, -7.09968358e-02, -1.40507936e-01, -9.32385959e-03, -1.10361770e-01, 1.00062557e-01, -3.23645794e-03, 1.01349339e-01, 5.19516990e-02, -8.61838460e-02, 1.42671123e-01, -1.31018981e-01,...
    'dense_1': [array([-0.04802695, -0.26561895, -0.13131969,  0.13551578, -0.14921758, -0.15271764,  0.226575...
  }
}

Performance Metrics

ClassAccuracy MinAccuracy MaxAccuracy AvgPrecision MinPrecision MaxPrecision AvgRecall MinRecall MaxRecall AvgF1 MinF1 MaxF1 Avg
tench0.9320.9490.9420.6630.8720.7690.4780.6720.5870.6040.7130.665
english_springer0.8940.9200.9110.4730.7790.6190.1340.4960.3150.2190.5220.412
cassette_player0.9160.9370.9280.5440.8450.6750.2720.5690.4080.4070.5810.506
chain_saw0.8970.9080.9030.3490.9330.5760.0080.1270.0680.0150.2140.120
church0.9010.9210.9110.5330.8440.6660.1340.4380.3010.2260.5180.411
french_horn0.8860.9070.9000.3000.6340.5070.0080.3530.1860.0150.4060.265
garbage_truck0.8920.9270.9170.4640.8460.6450.1930.5840.3950.3030.5650.484
gas_pump0.8700.9010.8920.2950.6840.4800.0620.2340.1510.1090.3060.228
golf_ball0.8980.9190.9120.4960.8360.6580.1280.4340.2980.2220.4940.407
parachute0.9200.9440.9370.5830.8750.7730.3130.6740.5320.4480.6850.626
All Classes0.8700.9490.9150.2950.9330.6370.0080.6740.3240.0150.7130.412