Why did we open-source our inference engine? Read the post

← Catalog

Alibaba-NLP/gte-Qwen2-1.5B-instruct

Open comparison →

Primitive: /encode · Encode · Qwen2

gte-Qwen2-1.5B-instruct is the latest model in the gte (General Text Embedding) model family. The model is built on Qwen2-1.5B LLM model and use the same training data and strategies as the gte-Qwen2-7B-instruct model.

Long contextDense

Overview

Hardware: — drives latency, throughput & cost

Size1.8B params
Tasks /encode
Licenseapache-2.0
Latency261 ms
Throughput12.3K tok/s
Cost$0.018 /1M tok

Cost is approximate — computed from list GPU prices; your actual price depends on the provider you deploy SIE with.

Embedding

Output typesDense
Dimensionsdense: 1,536
Max sequence length32,768
Inputstext

Benchmarks

CQADupstackPhysicsRetrieval

scientific retrieval en

Duplicate question retrieval from StackExchange Physics

Corpus: 38,314 Queries: 1,039
Quality
map at 10 0.4264
mrr at 10 0.4924
ndcg at 10 0.4889
Performance L4 b1 c16
Corpus 11.6K tok/s
Corpus p50 178.5ms
Query 2.2K tok/s
Query p50 69.6ms
Reference →

CosQA

technology retrieval en

Code search with natural language queries

Corpus: 6,267 Queries: 500
Quality
map at 10 0.2326
mrr at 10 0.2343
ndcg at 10 0.3013
Performance L4 b1 c16
Corpus 9.3K tok/s
Corpus p50 96.2ms
Query 1.2K tok/s
Query p50 66.8ms
Reference →

FiQA2018

finance retrieval en

Financial opinion mining and question answering

Corpus: 57,599 Queries: 648
Quality
ndcg at 10 0.5491
map at 10 0.4582
mrr at 10 0.6262
Performance L4 b1 c16
Corpus 11.8K tok/s
Corpus p50 222.9ms
Query 2.1K tok/s
Query p50 73.4ms
Reference →

LegalBenchConsumerContractsQA

legal retrieval en

Question answering on consumer contracts

Corpus: 153 Queries: 396
Quality
ndcg at 10 0.8087
map at 10 0.7596
mrr at 10 0.7609
Performance L4 b1 c16
Corpus 12.3K tok/s
Corpus p50 735.3ms
Query 3.1K tok/s
Query p50 71.9ms
Reference →

NFCorpus

medical retrieval en

Biomedical literature search from NutritionFacts.org

Corpus: 3,593 Queries: 323
Quality
ndcg at 10 0.3937
map at 10 0.1489
mrr at 10 0.5955
Performance L4 b1 c16
Corpus 12.7K tok/s
Corpus p50 384.4ms
Query 821 tok/s
Query p50 90.2ms
Reference →

NanoFiQA2018Retrieval

finance retrieval en

Smaller subset of the FiQA financial QA dataset

Quality
ndcg at 10 0.6524
map at 10 0.5848
mrr at 10 0.7032
Performance L4 b1 c16
Corpus 11.3K tok/s
Corpus p50 251.5ms
Query 1.9K tok/s
Query p50 88.7ms
Reference →

SCIDOCS

scientific retrieval en

Citation prediction, document classification, and recommendation for scientific papers

Corpus: 25,656 Queries: 1,000
Quality
ndcg at 10 0.2512
map at 10 0.1529
mrr at 10 0.4142
Performance L4 b1 c16
Corpus 12.4K tok/s
Corpus p50 261.1ms
Query 2.5K tok/s
Query p50 66.4ms
Reference →

SciFact

scientific retrieval en

Scientific claim verification using research literature

Corpus: 5,183 Queries: 300
Quality
ndcg at 10 0.7844
map at 10 0.7341
mrr at 10 0.7442
Performance L4 b1 c16
Corpus 12.6K tok/s
Corpus p50 370.4ms
Query 3.1K tok/s
Query p50 74.9ms
Reference →

StackOverflowQA

technology retrieval en

Programming question answering from Stack Overflow

Corpus: 19,931 Queries: 1,994
Quality
ndcg at 10 0.9115
map at 10 0.8972
mrr at 10 0.8972
Performance L4 b1 c16
Corpus 12.4K tok/s
Corpus p50 299.2ms
Query 11.4K tok/s
Query p50 421.4ms
Reference →

Open source inference for agents

Open-source inference for the models behind your agents. Run it yourself, or let us run it for you.

Contact us

Tell us about your use case and we'll get back to you shortly.

Apply for an inference grant

Free capacity on our hosted cluster for selected projects. Tell us what you run and we reply by email.