Spaces:
Running
Running
| 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. | |