Better HN
topnewbestaskshowjobs
Log inSign up

16yoMLDev

3 karma · joined Nov 16, 2019 (7y ago) · 6 submissions

Submissions

comment 6y ago · link · parent

I actually worked on transcribing math expressions to latex a few months ago with a Resnet backbone + LSTM + Attention.

All my code to train the model is available On GitHub: https://github.com/bkkaggle/math-recognition

If anyone wants to chat about math expression OCR, I'd love to talk about it!

It's a surprisingly difficult and interesting (and under appreciated and unknown) area of research!

comment 7y ago · link · parent

A guide for astronauts (now, people doing machine learning) about what to do when things go wrong.

GitHub: https://github.com/bkkaggle/machine-learning-flight-rules

Product Hunt: https://www.producthunt.com/posts/machine-learning-flight-ru...

There's a lot of "hidden knowledge" online on places like Stackoverflow, Kaggle, and the Pytorch discussion forums that is really useful but not easily accessible to people who are just getting started with machine learning. This is why I made Machine learning flight rules, this Github repo compiles all of the things I have learned over the last two years about best practices, common mistakes, and little-known tricks when training neural networks. I've tried to make sure that all the information in this repository is accurate, but if you find something that you think is wrong, please let me know by opening an issue. This repository is still a work in progress, so if you find a bug, think there is something missing, or have any suggestions for new features, feel free to open an issue or a pull request. Feel free to use the library or code from it in your own projects, and if you feel that some code used in this project hasn't been properly accredited, please open an issue. I named this project after the awesome Git Flight Rules project (https://github.com/k88hudson/git-flight-rules). I took a lot of tips from both Andrej Kaparthy's blog post on a recipe for training neural networks (https://karpathy.github.io/2019/04/25/recipe/) and the Amid Fish blog post on lessons learned when reporoducing a deep reinforcement learning paper (http://amid.fish/reproducing-deep-rl)

3.

Show HN: Machine learning flight rules; tips and tricks for ml(github.com ↗)

2 points · by 16yoMLDev · 7y ago · 1 comment

comment 7y ago · link · parent

Hi, I made this over the summer as a way to learn more about C++ and lower-level machine learning concepts. I wanted to see how much I could build myself, without relying on other libraries to handle things like creating multidimensional arrays. The library contains a multidimensional array class, Tensor, with support for strided arrays, numpy-style array slicing, broadcasting, and most major math operations (including matrix multiplication!). On top of this, the Parameter, Layer, Sequential, Loss, Optimizer, and Trainer classes allow for running high-level machine learning experiments without worrying about the low-level implementations.

Version 1 of this library focuses only supports a cpu backend at the moment since I'm not familiar enough with c++ to start working with CUDA and cudnn. It also primarily uses pass-by-value to reduce complexity at the result of reduced efficiency. Version 2 of the library will focus on making the Tensor class more efficient. Currently, only the Linear and Sigmoid layers, the MSE loss, and the SGD optimizer have been implemented, but I will add more layers and modules in V2.

Take a look at it on GitHub:

https://github.com/bkkaggle/L2/

Or on Product Hunt: https://producthunt.com/posts/l2

5.

Show HN: A machine learning library built from scratch using only the C++ stdlib(github.com ↗)

4 points · by 16yoMLDev · 7y ago · 1 comment