Better HN
topnewbestaskshowjobs
Log inSign up

raphaelty

127 karma · joined May 9, 2019 (7y ago) · 52 submissions

PhD in NLP, I love Open Source
Submissions

comment 3y ago · link · parent

It's because of the loss of the model. I ask the model to produce a higher similarity between the query and the positive document rather than between the query and the negative document. I'll add more losses soon so there are more choices

comment 3y ago · link · parent

Nice, it might already be compatible with BGE, I'll try it and add it to the documentation soon

comment 3y ago · link · parent

Yes exactly

comment 3y ago · link · parent

In the documentation there is an evaluation module with detailed informations. The idea is to gather relevant pairs of queries and documents that are not part of the training set. Then the idea is to measure, using various metrics, how your model can retrieve accurate documents.

comment 3y ago · link · parent

Hi, there is a single loss right now, but I plan to add some Sentence Transformers losses. ColBERT is slow as a retriever, but is quite efficient as a Ranker on GPU (way faster than cross-encoder). I plan to release pre-trained checkpoints on HuggingFace with benchmarks using BEIRand inference speed info.

36.

Show HN: ColBERT Build from Sentence Transformers(github.com ↗)

66 points · by raphaelty · 3y ago · 18 comments

37.

Show HN: Fine-Tuning Splade and SparseEmbed LMs(github.com ↗)

1 points · by raphaelty · 3y ago · discuss

38.

Cherche: Semantic Search(github.com ↗)

3 points · by raphaelty · 3y ago · discuss

comment 3y ago · link · parent

Cherche 2.0 is now available, and it's been optimized for batch-computing, along with other new features. Whether you're a practitioner, researcher, or hacker interested in semantic search, Cherche might be a good fit for your needs.

40.

Minimalist semantic search with Cherche 2.0(github.com ↗)

3 points · by raphaelty · 3y ago · 1 comment

comment 3y ago · link · parent

I build my personnal search engine which record things I like on twitter, blog posts etc.. It automatically calls those APIs using Github Action and store them in an open source database (json file)

I actualy use it at least twice a week to retrieve content I bookmarked, so I'm happy to have created such a tool.

The app: https://raphaelsty.github.io/knowledge/?query=bayesian

The Github: https://github.com/raphaelsty/knowledge

42.

Python client for knowledge graph exploration(github.com ↗)

2 points · by raphaelty · 4y ago · discuss

comment 4y ago · link · parent

I think 10 million documents is a large corpus. A retriever like Sklearn TfIdf will have a hard time handling it in a reasonable time. The main goal of Cherche is to prototype a neural search engine quickly and with a large choice of retrievers and rankers for corpus sizes < 1 million documents which is a common use case in the industry.

Search implements a wrapper of the Python ElasticSearch client that is scalable and dedicated to corpora composed of tens of millions of documents.

comment 4y ago · link · parent

Thank you for these great resources.

comment 4y ago · link · parent

Hi,

1) The dependency on the Elasticsearch python client allows Elasticsearch to be used as a retriever. The same goes for Lunr. It might be interesting to separate the different dependencies.

2) Of course I'll update it.

comment 4y ago · link · parent

I'm more used to reading than posting on Hacker News. I'll do better next time. :)

47.

Neural search library in Python for medium-sized corpora

4 points · by raphaelty · 4y ago · 4 comments

48.

Neural Search for medium sized corpora(github.com ↗)

53 points · by raphaelty · 4y ago · 7 comments

comment 6y ago · link · parent

Knowledges graphs are structured resources in the form of graphs that contain knowledge. These resources are used in a large number of applications linked to the machine learning.

I just published a library dedicated to knowledges graphs embeddings. The Mkb API is inspired by Scikit Learn. I provide modular tools for building latent graph representations.

50.

Knowledge Graphs Emb. With PyTorch(github.com ↗)

3 points · by raphaelty · 6y ago · 1 comment

12