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

feat: HuggingFace download support for FlagEmbedding #94

Merged
merged 8 commits into from
Jan 23, 2024

Conversation

Anush008
Copy link
Member

@Anush008 Anush008 commented Jan 16, 2024

This change also works up towards #86, since now JinaEmbedding differs only by an extra mean pooling step.

@Anush008 Anush008 force-pushed the hf-flagembedding-download branch from 193dcc1 to 3f28f78 Compare January 16, 2024 19:00
@Anush008 Anush008 marked this pull request as draft January 16, 2024 19:02
@Anush008 Anush008 force-pushed the hf-flagembedding-download branch from 3f28f78 to 33a5901 Compare January 16, 2024 19:09
@Anush008 Anush008 marked this pull request as ready for review January 16, 2024 19:17
Copy link
Contributor

@NirantK NirantK left a comment

Choose a reason for hiding this comment

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

Excellent PR overall — minor implementation comments primarily

fastembed/embedding.py Show resolved Hide resolved
fastembed/models.json Outdated Show resolved Hide resolved
fastembed/embedding.py Show resolved Hide resolved
@Anush008 Anush008 force-pushed the hf-flagembedding-download branch 2 times, most recently from b022c9f to a3f86a8 Compare January 17, 2024 12:31
@Anush008 Anush008 force-pushed the hf-flagembedding-download branch from a3f86a8 to 1371984 Compare January 17, 2024 12:34
@Anush008
Copy link
Member Author

Anush008 commented Jan 17, 2024

@NirantK, review please.

@Anush008 Anush008 requested a review from NirantK January 17, 2024 12:38
@Anush008 Anush008 force-pushed the hf-flagembedding-download branch 2 times, most recently from c8890e8 to 7a64189 Compare January 18, 2024 18:00
@Anush008 Anush008 force-pushed the hf-flagembedding-download branch from 7a64189 to ce72a74 Compare January 18, 2024 18:17
fastembed/models.json Outdated Show resolved Hide resolved
fastembed/embedding.py Outdated Show resolved Hide resolved
fastembed/embedding.py Outdated Show resolved Hide resolved
@Anush008 Anush008 requested a review from NirantK January 23, 2024 03:59
Copy link
Contributor

@NirantK NirantK left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@NirantK NirantK merged commit ede507e into main Jan 23, 2024
12 checks passed
@NirantK NirantK deleted the hf-flagembedding-download branch January 23, 2024 07:17
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.

interruption of model downloading leads to a corrupted cache Promote Huggingface Hub to first class citizen
2 participants