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

Support HF Inference API Reranker #123

Open
tazarov opened this issue Jul 12, 2024 · 0 comments
Open

Support HF Inference API Reranker #123

tazarov opened this issue Jul 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request RF Reranking Functions
Milestone

Comments

@tazarov
Copy link
Contributor

tazarov commented Jul 12, 2024

curl --request POST
--url https://api-inference.huggingface.co/pipeline/sentence-similarity/BAAI/bge-reranker-base
--header 'Authorization: Bearer xxxx'
--header 'Content-Type: application/json'
--data '{"inputs":{"source_sentence": "What is the capital of France?",
"sentences": ["Bonn is the capital of Germany","Paris is the capital of France."]}}'

@tazarov tazarov added the enhancement New feature or request label Jul 12, 2024
@tazarov tazarov added this to the v0.2.0 milestone Jul 12, 2024
@tazarov tazarov self-assigned this Aug 23, 2024
@tazarov tazarov added the RF Reranking Functions label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request RF Reranking Functions
Projects
None yet
Development

No branches or pull requests

1 participant