News for hackers. Stuff that matters.

luchris429

Re:Have I Been Pwned 2.0 is Now Live on Monday May 19, 2025 @08:38PM (#44036568)
I love this site! Though I do wonder how much this site also helps amateur hackers find where to search for a specific person's password. One way to deal with it could be to email the person their pwns.
Re:Can LLMs invent better ways to train LLMs? on Thursday June 13, 2024 @11:41AM (#40671032)
Author here! Thanks for pointing that out. The correct model name is indeed "gpt-4" instead of "gpt_model = 'gpt4_20231230_1106preview'". We were previously using an Azure endpoint, which is why the model name is different.

While I understand the frustration, I assure you that the rest of the code is functional. This was a simple oversight and should be a trivial fix. I appreciate your feedback and understanding.

Seems like the creator says it would take 300+ hours and they don't have time (on their discord).
Re:4000x Speedup in Reinforcement Learning with Jax on Saturday April 08, 2023 @11:42AM (#35494376)
The baseline we are comparing to is standard RL training that is widely used in academia. The technique mentioned in the blog post is not widely used amongst researchers.

The reason we write about Jax is that doing this technique is really hard in PyTorch / Tensorflow. This is because:

1. Jax has vmap. (PyTorch does now too, but it is far more recent).

2. There are RL environments that others have written in pure Jax (see the blog post for four different repos of RL environments)

3. As m00x hints to, Jax replicates Numpy's API. This makes it way easier to use for non-neural network programming (e.g. RL environments).

Re:4000x Speedup in Reinforcement Learning with Jax on Saturday April 08, 2023 @11:34AM (#35494283)
Indeed the devil is in the GPU! Jax and its ecosystem just make it much easier to use the GPU.
Re:4000x Speedup in Reinforcement Learning with Jax on Saturday April 08, 2023 @11:32AM (#35494267)
Author here! I didn't realize this got posted on HN. While indeed we do get a speedup by putting the environments on the GPU, most of the speedup seems to come from the ability to easily parallelize RL training with Jax.

While there is work on putting RL environments on accelerators, the main speedup from this work comes from also training many RL agents in parallel. This is largely because the neural networks we use in RL are relatively small and thus don't utilize the GPU very efficiently.

While this was always possible to do, Jax makes it way easier because we just need to call `jax.vmap` to get it to work.

Re:Ask HN: Building a game for AI Research on Friday May 04, 2018 @02:24AM (#16992590)
If you're using Unity, I would recommend that you check out Unity Machine-Learning Agents!

https://github.com/Unity-Technologies/ml-agents

It makes it really easy to make games for reinforcement learning. I worked on it a bit over summer, so if you have any questions, feel free to reach out to me.