Spaces:
Running
Running
metadata
title: multilingual-nlp
colorFrom: indigo
colorTo: blue
sdk: docker
app_port: 7860
pinned: true
multilingual-nlp
Live API: https://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space
Models
- Embeddings:
BAAI/bge-m3Served name:multilingual-embedVector dimension:1024 - Reranker:
BAAI/bge-reranker-v2-m3Served name:multilingual-rerank - Classifier:
clapAI/modernBERT-base-multilingual-sentimentServed name:multilingual-classify
Endpoints
https://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/healthhttps://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/modelshttps://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/embeddingshttps://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/rerankhttps://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/classifyhttps://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/openapi.json
Example Requests
curl -X POST "https://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/embeddings" \
-H "Content-Type: application/json" \
-d '{"model":"multilingual-embed","input":["This is a multilingual embedding test."]}'
curl -X POST "https://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/rerank" \
-H "Content-Type: application/json" \
-d '{"model":"multilingual-rerank","query":"How do I reset my password?","documents":["Use the password reset form and confirm the email link.","Warsaw is the capital of Poland."],"return_documents":true}'
curl -X POST "https://huggingface.co/proxy/chmielvu-multilingual-nlp.hf.space/classify" \
-H "Content-Type: application/json" \
-d '{"model":"multilingual-classify","input":["This product is disappointing."]}'