News for hackers. Stuff that matters.
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by __Asturias__ on Sunday October 13, 2019 @09:20AM (#21240212)
Does no one build their own ml algos anymore? I don't understand the need for pytorch and tensor flow. I honestly thought tensor flow was nothing but a teaching thing for undergrads
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by tsm212 on Sunday October 13, 2019 @09:57AM (#21240360)
This type of reasoning can be extended to any high-level tool. " Does no one writes there own OS. I don't understand the need for Linux or windows. I honestly thought windows or linux was nothing but a tool for undergrads to use Excel or host a WordPress site". And this is not a caricature of your argument. There is a lot of stuff under the hood that Tensorflow or Pytorch implement for a programmer. So much so that people have written wrapper for using TF or Pytorch to even further abstract the working of the library. Implementing deeplearning architecture is less of a science and more of a "let me try this or that" and iterating ideas quickly if of the utmost importance. Also, I can implement a neural network in C (CUDA) although not the auto diff part, but I could if given time to research) but if I started implementing my own library, it would take an order (or even more) of magnitude more time to do the stuff I do daily. We don't need to reinvent the wheel here guys.
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by __Asturias__ on Sunday October 13, 2019 @10:11AM (#21240429)
That's what I'm getting at, the stuff under the hood is what's important, devil in the details and all that. I'm also a quant so every ml algo needs to be tailored so idk
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by ibab on Sunday October 13, 2019 @09:37AM (#21240271)
Do you also write your own automatic differentiation tools? Using libraries like TF and PyTorch makes sense if you use neural networks because they provide automatic differentiation (who wants to write out their gradients by hand?) and standard neural network components.

Edit: If your algorithm is not using neural networks, then libraries like TF may or may not be a good fit, it depends on the algorithm. Writing custom low-level code can still make sense in those cases.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by improbable22 on Sunday October 13, 2019 @05:44PM (#21243313)
People do write their own AD tools... in a day, sometimes!

http://blog.rogerluo.me/2018/10/23/write-an-ad-in-one-day/

http://blog.rogerluo.me/2019/07/27/yassad/

Although the endpoint is likely to be a better understanding of the choices made by a mature implementation, and of the work involved in fixing up edge cases.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by kiloreux on Sunday October 13, 2019 @09:23AM (#21240224)
Not all of us need to build their own ML algos. Just in the same way that not all of us need to build their sorting libraries or data structures. Some people are specialized in this to develop and do research. While other software engineers just want something they can use without much hassle and just a superficial understanding.
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by morningseagulls on Sunday October 13, 2019 @09:40AM (#21240285)
>Not all of us need to build their own ML algos. Just in the same way that not all of us need to build their sorting libraries or data structures.

And yet they love to ask you to do exactly that at technical interviews... coming up next: what ML algos you need to know to ace that interview.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by amelius on Sunday October 13, 2019 @10:28AM (#21240530)
And another reason is standardization. It's a lot easier to use or tweak any given network if it is implemented in the same framework.
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by dlphn___xyz on Sunday October 13, 2019 @10:37AM (#21240580)
good luck trying to land a job using ml with only ‘superficial understanding’
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by TruckingThrow on Sunday October 13, 2019 @10:06AM (#21240407)
I can actually speak to this because I was involved with maintenance on a consultant's neural net built in raw java.

What I have to say is this: please don't build your own.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by falkaer on Sunday October 13, 2019 @09:36AM (#21240264)
They're frameworks which implement high performance tools commonly used in ml problems like tensor operations, automatic differentiation, various gradient descent optimisers, and also neural network building blocks
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by ghaff on Sunday October 13, 2019 @09:38AM (#21240275)
Do you write your own crypto libraries too?
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by morningseagulls on Sunday October 13, 2019 @09:42AM (#21240289)
>Do you write your own crypto libraries too?

Some people do. It's a good challenge.[0]

[0] https://cryptopals.com/

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by dahart on Sunday October 13, 2019 @02:06PM (#21241793)
To be fair, the main thing you learn doing the cryptopals challenge is to not write your own crypto.

I had a lesson in writing crypto once, when I made what I thought was a good enough secret mixing procedure to encode some data I wanted to email outside of a company that didn’t allow web access. (Long time ago, circa 2000). It all looked undecipherable and I sent most of the data before I discovered that strings of binary zero were leaking my secret key. Oops, pretty stupid.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by morningseagulls on Wednesday October 16, 2019 @01:05AM (#21267219)
>To be fair, the main thing you learn doing the cryptopals challenge is to not write your own crypto.

D'oh! Good point though lol.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by detaro on Sunday October 13, 2019 @10:29AM (#21240536)
But the OP clearly didn't ask about doing it as a challenge or to understand how it works (which is what cryptopals is about), but actual usage.
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by morningseagulls on Sunday October 13, 2019 @10:39AM (#21240595)
>But the OP clearly didn't ask about doing it as a challenge or to understand how it works (which is what cryptopals is about), but actual usage.

But the parent of the comment I was replying to clearly had the former in mind, as a subsequent comment showed.[0]

[0] https://news.ycombinator.com/item?id=21240429

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by halfarmbandit on Sunday October 13, 2019 @11:21AM (#21240848)
That’s quite naive...

I am sure you could write stuff like Diffentiable Processors or the like from scratch with numpy but if you respect yourself and your time, you won’t. Complicated architectures are orders of magnitude harder than writing feed forward networks from scratch. For example, see the Merlin paper.

Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by mrfox321 on Sunday October 13, 2019 @09:51AM (#21240337)
Why would you write your own AutoDiff if you do not have to?
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by et2o on Sunday October 13, 2019 @11:21AM (#21240847)
childish troll attempt
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by mlevental on Sunday October 13, 2019 @10:26AM (#21240517)
can we see some of the "ml algos" you've built? in particular your autodiff engine
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by __Asturias__ on Sunday October 13, 2019 @11:42AM (#21240979)
They're all owned by my firm lol, I can't share anything like that
Re:Deep Learning with PyTorch: A 60 Minute Blitz [video] by mlevental on Sunday October 13, 2019 @04:42PM (#21242858)