Denspi: the address we list now redirects elsewhere · last checked 9 Nov 2026

Denspi

Denspi

Open-source phrase-retrieval QA from UW NLP that indexes 60 billion Wikipedia phrases so questions are answered by matching phrases, not reading documents.

51/100UnverifiedFreeFree

A reproducible, citable implementation of the phrase-retrieval idea, and still one of the clearest demonstrations that indexing phrases instead of documents can beat retrieve-and-read on latency — the ACL 2019 paper reports 0.5s CPU reads of all of Wikipedia and at least 58x faster inference. Pick it if you are replicating the paper, benchmarking CPU-serving latency, or building a phrase index over a custom corpus with the open/ tooling. Do not pick it as a shipped QA feature: the pretrained demo alone needs ~1.5 TB of SSD and a python=3.6 + Faiss 1.5.2 + DrQA toolchain, training needs 4x P40 (24 GB) GPUs, and there is no conversational layer.

Verdict generated

Last checked 20d ago · cite: rightaichoice.com/tools/denspi

Best for
  • NLP researchers studying dense-sparse hybrid retrieval and the phrase-retrieval formulation
  • Graduate students replicating the ACL 2019 DenSPI experiments with pretrained weights
  • Academic labs prototyping phrase indexing over a custom, non-Wikipedia corpus
  • Teams benchmarking CPU-serving latency of phrase retrieval against retrieve-and-read baselines
Not ideal for
  • Teams needing a hosted, supported QA product with an SLA or vendor help desk
  • Deployments without 1.5 TB SSD storage, 30 GB RAM and a Conda python=3.6 environment
  • Conversational or multi-turn question answering use cases
Visit Website

AdvancedExpect hours, not minutes, for a first run: the environment alone means creating a Conda python=3.6 env, installing faiss-cpu=1.5.2 from the pytorch channel, manually installing DrQA (typically with java-jdk) and pip-installing two separate requirements.txt files. The gsutil download of the 1.5 TB dump dominates. Once the files are local, the demo serves in about a minute.CLINo public APILast checked 20d ago
Pricing
Free
FreeFree tier4 hidden costs
Learning curve
Advanced
Expect hours, not minutes, for a first run: the environment alone means creating a Conda python=3.6 env, installing faiss-cpu=1.5.2 from the pytorch channel, manually installing DrQA (typically with java-jdk) and pip-installing two separate requirements.txt files. The gsutil download of the 1.5 TB dump dominates. Once the files are local, the demo serves in about a minute.
Runs on
CLI
No public API · 5 integrations
Who it's for
NLP researcher replicating the ACL 2019 paperAcademic lab indexing a custom, non-Wikipedia corpusEngineer benchmarking CPU-serving latency
Live sentiment
Is Denspi actually worth it?

We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

3 free scans · no card needed

Skip it if

Skip Denspi if you need a supported, hosted question-answering service rather than a repository you install yourself — this is an ACL 2019 research artifact that expects a Conda python=3.6 environment and roughly 1.5 TB of local SSD before it answers a single question.

Skip-it-if note generated
The 30-second take
Biggest gripe

The 1.5 TB phrase index dump downloads from the gs://denspi Google Cloud Storage bucket, and moving that much data out of GCS carries egress charges that are easy to forget when budgeting.

Price reality

Denspi is an Apache-2.0 open-source research release with no commercial tier — you pay in infrastructure, not licence fees. Budget for 1.5 TB of SSD, 30 GB RAM and at least 4 CPU cores to serve the pretrained demo, or 4x P40 (24 GB) GPUs to train your own model. Against a hosted open-domain QA API, that is a large fixed cost and a small marginal one; against a commercial retrieval stack, it is free code with research-grade operational overhead.

Generated

In short

Denspi — Open-source phrase-retrieval QA from UW NLP that indexes 60 billion Wikipedia phrases so questions are answered by matching phrases, not reading documents. Best for NLP researchers studying dense-sparse hybrid retrieval and the phrase-retrieval formulation, Graduate students replicating the ACL 2019 DenSPI experiments with pretrained weights, Academic labs prototyping phrase indexing over a custom, non-Wikipedia corpus. Free to use.

