News for hackers. Stuff that matters.

bartdegoede

I fine-tuned Qwen3-0.6B so my 'ask my blog' feature would stop making things up, or make less up. Answers mostly got worse :-D. Model, dataset and code are open, and you can try it at bart.degoe.de/ask/. Happy to answer questions.
Re:Semantic/Hybrid Search in the Browser on Saturday July 11, 2026 @04:00PM (#48875295)
It’s gets much larger (there’s the potion-multilingual-128M model, distilled from bge-m3 which has like 100 languages), so it gets to ~120m range for the lookup table (4x smaller if you’d do int8 quantization, so you could get to to 30-35mb).
Re:Semantic/Hybrid Search in the Browser on Saturday July 11, 2026 @03:51PM (#48875217)
Chrome ships with one (https://news.ycombinator.com/item?id=43973502) but AFAICT it’s only used for history, there’s no api for it. There’s also an included LLM? https://www.thatprivacyguy.com/blog/chrome-silent-nano-insta...
Re:Modernizing my "150-line" Python search engine on Monday February 09, 2026 @03:02PM (#46950323)
A few years ago I wrote a post about implementing tf-idf in 150 lines of python. The data source it relied on was removed (turns out Yahoo! isn't as relevant anymore).
Re:The Loyal Wingman on Tuesday October 21, 2025 @01:18PM (#45658481)
Adventures with writing a novel with LLMs
Added an MIT license. Have fun :-)
The idea was to illustrate the concepts of an inverted index and tf-idf :-) I've built some stuff like this for a smaller project written in Python because it was Easier™ than spinning up an Elasticsearch cluster (ie it definitely didn't need to scale :-D)
Author here: you may want to check out something like Whoosh https://whoosh.readthedocs.io/en/latest/intro.html (it's like a clone of Lucene but in pure Python). I've used this to build some basic search for a small Python website and it was more than fast enough for my purposes :-)

Older »