Building a neural network from scratch in Haskell
www-cs-students.stanford.edu
Building a neural network from scratch in Haskell
1–10 of 38 posts
Re: Building a neural network from scratch in Haskell
#2Re: Building a neural network from scratch in Haskell
#3Re: Building a neural network from scratch in Haskell
#4Live: https://deep-learning.stackblitz.io/
Live edit code: https://stackblitz.com/edit/deep-learning
Re: Building a neural network from scratch in Haskell
#5Re: Building a neural network from scratch in Haskell
#6All these building NNs in haskell, ocaml or another language solving an extremely simple problem which is ok if you want to just have some fun. But if the proponents are really serious they would put out a detailed tutorial solving a complex task (e.g building a state-of-the-art language model) showing the ease / difficulty of the process, and how using a typed functional language helps in debugging the model - which…
Re: Building a neural network from scratch in Haskell
#7All these building NNs in haskell, ocaml or another language solving an extremely simple problem which is ok if you want to just have some fun. But if the proponents are really serious they would put out a detailed tutorial solving a complex task (e.g building a state-of-the-art language model) showing the ease / difficulty of the process, and how using a typed functional language helps in debugging the model - which…
fast.ai did this with swift in their course https://course.fast.ai/part2
The Julia language with the Flux deep learning library is another very interesting but not mainstream path to take.
Re: Building a neural network from scratch in Haskell
#8In typescript (from scratch recognizing hand-written digits in browser): Live: https://deep-learning.stackblitz.io/ Live edit code: https://stackblitz.com/edit/deep-learning
New frameworks like TensorFlow for Swift and Julia’s Flux are a little easier to understand if you read the code, but still complex stuff.
Re: Building a neural network from scratch in Haskell
#9Not really my scene, but I've been liking the look of Torsten Scholak's Hasktorch: https://github.com/tscholak/hasktorch
The Haskell bindings for TensorFlow are a little bit difficult for me to work with. When HaskTorch gets more mature and stable, it will hopefully be easier to use than the TensorFlow bindings.
Re: Building a neural network from scratch in Haskell
#10All these building NNs in haskell, ocaml or another language solving an extremely simple problem which is ok if you want to just have some fun. But if the proponents are really serious they would put out a detailed tutorial solving a complex task (e.g building a state-of-the-art language model) showing the ease / difficulty of the process, and how using a typed functional language helps in debugging the model - which…