Model reference · open weights
sapiens-pretrain-torchscript is an open-weight embedding model from facebook. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | Meta |
|---|---|
| Published under | |
| Type | Embedding models |
| Task | Image embed |
| Runs with | sapiens |
| Released | 2024-09-09 |
| Popularity | 1k downloads / month |
| Licence | Commercial licence needed |
About
Sapiens is a family of vision transformers pretrained on 300 million human images at 1024 x 1024 image resolution. The pretrained models, when finetuned for human-centric vision tasks, generalize to in-the-wild conditions. Sapiens-1B natively support 1K high-resolution inference. The resulting models exhibit remarkable generalization to in-the-wild data, even when labeled data is scarce or entirely synthetic.
Pretrained 1B model can be used for feature extraction, fine-tuning, or as a starting point for training new models.
From the published model card. Full card on the HuggingFace links in the sidebar.
How it works
Using it via the API
Once AxForge deploys sapiens-pretrain-torchscript for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (sapiens-pretrain-torchscript below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"sapiens-pretrain-torchscript","input":"text to embed"}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.