Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode minicoil vectors to Qdrant #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

mrscoopers
Copy link

No description provided.

@mrscoopers mrscoopers requested a review from generall January 15, 2025 17:22
@mrscoopers mrscoopers self-assigned this Jan 15, 2025
indicies.append(word_id * embedding_size + val_id)
values.append(value)
indices.append((word_id - 1) * embedding_size + val_id) #since miniCOIL IDs start with 1
values.append(value * bm25_tf(num_occurences, sentence_len))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps only for positive values, or to remap miniCOIL output to range [0, 1] with norm 1, or smth against this penalizing of matching if some word "meaning" (dimension) is opposite in 2 docs;

Евгения Суходольская added 2 commits January 16, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant