PaperQA reader implemented using Nvidia's nemotron-parse VLM API
Project description
paper-qa-nemotron
PDF reading code backed by Nvidia's nemotron-parse VLM.
For more info on nemotron-parse, check out:
- Technical blog: https://developer.nvidia.com/blog/turn-complex-documents-into-usable-data-with-vlm-nvidia-nemotron-parse-1-1/
- Hugging Face weights: https://huggingface.co/nvidia/NVIDIA-Nemotron-Parse-v1.1
- NIM and model card: https://build.nvidia.com/nvidia/nemotron-parse
- API docs: https://docs.nvidia.com/nim/vision-language-models/1.5.0/examples/nemotron-parse/overview.html#nemotron-parse-overview
- Cookbook: https://github.com/NVIDIA-NeMo/Nemotron/blob/main/usage-cookbook/Nemotron-Parse-v1.1/build_general_usage_cookbook.ipynb
- NGC catalog: https://catalog.ngc.nvidia.com/orgs/nim/teams/nvidia/containers/nemotron-parse
- AWS Marketplace: https://aws.amazon.com/marketplace/pp/prodview-ny2ngku2i4ge6
Installation
pip install paper-qa[nemotron]
# Or
pip install paper-qa-nemotron
If you want to prompt nemotron-parse hosted on AWS SageMaker:
pip install paper-qa-nemotron[sagemaker]
Getting Started
To use nemotron-parse via the Nvidia API,
set the NVIDIA_API_KEY environment variable.
Then to directly access the reader:
from paperqa.types import ParsedText
from paperqa_nemotron import parse_pdf_to_pages
async def main(pdf_path) -> ParsedText:
return await parse_pdf_to_pages(pdf_path)
Or use the reader within PaperQA:
from paperqa import Docs, PQASession, Settings
from paperqa_nemotron import parse_pdf_to_pages
async def main(pdf_path, question: str | PQASession) -> PQASession:
settings = Settings(parsing={"parse_pdf": parse_pdf_to_pages})
docs = Docs()
await docs.aadd(pdf_path, settings=settings)
return await docs.aquery(question, settings=settings)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file paper_qa_nemotron-2026.3.3.tar.gz.
File metadata
- Download URL: paper_qa_nemotron-2026.3.3.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddbbc09a321553fd9b7f0c7304005d47861563ea0dbad3c8836cd646dbafeec2
|
|
| MD5 |
544c0190610d205be55d4b1292b4cb06
|
|
| BLAKE2b-256 |
f847eddc979320ee6e89618a8f0c5086fe7b6089dbfa3046657d9172b7c718f1
|
File details
Details for the file paper_qa_nemotron-2026.3.3-py3-none-any.whl.
File metadata
- Download URL: paper_qa_nemotron-2026.3.3-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
252ada6609f3abc19b18414f8fd490e24f021c53cd9f05d287f31c34d33c2b93
|
|
| MD5 |
792bc6059a55607abbc281fe0ce07eb9
|
|
| BLAKE2b-256 |
db84a98d8dc7ef27763324977ac5a930650ed24c77c846cd7292ba87df01bfdc
|