Skip to content

jklw10/dnns-from-scratch-in-zig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is a very simple implementation of deep neural networks written in the Zig programming language.

It does not utilize tensors or any automatic differentiation library as it is only composed of fully connected feed forward layers.

To solve MNIST, create a new directory "data" in the root of the project, download the MNIST files from http://yann.lecun.com/exdb/mnist/, and unzip and store the files in the "data" directory. Then run:

zig build run

If the above url is not working for you, checkout: https://github.com/cvdfoundation/mnist.

here's some benchmark results from fiddling with hyper parameters etc spreadsheet

they're messy and look something like this: image

feel free to give suggestions on namings etc in there, but it's mostly for personal tests and fiddling, perhaps eventually this whole project will be an actual library :)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.8%
  • Zig 29.2%