---
title: opensearch-project/opensearch-neural-sparse-encoding-v1
description: "The model should be selected considering search relevance, model inference and retrieval efficiency(FLOPS). We benchmark models' zero-shot p. BERT, 133M parameters."
canonical_url: https://superlinked.com/models/opensearch-project-opensearch-neural-sparse-encoding-v1
last_updated: 2026-06-05
---

# opensearch-project/opensearch-neural-sparse-encoding-v1

The model should be selected considering search relevance, model inference and retrieval efficiency(FLOPS). We benchmark models' zero-shot performance on a subset of BEIR benchmark: TrecCovid,NFCorpus,NQ,HotpotQA,FiQA,ArguAna,Touche,DBPedia,SCIDOCS,FEVER,Climate FEVER,SciFact,Quora.

Source: [opensearch-project/opensearch-neural-sparse-encoding-v1 on HuggingFace](https://huggingface.co/opensearch-project/opensearch-neural-sparse-encoding-v1)

## Overview

| Field | Value |
|-------|-------|
| Architecture | BERT |
| Parameters | 133M |
| Tasks | Encode |
| Outputs | Sparse |
| Dimensions | Sparse: 30,522 |
| Max sequence length | 512 tokens |
| License | apache-2.0 |
| Inputs | text |
| Languages | en |

## Benchmarks

### CQADupstackPhysicsRetrieval

Domain: scientific · Task: retrieval · Language: en

Duplicate question retrieval from StackExchange Physics

Corpus: 38,314 · Queries: 1,039

**Quality:** ndcg at 10: 0.3652 · map at 10: 0.3090 · mrr at 10: 0.3574

**Performance (L4 b1 c16):** Corpus 28.5K tok/s · Corpus p50 69.1ms · Query 2.4K tok/s · Query p50 66.5ms

[Reference](http://nlp.cis.unimelb.edu.au/resources/cqadupstack/)

### CosQA

Domain: technology · Task: retrieval · Language: en

Code search with natural language queries

Corpus: 6,267 · Queries: 500

**Quality:** ndcg at 10: 0.2435 · map at 10: 0.1868 · mrr at 10: 0.1985

**Performance (L4 b1 c16):** Corpus 15.2K tok/s · Corpus p50 52.0ms · Query 2.0K tok/s · Query p50 46.6ms

[Reference](https://arxiv.org/abs/2105.13239)

### FiQA2018

Domain: finance · Task: retrieval · Language: en

Financial opinion mining and question answering

Corpus: 57,599 · Queries: 648

**Quality:** ndcg at 10: 0.2632 · map at 10: 0.2004 · mrr at 10: 0.3273

**Performance (L4 b1 c16):** Corpus 40.2K tok/s · Corpus p50 59.4ms · Query 3.6K tok/s · Query p50 50.0ms

[Reference](https://sites.google.com/view/fiqa/)

### LegalBenchConsumerContractsQA

Domain: legal · Task: retrieval · Language: en

Question answering on consumer contracts

Corpus: 153 · Queries: 396

**Quality:** ndcg at 10: 0.7272 · map at 10: 0.6626 · mrr at 10: 0.6635

**Performance (L4 b1 c16):** Corpus 89.1K tok/s · Corpus p50 86.7ms · Query 5.1K tok/s · Query p50 50.1ms

[Reference](https://huggingface.co/datasets/nguha/legalbench)

### NFCorpus

Domain: medical · Task: retrieval · Language: en

Biomedical literature search from NutritionFacts.org

Corpus: 3,593 · Queries: 323

**Quality:** ndcg at 10: 0.3600 · map at 10: 0.1403 · mrr at 10: 0.5690

**Performance (L4 b1 c16):** Corpus 58.7K tok/s · Corpus p50 76.0ms · Query 1.5K tok/s · Query p50 51.0ms

[Reference](https://www.cl.uni-heidelberg.de/statnlpgroup/nfcorpus/)

### SCIDOCS

Domain: scientific · Task: retrieval · Language: en

Citation prediction, document classification, and recommendation for scientific papers

Corpus: 25,656 · Queries: 1,000

**Quality:** ndcg at 10: 0.1537 · map at 10: 0.0877 · mrr at 10: 0.2688

**Performance (L4 b1 c16):** Corpus 44.8K tok/s · Corpus p50 63.2ms · Query 3.5K tok/s · Query p50 49.5ms

[Reference](https://allenai.org/data/scidocs)

### SciFact

Domain: scientific · Task: retrieval · Language: en

Scientific claim verification using research literature

Corpus: 5,183 · Queries: 300

**Quality:** ndcg at 10: 0.6998 · map at 10: 0.6522 · mrr at 10: 0.6684

**Performance (L4 b1 c16):** Corpus 54.1K tok/s · Corpus p50 75.7ms · Query 5.2K tok/s · Query p50 50.0ms

[Reference](https://github.com/allenai/scifact)

### StackOverflowQA

Domain: technology · Task: retrieval · Language: en

Programming question answering from Stack Overflow

Corpus: 19,931 · Queries: 1,994

**Quality:** ndcg at 10: 0.7703 · map at 10: 0.7392 · mrr at 10: 0.7392

**Performance (L4 b1 c16):** Corpus 52.6K tok/s · Corpus p50 68.8ms · Query 65.6K tok/s · Query p50 71.9ms

[Reference](https://arxiv.org/abs/2407.02883)
