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

Tf-idf fix: punctuation removal + lowercasing #339

Merged
merged 14 commits into from
Sep 24, 2024
Merged

Conversation

I8dNLo
Copy link
Contributor

@I8dNLo I8dNLo commented Sep 9, 2024

Remove punctuation properly + lowercase
Average recall 0.83 -> 0.88

Remove punctuation properly + lowercase
@I8dNLo I8dNLo changed the title Tf-idf fix: Tf-idf fix: punctuation removal + lowercasing Sep 9, 2024
fastembed/sparse/bm25.py Outdated Show resolved Hide resolved
fastembed/common/utils.py Outdated Show resolved Hide resolved
fastembed/common/utils.py Outdated Show resolved Hide resolved
fastembed/sparse/bm25.py Outdated Show resolved Hide resolved
fastembed/sparse/utils/tokenizer.py Outdated Show resolved Hide resolved
fastembed/sparse/utils/tokenizer.py Outdated Show resolved Hide resolved
# Conflicts:
#	fastembed/sparse/bm25.py
#	tests/test_attention_embeddings.py
@joein joein merged commit 65c2efd into main Sep 24, 2024
17 checks passed
@joein joein deleted the tf-idf-great-again branch September 24, 2024 11:21
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.

2 participants