You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

GraphIV full-text chunk embeddings

Full-text embeddings of arXiv papers, made to measure how much a paper's body adds to retrieval in GraphIV, an open citation graph of arXiv. Several vectors a paper. Chunk 0 is the title and abstract, Title: ...\nAbstract: ..., the document GraphIV embeds. Chunks 1 and up are windows of the body, each opening with Title: ...\nSection: ..., overlapping by 64 tokens, and covering the first 8,192 tokens of body whatever the chunk size: up to 4 body chunks at 2,048 tokens, and up to 16 at 512 for nomic-v2-moe, which reads no further.

Source

Every paper is one of the 3,186,931 in kkuroma/GraphIV at tag GraphIV-2026-10-01, and arxiv_id joins these vectors to its papers table. The body comes from the paper's PDF on the arXiv mirror on Google Cloud Storage, read with PyMuPDF: its first 24 pages, cut at the first references heading in the back 60% of the text, or where a bibliography numbered from 1 begins, with the appendix, acknowledgements and other back matter left out. On a random 3,000 papers the references cut is found for 93.5%, about 1.2% keep part of a bibliography, and about 2.5% are cut early, their abstract and introduction kept.

Variants

config model dims tokens a chunk body chunks document prompt query prompt
harrier-0.6b-full2048 microsoft/harrier-oss-v1-0.6b 1024 2,048 up to 4 none the instruction below
harrier-27b-full2048 microsoft/harrier-oss-v1-27b 5376 2,048 up to 4 none the instruction below
nemotron-1b-full2048 nvidia/Nemotron-3-Embed-1B-BF16 2048 2,048 up to 4 passage: query:
nemotron-8b-full2048 nvidia/Nemotron-3-Embed-8B-BF16 4096 2,048 up to 4 passage: query:
nomic-v2-moe-full512 nomic-ai/nomic-embed-text-v2-moe 768 512 up to 16 search_document: search_query:
qwen3-0.6b-full2048 Qwen/Qwen3-Embedding-0.6B 1024 2,048 up to 4 none the instruction below
qwen3-4b-full2048 Qwen/Qwen3-Embedding-4B 2560 2,048 up to 4 none the instruction below
qwen3-8b-full2048 Qwen/Qwen3-Embedding-8B 4096 2,048 up to 4 none the instruction below

The instruction is Instruct: Given a research question, retrieve the arXiv papers a literature review answering it would cite\nQuery: . Every model ran through vLLM's pooling runner in bfloat16, and its vectors are L2-normalized and stored as float16.

Schema

arxiv_id (string), chunk (int16, 0 for the title and abstract), embedding (float16 list, the model's width). A paper's rows may sit in different files.

coverage.parquet holds one row a paper: arxiv_id, n_chunks (1 when only chunk 0 exists), cut (how the bibliography was found: heading, citations or empty) and reason, which is ok when the body was embedded and otherwise empty_body, parse_failed or no_pdf. About 0.12% of papers fall back to their title and abstract alone.

Use

from datasets import load_dataset

vectors = load_dataset("cstorm125/graphiv_pdf_chunk_embeddings", "harrier-0.6b-full2048", split="train")
coverage = load_dataset("cstorm125/graphiv_pdf_chunk_embeddings", "harrier-0.6b-full2048-coverage", split="train")

Queries must carry the model's own query prompt, listed under Variants, and every vector is unit length, so a dot product is the cosine. Score a paper by its best chunk, the highest cosine over its rows, which is what gains over the title and abstract. The mean of a paper's chunks does worse.

Results

On harrier-0.6b, test split of kkuroma/GraphIV_benchmarks, recipes refit for each variant, the change from the same model's title and abstract vectors on SurveyMatch recall@1000:

variant cosine only with BoundedField's survey recipe
best chunk, 2,048 tokens +0.015 +0.005
mean of chunks, 2,048 tokens +0.002 -0.004
whole paper +0.003 -0.003

qwen3-0.6b gains +0.018 and +0.008 at 2,048 tokens, and nemotron-8b +0.007 and +0.003. The full tables, with every benchmark and 95% intervals, are in scripts/embedding_sweep/README.md of the GraphIV repository.

License

The vectors are derived from arXiv papers, whose licenses vary from paper to paper, and from kkuroma/GraphIV, which is CC BY-NC 4.0, so this dataset is CC BY-NC 4.0 too. arXiv's terms apply to the papers themselves. The embedding models carry their own licenses, linked below.

Downloads last month
411