HN user

syntaxers

26 karma
Posts1
Comments8
View on HN

17 USC 106 gives copyright holders exclusive rights to reproduce and distribute copies; no exemption exists for downloading digital copies because you own the physical book, and fair use (17 USC 107) is unlikely to apply when commercial alternatives exist and you’re copying entire works from unauthorized distributors.

Qdrant 1.7.0 3 years ago

Your observations for using a vector DB for retrieval-augmented generation are consistent with my own.

For my applications, I use pgvector since I can also use fulltext indexes and JOINs with the rest of my business logic which is stored in a postgres database. This also makes it easier to implement hybrid search, where the fulltext results and semantic search results are combined and reranked.

I think the main selling-point for standalone vector databases is scale, i.e., when you have a single "corpus" of over 10^7 chunks and embedding vectors that needs to serve hundreds of req/s. In my opinion, the overhead of maintaining a separate database that requires syncing with your primary database did not make sense for my application.

LLM Visualization 3 years ago

It's an incentives problem. At research universities, promotion is contingent on research output, and teaching is often seen as a distraction. At so-called teaching universities, promotion (or even survival) is mainly contingent on throughput, and not measures of pedagogical outcome.

If you are a teaching faculty at a university, it is against your own interests to invest time to develop novel teaching materials. The exception might be writing textbooks, which can be monetized, but typically are a net-negative endeavor.

> VUDA only takes kernels in SPIR-V format. VUDA does not provide any support for compiling CUDA C kernels directly to SPIR-V (yet). However, it does not know or care how the SPIR-V source was created - may it be GLSL, HLSL, OpenCL.

So the answer is no, it can't be used with kernels that use cublas or cudnn, which excludes almost all ML use-cases.

Here's a really cool interactive visualization of the Hamiltonian Monte Carlo algorithm, where you can choose different target distributions and play around with the algorithm parameters: https://chi-feng.github.io/mcmc-demo/app.html?algorithm=Hami...

Source code: https://github.com/chi-feng/mcmc-demo/blob/master/algorithms...

It also has visualizations for other flavors of Hamiltonian Monte Carlo, including the No-U-Turn Sampler (NUTS) used by Stan.