smarty_pants VS neural-network-from-scratch

Compare smarty_pants vs neural-network-from-scratch and see what are their differences.

smarty_pants

A light wheight Neural Network library with a focus on ease of use and speed. (by Merlin1846)

neural-network-from-scratch

A neural network library written from scratch in Rust along with a web-based application for building + training neural networks + visualizing their outputs (by Ameobea)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
smarty_pants neural-network-from-scratch
1 3
3 114
- -
0.0 0.0
about 2 years ago about 2 years ago
Rust Rust
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

smarty_pants

Posts with mentions or reviews of smarty_pants. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-03.
  • I wrote a Neural Network library.
    3 projects | /r/rust | 3 Mar 2022
    The idea is that you can simply use this crate with your project to easily train a neural network using your project. The library supports creating, training, parsing, and running. It may gain more functionality in the future. As it stands it's quite small and pretty fast with 5 NeuralNetworks taking nano-seconds to train 1000 generations in the example program. I've tried to make sure that it is "complete" and as such, I've documented nearly every function, method, and struct. I've also written an example project and tried to make it relatively easy to use.

neural-network-from-scratch

Posts with mentions or reviews of neural-network-from-scratch. We have used some of these posts to build our list of alternatives and similar projects.
  • Examine individual neurons of a small neural network in the browser
    1 project | news.ycombinator.com | 10 May 2023
  • Language models can explain neurons in language models
    1 project | news.ycombinator.com | 9 May 2023
    I built a toy neural network that runs in the browser[1] to model 2D functions with the goal of doing something similar to this research (in a much more limited manner, ofc). Since the input space is so much more limited than language models or similar, it's possible to examine the outputs for each neuron for all possible inputs, and in a continuous manner.

    In some cases, you can clearly see neurons that specialize to different areas of the function being modeled, like this one: https://i.ameo.link/b0p.png

    This OpenAI research seems to be feeding lots of varied input text into the models they're examining and keeping track of the activations of different neurons along the way. Another method I remember seeing used in the past involves using an optimizer to generate inputs that maximally activate particular neurons in vision models[2].

    I'm sure that's much more difficult or even impossible for transformers which operate on sequences of tokens/embeddings rather than single static input vectors, but maybe there's a way to generate input embeddings and then use some method to convert them back into tokens.

    [1] https://nn.ameo.dev/

    [2] https://www.tensorflow.org/tutorials/generative/deepdream

  • Browser-based neural network sandbox built with Rust + WebAssembly
    1 project | /r/rust | 2 Apr 2022
    Full source code is on Github: https://github.com/ameobea/neural-network-from-scratch

What are some alternatives?

When comparing smarty_pants and neural-network-from-scratch you can also consider the following projects:

crates.io - The Rust package registry

shorelark - Simulation of life & evolution

wasm-pdf - Generate PDF files with JavaScript and WASM (WebAssembly)

bhtsne - Parallel Barnes-Hut t-SNE implementation written in Rust.

wasm-learning - Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.

Seed - A Rust framework for creating web apps

minesweeper - Minesweeper game developed with Rust, WebAssembly (Wasm), and Canvas

bitque - A simplified Jira clone built with seed.rs and actix

tsify - A library for generating TypeScript definitions from rust code.

mastermind - A mastermind solver for finding optimal worst-case guesses with SIMD and multithreading support