Model reference · open weights
quora-roberta is an open-weight embedding model from cross-encoder. 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
| Maker | cross-encoder |
|---|---|
| Type | Embedding models |
| Task | Reranker |
| Parameters (lead) | 125M |
| Context | 514 tokens |
| Runs with | sentence-transformers |
| Based on | FacebookAI/roberta-base |
| Released | 2022-03-02 |
| Popularity | 6k downloads / month |
| Licence | Open weights |
About
This model was trained using SentenceTransformers Cross-Encoder class.
This model was trained on the Quora Duplicate Questions dataset. The model will predict a score between 0 and 1 how likely the two given questions are duplicates.
Note: The model is not suitable to estimate the similarity of questions, e.g. the two questions "How to learn Java" and "How to learn Python" will result in a rather low score, as these are not duplicates.
Pre-trained models can be used like this:
from sentence_transformers import CrossEncoder
model = CrossEncoder('cross-encoder/quora-roberta-base')
scores = model.predict([('Question 1', 'Question 2'), ('Question 3', 'Question 4')])
You can use this model also without sentence_transformers and by just using Transformers AutoModel class
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys quora-roberta for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (quora-roberta 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":"quora-roberta","input":"text to embed"}'
Create an account — your API key is available in the console. 5M tokens/month currently included with every new account at launch.