Better HN
topnewbestaskshowjobs
Log inSign up

kacperlukawski

104 karma · joined May 2, 2022 (4y ago) · 77 submissions

Submissions

1.

Ask HN: What's the best-managed open source repo you've seen on GitHub?

2 points · by kacperlukawski · 3mo ago · 1 comment

2.

Bielik.ai: Community-built, open-source LLMs for Polish and European languages(bielik.ai ↗)

3 points · by kacperlukawski · 4mo ago · discuss

3.

Haystack 3.0: Agents with hooks, skills, and built-in introspection(haystack.deepset.ai ↗)

8 points · by kacperlukawski · 4mo ago · 1 comment

4.

New multimodal Gemini embeddings from Google (videos and PDFs supported)(haystack.deepset.ai ↗)

1 points · by kacperlukawski · 8mo ago · discuss

comment 11mo ago · link · parent

Although it's in a different area, I wanted to mention https://calmcode.io/ as an excellent example of a calm learning platform.

There is a whole movement around enshittification, and I see potential in this kind of app, even though it still seems to be a niche.

6.

Ask HN: Front end stack for a new app in 2025

1 points · by kacperlukawski · 1y ago · 2 comments

7.

Elasticsearch Hybrid Search in Practice(softwaredoug.com ↗)

3 points · by kacperlukawski · 1y ago · discuss

comment 1y ago · link · parent

Is there a free trial available? Even 24 hours should be enough to say if I like it, but currently I have to pay from the day one. Or did I miss it?

comment 1y ago · link · parent

I'm always a bit worried if an extension gets permission to do anything it wants with all my files, including deleting them. Is there a way to restrict it and allow it to modify only the files it created?

comment 1y ago · link · parent

The problem is to scale that properly. If you have millions of documents, that won't scale that well. You are not going to prompt the LLM millions of times, aren't you?

Embedding models usually have fewer parameters than the LLMs, and once we index the documents, their retrieval is also pretty fast. Using LLM as a judge makes sense, but only on a limited scale.

comment 2y ago · link · parent

Interesting! Does it work based on speech or transcriptions?

comment 2y ago · link · parent

Why is that an issue? Training the tokenizer seems much more straightforward than training the model as it is based on the statistics of the input data. I guess it may take a while for massive datasets, but is calculating the frequencies impossible to be done on a bigger scale?

comment 2y ago · link · parent

Are there any specific reasons for using BPE, not Unigram, in LLMs? I've been trying to understand the impact of the tokenization algorithm, and Unigram was reported to be a better alternative (e.g., Byte Pair Encoding is Suboptimal for Language Model Pretraining: https://arxiv.org/abs/2004.03720). I understand that the unigram training process should eliminate under-trained tokens if trained on the same data as the LLM itself.

comment 2y ago · link · parent

Yeah, it seems like it got published too early.

15.

OpenAI announces GPT-4.5 Turbo(bing.com ↗)

5 points · by kacperlukawski · 2y ago · 2 comments

comment 2y ago · link · parent

I'm unsure if there is any comparison of LanceDB and Qdrant available out there, but there shouldn't be any issues with Python 3.12 and qdrant-client compatibility. Windows is also not a problem, as the typical local setup is usually based on Docker. Are there any specific features you are interested in?

comment 2y ago · link · parent

If you will be the only app user, then the Python SDK's local mode might be suitable. However, in the long run, when you decide to publish the app, you rather have to switch to an on-premise or cloud environment. Using Qdrant from the very beginning might be a good idea, as the interfaces are kept the same, and the switch is seamless.

Local mode: https://github.com/qdrant/qdrant-client#local-mode

comment 3y ago · link · parent

Qdrant here! We're already working on that :D

comment 3y ago · link · parent

How would you host sentence-transformers model for free? You need it to vectorize each query so that has to be hosted somewhere. Is there any way to do it for free?

comment 3y ago · link · parent

If you need semantic search locally then it's fine, but serving an embedding model might be still challenging. And if you want to expose it, your laptop might be not enough.

comment 3y ago · link · parent

This is also an interesting piece of how to do it completely for free: https://news.ycombinator.com/item?id=36693239

comment 3y ago · link · parent

It's a bit easier in Python if you use tools like https://www.serverless.com/. I'm not sure if Rust has something similar yet.

comment 3y ago · link · parent

It's Hugo, with a custom styling. https://gohugo.io/documentation/

24.

Product Quantization in Vector Search(qdrant.tech ↗)

10 points · by kacperlukawski · 3y ago · discuss

comment 3y ago · link · parent

Definitely Qdrant is a great option. It's an open source vector DB, so you can experiment locally without any cost, but if you prefer managed solution Qdrant Cloud is an option: https://cloud.qdrant.io/
123