Model reference · open weights
xlm-roberta-longformer-16384 is an open-weight embedding model from severinsimmler. 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 | severinsimmler |
|---|---|
| Type | Embedding models |
| Task | Embeddings |
| Parameters (lead) | 311M |
| Context | 16386 tokens |
| Runs with | transformers |
| Released | 2023-04-20 |
| Popularity | 4k downloads / month |
| Licence | Open weights |
About
⚠️ This is just the PyTorch version of hyperonym/xlm-roberta-longformer-base-16384 without any modifications.
xlm-roberta-longformer is a multilingual Longformer initialized with XLM-RoBERTa's weights without further pretraining. It is intended to be fine-tuned on a downstream task.
The notebook for replicating the model is available on GitHub: https://github.com/hyperonym/dirge/blob/master/models/xlm-roberta-longformer/convert.ipynb
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys xlm-roberta-longformer-16384 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (xlm-roberta-longformer-16384 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":"xlm-roberta-longformer-16384","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.