Claim this listing

What is Denspi?

Denspi — Open-source phrase-retrieval QA from UW NLP that indexes 60 billion Wikipedia phrases so questions are answered by matching phrases, not reading documents. Best for NLP researchers studying dense-sparse hybrid retrieval and the phrase-retrieval formulation, Graduate students replicating the ACL 2019 DenSPI experiments with pretrained weights, Academic labs prototyping phrase indexing over a custom, non-Wikipedia corpus. Free to use.

FreeAdvancedNo APICLI

Denspi (Dense-Sparse Phrase Index, or DenSPI) is an open-source research system from the University of Washington NLP group, published at ACL 2019 by Seo, Lee, Kwiatkowski, Parikh, Farhadi and Hajishirzi. It reframes open-domain question answering as pure phrase retrieval: instead of the standard retrieve-then-read pipeline, it enumerates, embeds and indexes every phrase in Wikipedia — 60 billion of them — and answers a question by matching encoded phrases rather than reading documents with a separate model. Questions are encoded by a PyTorch/Huggingface BERT-based server, and retrieval runs against a combined dense and sparse index: dense phrase vectors balanced against paragraph-level TF-IDF vectors from DrQA, with Faiss (faiss-cpu=1.5.2, installed via Conda) handling vector search. The authors report reading the entire Wikipedia in about 0.5 seconds on CPUs, at least 58x faster inference than retrieve-and-read models. It is built for NLP researchers and academic labs who want to replicate the ACL 2019 numbers, benchmark CPU-serving latency against retrieve-and-read baselines, or build a phrase index over their own corpus using the open/ indexing code. It is not a hosted QA product — the install is research-grade (Conda python=3.6, manual DrQA and Faiss installs, roughly 1.5 TB of files pulled with gsutil from the gs://denspi Google Cloud Storage bucket), and the hardware floor is 4 CPU cores, 30 GB RAM and 1.5 TB SSD with no GPU required for serving.

Key features

  • End-to-end open-domain QA formulated as pure phrase retrieval, with no separate retriever-reader pipeline
  • Dense-Sparse Phrase Index (DenSPI) enumerates, embeds and indexes every phrase in Wikipedia — 60 billion phrases
  • Reports reading the entire Wikipedia in about 0.5 seconds on CPUs, at least 58x faster inference than retrieve-and-read models
  • PyTorch-based REST API server maps an input question to a BERT embedding, returned as JSON
  • hdf5-based phrase index with a browser demo search server that starts in about a minute
  • Combined dense phrase embeddings and DrQA paragraph-level TF-IDF sparse vectors in one Faiss index
  • BERT-based phrase embeddings built on PyTorch with Huggingface's implementation
  • Custom phrase index building: dump phrase vectors to hdf5, build a Faiss index, generate custom TF-IDF
  • Distributed dumping to scale phrase vector generation across GPUs
  • Training code for SQuAD v1.1 plus negative-sample finetuning and a phrase classifier stage
  • Pretrained Wikipedia QA models and dumps downloadable from the gs://denspi Google Cloud Storage bucket
  • Apache-2.0 licensed code, installed via Conda (python=3.6) with faiss-cpu=1.5.2 and DrQA
  • Google Cloud setup and local-SSD guidance via setup_google_cloud.sh and nvme.sh
  • Scale tuning for large indices via --num_clusters (e.g. 1M) and the --hnsw flag

Behind the verdict

Denspi's contribution is conceptual as much as practical: it removes the reader entirely. Rather than retrieving documents and then extracting an answer span, DenSPI enumerates, embeds and indexes every phrase in Wikipedia (60 billion) so that open-domain QA becomes a pure phrase retrieval problem. The index mixes dense phrase embeddings from a BERT-based encoder with paragraph-level sparse TF-IDF vectors from DrQA, all served through Faiss. The payoff the authors report is latency — reading the entire Wikipedia in roughly 0.5 seconds on CPUs, at least 58x faster inference than retrieve-and-read models — which is what makes long-tail answers reachable in real time. What you actually get in the repository: a PyTorch-based server that maps an input question to a BERT embedding and returns it as JSON over a REST port; an hdf5-based phrase index with a browser demo search server (run_demo.py) that starts in about a minute once files land; and genuine custom-corpus tooling under open/ — distributed dumping of dense phrase vectors to hdf5, Faiss index building via run_index.py, paragraph-level TF-IDF generation with dump_tfidf.py, and the demo server itself. Training code covers SQuAD v1.1, a negative-sample finetuning pass, and a phrase classifier stage. The README is honest about scale: a Wikipedia-sized index wants a large --num_clusters (e.g. 1M) and the --hnsw flag. Where it hurts is operations. You need a Conda environment pinned to python=3.6 because Faiss 1.5.2 cannot be installed with pip, DrQA installed manually first (typically requiring java-jdk via conda), and two separate requirements.txt files — the root one for the PyTorch question-encoding server, open/requirements.txt for the search server and demo. Model, BERT, Wikipedia TF-IDF and dump files come from the gs://denspi bucket, and the dump alone is 1.5 TB. Hardware floor for serving is 4 CPU cores, 30 GB RAM and 1.5 TB SSD with no GPU; on Google Cloud the authors used 8 vCPUs, 30 GB RAM and 6 local SSDs and recommend local SSD for cheaper, lower-latency disk access at the cost of persistency. Training your own model is the expensive part: 4x P40 (24 GB) GPUs for the specified batch size, roughly 16 hours for three epochs on SQuAD v1.1, a further finetuning pass with negative samples, then under four hours for the phrase classifier. Answers are tied to a fixed Wikipedia snapshot and accuracy drops on out-of-domain questions. There is no conversational or multi-turn layer and no vendor support channel. Treat Denspi as a research artifact and a benchmark, not a product.

Models under the hood

BERT

as of 2026-09-09

Limitations

  • Denspi is a research system, not a maintained product.
  • Running the pretrained demo requires at least 4 CPU cores, 30 GB RAM and roughly 1.5 TB of SSD for the phrase index dump, and the download is the first real gate.
  • The environment is pinned to Python 3.6 via Conda because Faiss 1.5.2 cannot be installed with pip, DrQA must be installed manually first (java-jdk is typically needed), and two separate requirements.txt files apply — the root one for the PyTorch question-encoding server, open/requirements.txt for the search server.
  • Answers are tied to a fixed Wikipedia snapshot, and accuracy drops on out-of-domain questions.
  • Training your own model needs about 4x P40 (24 GB) GPUs, roughly 16 hours for three epochs on SQuAD v1.1, plus a negative-sample finetuning pass and a phrase classifier stage.
  • There is no conversational layer and no vendor support channel.

as of 2026-10-15

Researching Denspi? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Is Denspi still active?

Denspi: the address we list now redirects elsewhere · last checked 9 Nov 2026.

Viability score

51/100
Unverified

How well maintained and how widely used is Denspi? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
not measured
Traction
100
Site health
40
identity move
not measured
User sentiment
47
What the vendor publishes
20

Last calculated: November 2026

How we score →

What do users say about Denspi?

What people actually say about Denspi — is it worth it?

We scanned public community sources for Denspi on Sep 15, 2026 and could not establish that the discussion we found is about this tool rather than something else sharing its name. Only 3 of the posts we fetched could be positively tied to Denspi. Rather than publish a sentiment score built on the wrong subject, we publish nothing here and re-run the scan.

How we verified this

Every listed fact about Denspi — pricing, features, links, status — is re-read from the vendor's own pages by our verification pipeline and each change is logged with a date; the last pass ran on 25 Oct 2026. Analysis is drafted with AI models and checked against our editorial standards before publishing; see how we verify.

Verification history

We have re-verified Denspi 11 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. — changed SSL certificate
  2. — changed switching in, integrations, summary, limitations, who should skip it, our verdict, setup time, features, description, pricing fit, switching out, hidden costs
  3. — changed who it suits, description, our verdict, features, integrations, who should skip it, summary
  4. — changed website status
  5. — changed link health
  6. — changed limitations, hidden costs, switching out, summary, switching in, description, who should skip it, features, pricing fit, who it suits, our verdict, setup time, use cases

Showing the 6 most recent of 11 verification passes.

Free to cite with attribution — this page re-verifies continuously.

Claim this listing

How much does Denspi cost in 2026?

Denspi: Free to use. Pricing last verified 25 Oct 2026.

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • The 1.5 TB phrase index dump downloads from the gs://denspi Google Cloud Storage bucket, and moving that much data out of GCS carries egress charges that are easy to forget when budgeting.
  • Training your own model rather than downloading the pretrained weights needs 4x P40 (24 GB) GPUs for the specified batch size — roughly 16 hours for three epochs on SQuAD v1.1 plus a negative-sample finetuning pass and
  • On Google Cloud the authors used 8 vCPUs, 30 GB RAM and 6 local SSDs, and they recommend local SSD because it is cheaper and lower-latency — but local SSD is not persistent, so an instance stop can mean re-downloading
  • A Wikipedia-sized index wants a large --num_clusters value (e.g. 1M) and the --hnsw flag, so the compute and memory you size for a small test corpus will not carry over to full scale.

Where the pricing makes sense

The company stage and team size where Denspi's pricing actually pencils out — and where peers do it cheaper.

Denspi is an Apache-2.0 open-source research release with no commercial tier — you pay in infrastructure, not licence fees. Budget for 1.5 TB of SSD, 30 GB RAM and at least 4 CPU cores to serve the pretrained demo, or 4x P40 (24 GB) GPUs to train your own model. Against a hosted open-domain QA API, that is a large fixed cost and a small marginal one; against a commercial retrieval stack, it is free code with research-grade operational overhead.

Hidden-cost and price-fit notes generated

Who should pick Denspi?

Pick Denspi if you are NLP researchers studying dense-sparse hybrid retrieval and the phrase-retrieval formulation, Graduate students replicating the ACL 2019 DenSPI experiments with pretrained weights, Academic labs prototyping phrase indexing over a custom, non-Wikipedia corpus, Teams benchmarking CPU-serving latency of phrase retrieval against retrieve-and-read baselines.

Look elsewhere if you are Teams needing a hosted, supported QA product with an SLA or vendor help desk, Deployments without 1.5 TB SSD storage, 30 GB RAM and a Conda python=3.6 environment, Conversational or multi-turn question answering use cases.

Skip it if Skip Denspi if you need a supported, hosted question-answering service rather than a repository you install yourself — this is an ACL 2019 research artifact that expects a Conda python=3.6 environment and roughly 1.5 TB of local SSD before it answers a single question.

Generated

Real-world workflow fit

Concrete scenarios for the personas Denspi actually fits — and what changes day-one when you adopt it.

NLP researcher replicating the ACL 2019 paper

Create a Conda env with python=3.6, install faiss-cpu=1.5.2 from the pytorch channel and DrQA manually (java-jdk via conda), then pull the bert, wikipedia, data, model and 1.5 TB dump directories from gs://denspi with gsutil. Start the question-encoding API with run_piqa.py and the demo with open/run_demo.py.

Outcome: A local Wikipedia phrase-retrieval demo answering questions in about a minute after startup, giving you the exact setup the paper describes to check reported behaviour.

Academic lab indexing a custom, non-Wikipedia corpus

Use the open/ tooling to dump dense phrase vectors to hdf5 in a distributed run, generate paragraph-level TF-IDF with dump_tfidf.py, then build the combined Faiss index with run_index.py — setting a large --num_clusters and enabling --hnsw for scale.

Outcome: A phrase index over your own corpus that reuses the same dense-sparse retrieval and serving path as the Wikipedia demo.

Engineer benchmarking CPU-serving latency

Serve the pretrained model on a 4-core, 30 GB RAM box with 1.5 TB SSD and measure phrase retrieval against a retrieve-and-read baseline, watching the effect of --num_clusters and --hnsw on the Faiss search stage.

Outcome: Your own measurement of the reported 0.5s full-Wikipedia read and the claimed at-least-58x inference speedup, on your hardware rather than the paper's.

Workflow scenarios generated

Use cases

  • Answer factual questions by indexing all of Wikipedia as phrases
  • Benchmark open-domain QA systems against the ACL 2019 numbers
  • Study the trade-off between dense embeddings and sparse TF-IDF retrieval
  • Build a phrase index over a custom corpus using the open/ indexing code
  • Reproduce the reported 0.5s CPU inference on a full Wikipedia index
  • Serve a local question-answering demo behind a small REST API

Setup time & first value

How long it actually takes to get something useful out of Denspi — broken out by persona, not the marketing-page minute.

Expect hours, not minutes, for a first run: the environment alone means creating a Conda python=3.6 env, installing faiss-cpu=1.5.2 from the pytorch channel, manually installing DrQA (typically with java-jdk) and pip-installing two separate requirements.txt files. The gsutil download of the 1.5 TB dump dominates. Once the files are local, the demo serves in about a minute.

Switching to or from Denspi

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • →From a retrieve-then-read pipeline (e.g. DrQA-style document retrieval plus a reader model): reuse the DrQA paragraph TF-IDF you already generate and pair it with dense phrase embeddings in one Faiss index.
  • →From a vector-search prototype: the open/ code path (dump vectors to hdf5, run_index.py to build Faiss) maps onto an existing embedding pipeline.
  • →From a hosted open-domain QA API: replicate latency locally by serving the pretrained model on 4 cores, 30 GB RAM and 1.5 TB SSD.
Migrating out
  • ↗To a hosted QA API: nothing in Denspi ships as a service, so plan to wrap or replace the run_piqa.py question-encoding server and run_demo.py search server yourself.
  • ↗To a conversational assistant stack: Denspi has no multi-turn layer, so a dialogue system would sit entirely on top of, not inside, this codebase.
  • ↗To a newer retrieval model: answers here are tied to a fixed Wikipedia snapshot, so moving on means re-indexing rather than exporting an index.

Integrations

Google Cloud StorageFaissDrQAPyTorchHugging Face

Tutorials & Learning

YouTube returned 6 videos for “Denspi”, and we withheld 6: 6 could not be judged, because “Denspi” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about Denspi.

Official links

What are the best Denspi alternatives?

The closest alternatives to Denspi we list are GPT Researcher, openscience and Ltp. Ranked by direct product-type match, not category overlap.

Closest alternatives to Denspi
AlternativePricingStarts atLast verified
GPT ResearcherFreemiumPricing not published—
openscienceFreemiumPricing not published—
LtpFreemiumPricing not published—

Alternatives to Denspi

View all
GPT Researcher

GPT Researcher

Open-source deep research agent that reads sources in parallel and writes cited reports you self-host

FreemiumTry
openscience

openscience

Open-source AI co-scientist that runs scientific research workflows: literature search, Python code, and experiments in one workspace.

FreemiumTry
Ltp

Ltp

LTP is HIT-SCIR's open-source Chinese NLP toolkit — segmentation, POS tagging, NER, dependency parsing and semantic dependency parsing via pip install ltp.

FreemiumTry

Tools that pair well with Denspi

Common stack mates teams adopt alongside Denspi, with the specific reason each pairing earns its keep.

Denspi vs its closest rival

Denspi's closest head-to-head is with Surge Ai.

Our Denspi vs Surge Ai verdict written Jul 3, 2026 is more than 90 days old, so it is being re-reviewed against current data and is not shown.

Used Denspi? Help shape our editorial sentiment research.