201 karma · joined Mar 4, 2016 (10y ago) · 78 submissions
comment 1mo ago · link · parent
"Several years ago, when I was ill, Heinlein offered his help, anything he could do, and we had never met; he would phone me to cheer me up and see how I was doing. He wanted to buy me an electric typewriter, God bless him—one of the few true gentlemen in this world. I don't agree with any ideas he puts forth in his writing, but that is neither here nor there. One time when I owed the IRS a lot of money and couldn't raise it, Heinlein loaned the money to me. I think a great deal of him and his wife; I dedicated a book to them in appreciation. Robert Heinlein is a fine-looking man, very impressive and very military in stance; you can tell he has a military background, even to the haircut. He knows I'm a flipped-out freak and still he helped me and my wife when we were in trouble. That is the best in humanity, there; that is who and what I love."
comment 3mo ago · link · parent
https://github.com/jankovicsandras/plpgsql_bm25 BM25 search implemented in PL/pgSQL ( Unlicense / Public domain )
The repo includes also plpgsql_bm25rrf.sql : PL/pgSQL function for hybrid search ( plpgsql_bm25 + pgvector ) with Reciprocal Rank Fusion; and Jupyter notebook examples.
comment 3mo ago · link · parent
Shameless plug: https://github.com/jankovicsandras/plpgsql_bm25 BM25 search implemented in PL/pgSQL ( Unlicense / Public domain )
The repo includes also plpgsql_bm25rrf.sql : PL/pgSQL function for hybrid search ( plpgsql_bm25 + pgvector ) with Reciprocal Rank Fusion; and Jupyter notebook examples.
comment 10mo ago · link · parent
Shameless plug: https://github.com/jankovicsandras/plpgsql_bm25 BM25 search implemented in PL/pgSQL ( Unlicense / Public domain )
The repo includes also plpgsql_bm25rrf.sql : PL/pgSQL function for hybrid search ( plpgsql_bm25 + pgvector ) with Reciprocal Rank Fusion; and Jupyter notebook examples.
comment 11mo ago · link · parent
Shameless plug: https://github.com/jankovicsandras/plpgsql_bm25 BM25 search implemented in PL/pgSQL ( Unlicense / Public domain )
The repo includes plpgsql_bm25rrf.sql : PL/pgSQL function for hybrid search ( plpgsql_bm25 + pgvector ) with Reciprocal Rank Fusion; and Jupyter notebook examples.
comment 12mo ago · link · parent
Here's some feedback:
- the diagram is not centered and zoomed by default, this is easy to fix
- it would be great to have better animation controls, like progressbar, play half speed, etc.
- it would be great to be able to export animation to video, animgif, etc. e. g. with ffmpeg.js
comment 1y ago · link · parent
The repo includes plpgsql_bm25rrf.sql : PL/pgSQL function for Hybrid search ( plpgsql_bm25 + pgvector ) with Reciprocal Rank Fusion; and Jupyter notebook examples.
comment 1y ago · link · parent
Shameless plug: plpgsql_bm25: BM25 search implemented in PL/pgSQL (The Unlicense / PUBLIC DOMAIN)
https://github.com/jankovicsandras/plpgsql_bm25
There's an example Postgres_hybrid_search_RRF.ipynb in the repo which shows hybrid search with Reciprocal Rank Fusion ( plpgsql_bm25 + pgvector ).
comment 1y ago · link · parent
comment 1y ago · link · parent
Shameless plug: https://github.com/jankovicsandras/plpgsql_bm25
BM25 search implemented in PL/pgSQL, there's also an example of Hybrid (BM25+pgvector) search in the repo.
comment 1y ago · link · parent
Shameless plug:
https://github.com/jankovicsandras/plpgsql_bm25
BM25 search implemented in PL/pgSQL, might be useful if one can't use Rust extensions with Postgres, e. g. hosted Postgres without admin rights.
comment 1y ago · link · parent
about:config -> security.fileuri.strict_origin_policy -> false
source: https://stackoverflow.com/questions/58067499/runing-javascri...
comment 1y ago · link · parent
comment 1y ago · link · parent
https://github.com/jankovicsandras/plpgsql_bm25
Opensource BM25 search in PL/pgSQL (for example where you can't use Rust extensions), and hybrid search with pgvector and Reciprocal Rank Fusion.
comment 2y ago · link · parent
- easier to use with untokenized corpus and questions
- to fix issues with the tokenizing ( e.g. https://github.com/dorianbrown/rank_bm25/issues/38 ); also rank_bm25 provides no default tokenizer, a naive split-on-whitespace is a wrong choice
- considerably simplify the code (way less SLOC)
- point out the similarities of the algorithms for educational purpuses / further development
In practice, the differences are minimal ( see Example 3: comparison with rank_bm25 ).
18.
Show HN: BM25opt – 30-40 x faster BM25 search algorithms (FOSS)(github.com ↗)
1 points · by jankovicsandras · 2y ago · 2 comments
comment 2y ago · link · parent
Shameless plug:
BM25 search implemented in PL/pgSQL: https://github.com/jankovicsandras/plpgsql_bm25
faster BM25 search algorithms in Python: https://github.com/jankovicsandras/bm25opt
comment 2y ago · link · parent
https://github.com/SYSTRAN/faster-whisper (speech-to-text) https://github.com/rhasspy/piper (text-to-speech)
comment 2y ago · link · parent
comment 2y ago · link · parent
https://github.com/jankovicsandras/plpgsql_bm25
Might be useful in hosted/cloud Postgres, where you can't use Rust extensions.
comment 2y ago · link · parent
Shameless plug (FOSS): https://github.com/jankovicsandras/plpgsql_bm25 Okapi BM25 search implemented in PL/pgSQL for Postgres.
24.
Show HN: FOSS Okapi BM25 search for Postgres without extensions(github.com ↗)
3 points · by jankovicsandras · 2y ago · discuss
comment 2y ago · link · parent
I don't see the word "personal" in this sentence, only "any data collection". It's clearly not in the users' interest/benefit to activate this data collection, and not required for the normal functioning of the browser/websites. So activating this silently is minimum _very unethical_ and probably illegal, but I'm not a lawyer.
comment 2y ago · link · parent
comment 2y ago · link · parent
1. go to https://web.libera.chat/
2. click Start (as a Guest account)
comment 2y ago · link · parent
GPT-4 is not an LLM, but a complex software system, which has LLM(s) at its core, but also other components like RAG, toxicity filter, apologizing mechanism, expert systems, etc. "GPT-4" is product name / marketing name. For OpenAI, this would be logical for performance and business reasons. This explains also how they can tune it, the apparent secrecy about the architecture, etc.
It's also logical to make small, incremental changes to this system instead of building whatever GPT-5 would mean from ground up. So I expect "GPT-5" is also just a marketing name for a slightly better black-box (for us) system and product line.