reflections-encoder / README.md
system's picture
system HF Staff
deploy: sync encoder from 736c3e5
56749a4 verified
|
Raw
History Blame
639 Bytes
---
title: Reflections SigLIP Encoder
emoji: πŸ”Ž
colorFrom: indigo
colorTo: blue
sdk: docker
app_port: 7860
pinned: false
---
# Reflections SigLIP text-query encoder
Embeds a natural-language query into a 768-d L2-normalized vector using the
SigLIP2 text tower (`onnx-community/siglip2-base-patch16-256-ONNX`), in the same
cosine space as the photo image embeddings.
- `POST /encode` β€” `{ "query": "..." }` β†’ `{ "vector": [768 floats] }`. Requires
`Authorization: Bearer $SIGLIP_ENCODER_TOKEN`.
- `GET /health` β€” liveness for the keep-warm cron.
Set the Space secret `SIGLIP_ENCODER_TOKEN`. The model is baked into the image.