frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Run automated ML experiments using Claude Code

https://github.com/killerstorm/claude-torch-template
1•killerstorm•1y ago
I made a template which can be used to conduct (basic) ML experiments in a fully automated mode: Claude Code will write the code, you only need to provide a working environment and the idea.

The goal was largely to demonstrate that this is possible, specifically to:

* encourage to people who want to run some ML experiment but don't have time t code it to actually give it a try * provide evidence that LLM recursive self-improvement is not "science fiction"

The template is bare bones, it does not come with niceties for monitoring experiments, conduct experiments at scale, etc.

The script assumes that CUDA, Python, PyTorch are already set up. This is quite easy if you rent an instance from https://lambda.ai/ - that's pre-installed. You'd only need to install Claude Code (which itself requires npm) to get it going.

As I mentioned in the README, the most advanced experiment I tried so far is injection of sentence-embedding memory into a pre-trained transformer.

The timeline on https://ai-2027.com/ assumes that we'll only be able to get AI coding agents which can do ML experiments in 2026, but it seems like it is already possible now. (I spent only few hours on this, obviously proper AI labs can spend whole days on infrastructure, scaffolding, prompting, fine-tuning, etc.)

Comments

killerstorm•1y ago
If you actually want to conduct some experiment, I'd suggest:

* fist iterate on the idea with o3 (best choice) or other big model (Opus 4, Gemini 2.5 Pro, Grok 3) -- ask it whether it was done before, how to improve it, what is the expected outcome, etc. o3 is really smart, it can explain intuition between different choices, etc. * Python packages are hard. Using virtual environment (venv) is recommended. `uv` is probably the modern way to manage venv, but installing torch with CUDA support via uv is pain, what I found works is: * `uv pip install torch --torch-backend=cu126` (uv pip uninstall torch) * lambda.ai provides high-quality environment, but it might lack cheaper GPU options. * as I mentioned in README, there's no sandboxing, Claude can do pretty much arbitrary stuff...

InfiniteDiffusion: A new approach to infinite generation with diffusion models

https://twitter.com/xandurglar/status/2070179038417821777
1•LorenDB•1m ago•1 comments

Using Claude Code makes you a worse developer, but a slightly better manager

https://evgeniipendragon.com/posts/managing-claude-code-made-me-a-better-tech-lead/
1•speckx•2m ago•0 comments

Maybe "is AI a bubble?" is the wrong question

https://emilesilvis.com/maybe-is-ai-a-bubble-is-the-wrong-question.html
1•gmays•3m ago•0 comments

Apple to Skip High-End M6 Mac Chips in Favor of AI-Focused M7 Line

https://www.bloomberg.com/news/articles/2026-06-25/apple-to-skip-high-end-m6-mac-chips-to-launch-...
3•mfiguiere•5m ago•0 comments

Feistel Cipher

https://en.wikipedia.org/wiki/Feistel_cipher
1•tosh•6m ago•0 comments

Using the Red Pitaya STEMlab 125-14 Pro Gen2 as an SDR in GNU Radio

https://www.controlpaths.com/2026/06/21/red-pitaya-stemlab-sdr-gnuradio/
1•hasheddan•7m ago•0 comments

Ask HN: Quickbooks Alternative?

1•bix6•8m ago•0 comments

The AI Data-Center Boom Is Sparking a Third Wave of Inflation

https://www.wsj.com/economy/the-data-center-boom-is-sparking-a-third-wave-of-inflation-926adc6e
2•gmays•8m ago•0 comments

CSS on the ESP32

https://hackaday.com/2026/06/25/css-on-the-esp32/
1•arbayi•10m ago•0 comments

Claudecaine

https://bfontaine.net/blog/2026/06/25/claudecaine/
1•hk__2•10m ago•0 comments

Distro Fighter

https://distrofighter.com/
1•FergusArgyll•11m ago•0 comments

The Exhaustion of Talking to a Tool

https://ohadravid.github.io/posts/2026-06-tool-talking/
1•ohr•11m ago•0 comments

Older tech workers are tapping out early

https://www.seattletimes.com/business/local-business/older-tech-workers-are-tapping-out-early-her...
5•root-parent•12m ago•0 comments

Zines were used to sentence protesters to decades in prison

https://www.theguardian.com/us-news/ng-interactive/2026/jun/24/prairieland-texas-ice-protests-zines
2•Teever•12m ago•0 comments

The negative impacts of fruit juices and other sugary treats for children

https://www.independent.co.uk/news/health/juice-sugar-children-risks-high-blood-pressure-b3001510...
1•theanonymousone•12m ago•0 comments

Vlsync – shell script to sync a local folder to VLC on iOS

https://github.com/sdubois/vlsync
2•steviedotboston•12m ago•1 comments

I Started with 12 Names. An LLM Sieve Found the Rest

https://zamechek.com/blog/the-sieve-growing-from-a-seed/
2•shawnzam•15m ago•1 comments

The Age of the Solopreneur

https://www.stripeeconomics.com/p/the-age-of-the-solopreneur
3•whatisabcdefgh•18m ago•0 comments

Autodata: An agentic data scientist to create high quality synthetic data

https://arxiv.org/abs/2606.25996
3•root-parent•19m ago•0 comments

'Structures' in Space Reveal the Universe Isn't What We Thought

https://www.404media.co/vast-structures-in-space-reveal-the-universe-isnt-what-we-thought/
3•Brajeshwar•19m ago•0 comments

Sqids

https://sqids.org/
2•tosh•19m ago•0 comments

Getting Back into Blogging

https://www.alexhyett.com/getting-back-into-blogging/
3•speckx•19m ago•0 comments

HRM-Text: Efficient Pretraining Beyond Scaling

https://huggingface.co/papers/2605.20613
2•root-parent•20m ago•0 comments

Show HN: Weaver-spec – a shared contract so agent components compose

https://github.com/dgenio/weaver-spec
2•dgenio•20m ago•0 comments

Attackers Planted a Telegram-Powered Backdoor Across Fake Pyrogram Packages

https://checkmarx.com/zero-post/operation-navy-ghost-pyrogram-telegram-supplychain-attack/
2•Gedxx•22m ago•0 comments

The Weaver Stack: one contract layer for safe LLM agents

https://pub.towardsai.net/the-weaver-stack-one-contract-layer-for-safe-llm-agents-7f733cad5eac?sh...
2•dgenio•22m ago•0 comments

Google AI overview for "keynesian economics" is written in Korean

4•something765478•24m ago•0 comments

A CVE Dispute

https://daniel.haxx.se/blog/2026/06/24/a-cve-dispute/
3•OptionOfT•25m ago•0 comments

About Climate.us

https://www.climate.us/about
2•thehoff•26m ago•0 comments

FCC plans ID mandate that could block anonymous use of prepaid burner phones

https://arstechnica.com/tech-policy/2026/06/fcc-plans-id-mandate-that-could-block-anonymous-use-o...
4•logickkk1•26m ago•0 comments