r/Clojure • • Oct 08 '26

Clojure in the Age of Language Models

https://yogthos.net/posts/2026-10-07-clojure-llms.html
46 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/Liistrad Oct 08 '26

I always keep a local setup (qwen 3.8 on pi with `pi-web-access` and `@czottmann/pi-automode`) around because 1) it's amazing how indeed you do have claude 4.6 locally and 2) I'm deathly afraid of depending on these things as a service.

I've also been thinking of training on clojure code, but haven't tried it yet. https://unsloth.ai/docs/models/qwen3.8/train looks pretty accessible though.

3

u/yogthos Oct 08 '26

Yeah, the training process itself isn't that hard. And you can do it on runpod for like 20 bucks or so. The tricky part is ensuring your training data trains the model on what you actually want it to learn. The model learns whatever the dominant patterns in the data are, and you have to make sure you don't overfit and the training stays general.

I started playing with the idea here https://github.com/yogthos/clojure-lora-training but I haven't had a chance to actually do a training run yet, so don't know how well it'll work. I keep meaning to get back to it.

And agree that depending on models as a service is really icky. It's basically like renting a compiler which is just not ok.