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...

Bloomberg: Spain Built Too Much Solar. Investors Want Out

https://www.bloomberg.com/news/articles/2026-06-29/spain-s-solar-and-wind-power-boom-is-an-invest...
1•vblanco•1m ago•1 comments

Scientists say most people need more protein than current guidelines suggest

https://www.sciencedaily.com/releases/2026/06/260622091429.htm
1•bushwart•2m ago•0 comments

What If a City Ran on UTC for Two Weeks?

https://zulu.sekor.eu.org/
1•modinfo•6m ago•1 comments

Getty Images Plans to End Shutterstock Deal After U.K. Imposes Conditions

https://www.wsj.com/business/getty-images-plans-to-end-shutterstock-deal-after-u-k-imposes-condit...
1•thm•6m ago•0 comments

Thoughts on the Near Future

https://xcancel.com/i/article/2072056960430789032
1•alecco•8m ago•1 comments

Anthropic launches Claude Science, Google and OpenAI racing to compete

https://techfundingnews.com/anthropic-launches-claude-science-and-google-and-openai-are-already-r...
2•enlightpixel•8m ago•0 comments

34,266 repos were scanned: 1 in 4 orgs showed gaps in AI agent config files

https://blog.codacy.com/we-scanned-34266-repos.-1-in-4-orgs-showed-gaps-in-ai-agent-config-files
1•claudiacsf•9m ago•0 comments

Turning Supacode into a Full, Agent First IDE

https://corti.com/turning-supacode-into-a-full-ide-flexible-panes-for-agents-editor-file-manageme...
1•TechPreacher•10m ago•0 comments

Ente Is Open

https://ente.com/open/
3•shaunpud•15m ago•0 comments

Open-source Claude/Codex/Cursor limits tracker for Mac

https://github.com/aalksii/creditwatcher
1•aalksii•16m ago•0 comments

Ocean surface temperatures hit a record high for June

https://www.theguardian.com/environment/2026/jul/01/ocean-surface-temperatures-hit-a-record-high-...
1•montalbano•17m ago•0 comments

Getty's Shutterstock merger falls apart

https://www.theverge.com/tech/960047/getty-shutterstock-merger-agreement-termination
1•rarisma•20m ago•0 comments

Free online tools in one place

https://www.quelloai.com
1•gusdestro•21m ago•1 comments

Siplinx AI Meeting Notetaker for Zoom, Google Meet

https://siplinx.com
1•aman-flyprox•21m ago•0 comments

Neuralink: Our First Transdural Procedure [video]

https://www.youtube.com/watch?v=F8p2MamNBgE
1•Klaster_1•21m ago•0 comments

The Primitive Is the Product

https://www.amplifypartners.com/blog-posts/the-primitive-is-the-product
1•tosh•22m ago•0 comments

How Spotify Is Killing the Open Podcast Ecosystem (2020)

https://singhkays.com/blog/how-spotify-is-killing-the-open-podcast-ecosystem/
1•downbad_•22m ago•0 comments

Sonnet 5 Is Dead in the Water

https://www.vincentschmalbach.com/sonnet-5-is-dead-in-the-water/
3•vincent_s•24m ago•0 comments

Side-Channel Protections in Hardware Implementations of PQC ML-KEM Verification

https://arxiv.org/abs/2606.31681
2•austinallegro•28m ago•0 comments

Hays Code

https://en.wikipedia.org/wiki/Hays_Code
2•thunderbong•28m ago•0 comments

The Economics of Starlink and SpaceX

https://ispcol.potaroo.net/2026-06/spacex.html
1•fanf2•30m ago•0 comments

Palantir on AI Sovereignty

https://twitter.com/PalantirTech/status/2072114267776491695
4•tosh•36m ago•1 comments

Isaac Asimov Laments the "Cult of Ignorance" in the United States (1980)

https://www.openculture.com/2026/07/isaac-asimov-laments-the-cult-of-ignorance.html
2•mdp2021•40m ago•0 comments

C++26: Constexpr Virtual Inheritance

https://www.sandordargo.com/blog/2026/07/01/cpp26-constexpr-virtual-inheritance
3•jandeboevrie•44m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
2•futurecat•47m ago•0 comments

Nsram: The Artificial Neuron on a Silicon Chip

https://spectrum.ieee.org/artificial-neurons-on-silicon-chips
1•rbanffy•51m ago•0 comments

Best AI Coding Token Plans in 2026: A Practical Comparison for Developers

https://medium.com/@VibeHacker/best-ai-coding-token-plans-in-2026-a-practical-comparison-for-deve...
1•Timmyzzz•52m ago•0 comments

Nano Banana 2 Lite

https://twitter.com/GoogleAIStudio/status/2071989578672595413
4•aurenvale•54m ago•0 comments

Reddit is going to force you to log in to use old Reddit

https://www.theverge.com/tech/959779/reddit-old-log-in
9•vrganj•56m ago•2 comments

Show HN: Abstractions – Weekly newsletters explaining your codebase

https://useabstractions.com
2•nshntarora•57m ago•0 comments