Recent submissions

Comment · 3 years ago
Comment · 3 years ago
I cant tell if this is research about generative AI, or AI generated research.

The new internet sucks

Comment · 6 years ago
How could a bear population quadruple in a month of lockdown when the gestational period of a bear is 200+ days?
Comment · 7 years ago
Comment · 8 years ago
Comment · 8 years ago
There are many reasons to do it in JavaScript:

- Many companies and projects have their entire server-side stack in JavaScript and Node.js, and often they want to simply make a prediction through a model. It's quite a lot to ask them to pull in a python runtime just to make a prediction. TensorFlow.js with node bindings to TensorFlow C enables this type of inference with minimal overhead.

- Privacy. You can make predictions locally, or send embeddings back to a server without the raw data ever leaving a client.

- Flexibility of JavaScript / TypeScript. Dynamic languages are great for scientific computing, TypeScript allows you to define your own level of type safety, from raw JS on one end, to strict typing support on the other end.

- Interactivity / education tooling. See tensorflow playground for an excellent example.

- No servers for applications. Making predictions in TensorFlow on a server can be expensive in the long run. Hosting static weights on a server is much much cheaper.

JavaScript and Python ecosystems for machine learning are not mutually exclusive -- they both have their strengths and weaknesses.

Comment · 8 years ago
This probably won't buy you anything. The API you still have is WebGL, and JS is not the bottleneck.
Comment · 8 years ago
We've done some initial tests ourselves. WASM doesn't yet support SIMD so WebGL tends to be 5-10x faster. SIMD is actively being worked on by many smart people in Chromium / other browsers, so I would expect to see huge wins in the near term future. When that happens, deeplearn.js will have a WASM backend. WASM has a much better memory management story (destructors on the C++ side) so I'm super excited about its future.
Comment · 8 years ago
Come build a WASM backend for deeplearn.js :)
Comment · 8 years ago
Comment · 9 years ago
Or you improve your algorithms and use the existing hardware (think distributed computing on cheap HDDs).
Comment · 9 years ago
Why wait?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton