Spaces:
Running
Running
File size: 741 Bytes
8fe6cc7 468f02c 8fe6cc7 9a3c50a d155788 8fe6cc7 468f02c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ---
title: Devis Matcher Encoder
emoji: 🪛
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 5.49.0
python_version: "3.11"
app_file: app.py
pinned: false
license: mit
---
# Devis Matcher Encoder
HF Space exposing `Pradhap/devis-matcher` (fine-tuned camembert-large, ~440 MB)
as a sentence-embedding API for French construction document matching.
Used by the ConstructCRM backend (FastAPI on Render) to keep heavy model
weights off the 512 MB worker.
## API
```
POST /api/encode/
Content-Type: application/json
Body: {"data": [["text 1", "text 2"]]}
Returns: {"data": [[[float, ...], [float, ...]]], ...}
```
Send as many strings as you can in one call — the model encodes batches
significantly faster than one-at-a-time.
|