Datasets:
Clean StackOverflow vector language dataset before upload: python
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- README.mdDeleted-115
- chunk_records/r0_00000.parquetDeleted-3
- chunk_records/r0_00001.parquetDeleted-3
- chunk_records/r0_00002.parquetDeleted-3
- chunk_records/r0_00003.parquetDeleted-3
- chunk_records/r0_00004.parquetDeleted-3
- chunk_records/r0_00005.parquetDeleted-3
- chunk_records/r0_00006.parquetDeleted-3
- chunk_records/r0_00007.parquetDeleted-3
- chunk_records/r0_00008.parquetDeleted-3
- chunk_records/r0_00009.parquetDeleted-3
- chunk_records/r0_00010.parquetDeleted-3
- chunk_records/r0_00011.parquetDeleted-3
- chunk_records/r0_00012.parquetDeleted-3
- chunk_records/r0_00013.parquetDeleted-3
- chunk_records/r0_00014.parquetDeleted-3
- chunk_records/r0_00015.parquetDeleted-3
- chunk_records/r0_00016.parquetDeleted-3
- chunk_records/r0_00017.parquetDeleted-3
- chunk_records/r0_00018.parquetDeleted-3
- chunk_records/r0_00019.parquetDeleted-3
- chunk_records/r0_00020.parquetDeleted-3
- chunk_records/r0_00021.parquetDeleted-3
- chunk_records/r0_00022.parquetDeleted-3
- chunk_records/r0_00023.parquetDeleted-3
- chunk_records/r0_00024.parquetDeleted-3
- chunk_records/r0_00025.parquetDeleted-3
- chunk_records/r0_00026.parquetDeleted-3
- chunk_records/r0_00027.parquetDeleted-3
- chunk_records/r0_00028.parquetDeleted-3
- chunk_records/r0_00029.parquetDeleted-3
- chunk_records/r0_00030.parquetDeleted-3
- chunk_records/r0_00031.parquetDeleted-3
- chunk_records/r0_00032.parquetDeleted-3
- chunk_records/r0_00033.parquetDeleted-3
- chunk_records/r0_00034.parquetDeleted-3
- chunk_records/r0_00035.parquetDeleted-3
- chunk_records/r0_00036.parquetDeleted-3
- chunk_records/r0_00037.parquetDeleted-3
- chunk_records/r0_00038.parquetDeleted-3
- chunk_records/r0_00039.parquetDeleted-3
- chunk_records/r0_00040.parquetDeleted-3
- chunk_records/r0_00041.parquetDeleted-3
- chunk_records/r0_00042.parquetDeleted-3
- chunk_records/r0_00043.parquetDeleted-3
- chunk_records/r0_00044.parquetDeleted-3
- chunk_records/r0_00045.parquetDeleted-3
- chunk_records/r0_00046.parquetDeleted-3
- chunk_records/r0_00047.parquetDeleted-3
- chunk_records/r0_00048.parquetDeleted-3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115---tags: - vector-database - embeddings - parquet - qdrant - stackoverflow - question-answeringpretty_name: StackOverflow Vector Dataset - Pythonlicense: cc-by-sa-4.0size_categories: - 1M<n<10M---
# Python StackOverflow Vector Dataset Datasheet
## 1. What This Dataset Is
This dataset is the Python-specific vector shard of the Stack2Graph StackOverflow retrieval corpus.Each Hugging Face dataset repository contains exactly one language dataset.
It is optimized for dense+sparse retrieval, Qdrant restoration, and embedding-based RAG experiments.
It is used in the Stack2Graph project as the vector counterpart to the language-scoped RDF knowledge graph shards.
See the Stack2Graph repository for more details:[https://github.com/tha-atlas/Stack2Graph](https://github.com/tha-atlas/Stack2Graph)
## 2. Repository Layout
```textdataset_manifest.jsonquestion_metadata_*.parquetchunk_records_*.parquetquestion_records_*.parquet```
- `dataset_manifest.json`: language-scoped manifest for this dataset shard.- `question_metadata_*.parquet`: per-question metadata and retrieval bookkeeping.- `chunk_records_*.parquet`: chunk-level vector rows when parent-child indexing is enabled.- `question_records_*.parquet`: question-level vector rows when chunking is disabled or exported alongside chunk data.
## 3. Data Model And Coverage
The dataset is derived from Stack Overflow questions selected for the Python programming language.It contains the structured records needed to rebuild the Stack2Graph Qdrant collection for that language.
Coverage scope:
- records are retained when they match the Stack2Graph supported language-tag set- this repository contains only the Python shard- the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode
## 4. Recommended Preprocessing
1. Read `dataset_manifest.json` first and use it as the source of truth for included Parquet files.2. Load all Parquet shards for this repository into your vector indexing pipeline.3. Rebuild or restore the Qdrant collection `stackoverflow_python_vector`.4. Preserve attribution and license metadata during downstream export.
## 5. Automatic Download And Vector DB Setup
You do not need to regenerate embeddings from GraphDB to use this dataset.
In the Stack2Graph repository, you can use the automation script`python -m experiment.load_hf_datasets_into_services --skip-kg` to download dataset artifactsand prepare the vector database service state automatically.
Typical workflow:
1. Clone and configure Stack2Graph (`.env` with HF token and service paths).1. Clone and configure Stack2Graph (`.env` with HF token and service paths).1. Start required local services:
```bashdocker compose up -d```
1. Run the loader script:
```bashpython -m experiment.load_hf_datasets_into_services --skip-kg```
For manual usage without automation, directly ingest the listed Parquet files into your vector database.
## 6. Quality Notes And Caveats
- A Stack Overflow question may belong to multiple language shards when tagged with multiple languages.- Embeddings and sparse representations depend on the configured export pipeline and model versions.- As with community-generated data, content may include noise, bias, and temporal drift.
## 7. Intended Use
- semantic retrieval and reranking- RAG and hybrid retriever experiments- vector database benchmarking and diagnostics- language-scoped developer tooling research
## 8. Limitations
- Not a complete mirror of all Stack Overflow content.- Not all export modes include the same row types or chunk layouts.- Best used together with the Stack2Graph retrieval pipeline and Qdrant-compatible tooling.
## 9. Licensing And Attribution
This dataset inherits Stack Overflow source licensing and attribution requirements.Ensure compliant attribution and redistribution practices in all derived artifacts.
## 10. Suggested Citation
If you use this dataset, cite the Stack2Graph work:
- Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering123version https://git-lfs.github.com/spec/v1oid sha256:960cb59af393130a8c0ba874def9d75b609d1907b759a8b9c2c0766de5217f54size 29414735123version https://git-lfs.github.com/spec/v1oid sha256:cdb26791972e6bb8979fc70227a9084aa5a673280d9c3cbedf4e88ee06b0eff1size 29741747123version https://git-lfs.github.com/spec/v1oid sha256:2df8effa8cd5b50bc028d236e52f07735f2fa7f045081ebe10d9aafd3ed060a5size 30026240123version https://git-lfs.github.com/spec/v1oid sha256:b22b0c0eceb21e2828ac3d82a86ac31473a624eff3a36a687632169454fe92ffsize 30307117123version https://git-lfs.github.com/spec/v1oid sha256:4d254acb720bcc364b5330220f457175725333fe2540fbf5daf05a78938f2da0size 30469092123version https://git-lfs.github.com/spec/v1oid sha256:ffc12fbb1771cd54b023dbad634565f946722edaeeb78342217cc283033d3149size 30747719123version https://git-lfs.github.com/spec/v1oid sha256:97fc75e0439e0794c2bcd78cfa0de465e34b3d1cbeade590d0283a8b2be70d16size 30830544123version https://git-lfs.github.com/spec/v1oid sha256:e269052b33afd2d635044bc7713696407850acb63e460a5b777bb0c268e3b3d7size 30918596123version https://git-lfs.github.com/spec/v1oid sha256:f989fbe18cde4cfb477c752987285b52cc4e75dfdcbfc2d83795bd711c717c47size 31037409123version https://git-lfs.github.com/spec/v1oid sha256:8f2fe30858559739dd8fbb904a8230909a498b6c9e6e5f0142e71fb866d7cf4asize 31115518123version https://git-lfs.github.com/spec/v1oid sha256:07c39f0ab91ee04b753e3d605453bef2d7299f7549ea6f288dfc33a83993f91fsize 31186703123version https://git-lfs.github.com/spec/v1oid sha256:621f623fbbf771aef6ba73e604fe3e7d04f45db117b914a7be4efbbb7e80537bsize 31292616123version https://git-lfs.github.com/spec/v1oid sha256:0a19771f570ad46a74507130c7c37f7d93654143da4c227f3c9d39e50a7997d4size 31384014123version https://git-lfs.github.com/spec/v1oid sha256:f9eb8e5806064fad56cfdad11c179da47bda7fc3adfa616517f4c495e20eaaa1size 31524796123version https://git-lfs.github.com/spec/v1oid sha256:4856a768c7bcbd8367638c5536466bd2e36a7a8a8b4b6beed8f74d5b9f0b4ad1size 31630970123version https://git-lfs.github.com/spec/v1oid sha256:5a7e023175f778f3151772fe6994d40b2b13a0a10bb01da5c7826ffe45ba123csize 31681239123version https://git-lfs.github.com/spec/v1oid sha256:392648ec9212b1972fd4080d6a41e91d52e9c8a482b57717c83faf47de59c609size 31772295123version https://git-lfs.github.com/spec/v1oid sha256:ef08ee6d4fd020cbc12c8f820f63e4d058405484d76874c67287a03079f6982csize 31892494123version https://git-lfs.github.com/spec/v1oid sha256:7b608760d00a31cd4a625ad051c2329d3f8f44d00f289b94e07074b69f530c7fsize 31986960123version https://git-lfs.github.com/spec/v1oid sha256:a61135cbcb3c02ceced157b5705be6e7ee7b63331aec7dcfeadf1fbdeb6bcd92size 32014783123version https://git-lfs.github.com/spec/v1oid sha256:b1e46aed85164e6a0440d58846a02d3ee43e98a87cd027b9831e2b6d7d419de7size 32149459123version https://git-lfs.github.com/spec/v1oid sha256:0326e41dd371ee7836305f9308daa08a5ac35d1d3f87854922c8bf9982f370basize 32226405123version https://git-lfs.github.com/spec/v1oid sha256:3178459f0fea0a7df0498facf5475df8121e793673fdee0fa3ec37242e10aab7size 32328357123version https://git-lfs.github.com/spec/v1oid sha256:de7c9b85f62fb732cdc8467b448b63abad3e4801cf49c877b7acb02ca89047cbsize 32415208123version https://git-lfs.github.com/spec/v1oid sha256:00736a0cf5eeb1be88e82bc8812ba3d65cfe71ca22d79002b1897d169c21cb6bsize 32552943123version https://git-lfs.github.com/spec/v1oid sha256:eee4342287f4e2b93422b5c1f0516f6aadcfe5c337e02ac007b4cd16711979c7size 32644818123version https://git-lfs.github.com/spec/v1oid sha256:469bd386a4570539ed711962a096d751b283393325380c9508fccfc9e9a50cb2size 32727735123version https://git-lfs.github.com/spec/v1oid sha256:3bd4ea37a71f8e2675dcc1cd886280f1446300049c9e6a4b02c531a0210eb60dsize 32899067123version https://git-lfs.github.com/spec/v1oid sha256:7bd37827780dc71b9b111f084b0b4e0dbd42a2339abc1093bea4da133d95b530size 32941549123version https://git-lfs.github.com/spec/v1oid sha256:b8d8158ac43dcb3dc029e7f1adb3e808286dce2b0b5f5a02987437fb857fd5dasize 33107550123version https://git-lfs.github.com/spec/v1oid sha256:10e3e58095791ef14b1f770d75f3c6774b93c580cfb76ef5af7d15da8d74eb16size 33216412123version https://git-lfs.github.com/spec/v1oid sha256:a4fdda68309e0e85016009b479bf91d4d0d96d2f93013b37c363c7810a31ddaesize 33323071123version https://git-lfs.github.com/spec/v1oid sha256:9a089a25fdd6ee8c7417d7dab0b9b5d66d472b8fb5d39157964cd1448eece635size 33481354123version https://git-lfs.github.com/spec/v1oid sha256:2ff36e3863e7844b409db6b74106d1e82ea23c675aab082d6800b7dfa25b34fdsize 33539132123version https://git-lfs.github.com/spec/v1oid sha256:e62a5cc363ef8bb413382046b6666f02706d0feba5094f92f550913d60a9798dsize 33654123123version https://git-lfs.github.com/spec/v1oid sha256:2159b6d8b6cb4ae8e13927050864114677e73a39c8bee0a9bfe820596680e9b6size 33830724123version https://git-lfs.github.com/spec/v1oid sha256:edfa7ea47d47821a53522e90b92552dcc7647ee2c8f40d00e7e10ad4236f4de7size 33925533123version https://git-lfs.github.com/spec/v1oid sha256:f5b4e98062f7208e1439ebcc75d46f30b4862bef848f24ae3588d88be7eb5625size 34042169123version https://git-lfs.github.com/spec/v1oid sha256:84007da1afc37b682102c83670fe265b87a52235883e81e338f189f3ba47618fsize 34197760123version https://git-lfs.github.com/spec/v1oid sha256:098de04b838e1dc9b01880619f74abae745b7e2db256234be5772886f41eb59csize 34312843123version https://git-lfs.github.com/spec/v1oid sha256:84436aef3e50ededd30de5095c57d8f27937918ae677eafc2fbe57584d7de403size 34507886123version https://git-lfs.github.com/spec/v1oid sha256:b04f17e2053a9c26dfc879b542b01b8b5d57751bbf98d1047b9899a70c078a1bsize 34625333123version https://git-lfs.github.com/spec/v1oid sha256:9832a39c0768d79052342d0017aef5487ec49ff4f2f1fa41128ed24788204a71size 34766238123version https://git-lfs.github.com/spec/v1oid sha256:d0b6796ff966a0abe958238b33c1164c077bdd5728daf4b951ced1d2a48a5a8bsize 34858054123version https://git-lfs.github.com/spec/v1oid sha256:8226566788e0594e186d9b2960e6018b489fd66fee2777e25107930453920fb1size 35039269123version https://git-lfs.github.com/spec/v1oid sha256:797120ce16d8dfa382e02326e5dd175415a9bd1cb9c3bef7071d56940ef49e51size 35217981123version https://git-lfs.github.com/spec/v1oid sha256:83e6dafd0989eb0cf1d36ba52d34997005d4a917696a8c814d29fa97042d9d35size 35366553123version https://git-lfs.github.com/spec/v1oid sha256:db55f0c1bc2ce7d7f39eae3dbc1b43b7895bf0033a2219db150b371b74353f4fsize 35570786123version https://git-lfs.github.com/spec/v1oid sha256:88fc573b0c1d8810dbfd552df09284dcf9fa6276b43ad367981b3b5485630a39size 35736608README.mdDeleted-115
chunk_records/r0_00000.parquetDeleted-3
chunk_records/r0_00001.parquetDeleted-3
chunk_records/r0_00002.parquetDeleted-3
chunk_records/r0_00003.parquetDeleted-3
chunk_records/r0_00004.parquetDeleted-3
chunk_records/r0_00005.parquetDeleted-3
chunk_records/r0_00006.parquetDeleted-3
chunk_records/r0_00007.parquetDeleted-3
chunk_records/r0_00008.parquetDeleted-3
chunk_records/r0_00009.parquetDeleted-3
chunk_records/r0_00010.parquetDeleted-3
chunk_records/r0_00011.parquetDeleted-3
chunk_records/r0_00012.parquetDeleted-3
chunk_records/r0_00013.parquetDeleted-3
chunk_records/r0_00014.parquetDeleted-3
chunk_records/r0_00015.parquetDeleted-3
chunk_records/r0_00016.parquetDeleted-3
chunk_records/r0_00017.parquetDeleted-3
chunk_records/r0_00018.parquetDeleted-3
chunk_records/r0_00019.parquetDeleted-3
chunk_records/r0_00020.parquetDeleted-3
chunk_records/r0_00021.parquetDeleted-3
chunk_records/r0_00022.parquetDeleted-3
chunk_records/r0_00023.parquetDeleted-3
chunk_records/r0_00024.parquetDeleted-3
chunk_records/r0_00025.parquetDeleted-3
chunk_records/r0_00026.parquetDeleted-3
chunk_records/r0_00027.parquetDeleted-3
chunk_records/r0_00028.parquetDeleted-3
chunk_records/r0_00029.parquetDeleted-3
chunk_records/r0_00030.parquetDeleted-3
chunk_records/r0_00031.parquetDeleted-3
chunk_records/r0_00032.parquetDeleted-3
chunk_records/r0_00033.parquetDeleted-3
chunk_records/r0_00034.parquetDeleted-3
chunk_records/r0_00035.parquetDeleted-3
chunk_records/r0_00036.parquetDeleted-3
chunk_records/r0_00037.parquetDeleted-3
chunk_records/r0_00038.parquetDeleted-3
chunk_records/r0_00039.parquetDeleted-3
chunk_records/r0_00040.parquetDeleted-3
chunk_records/r0_00041.parquetDeleted-3
chunk_records/r0_00042.parquetDeleted-3
chunk_records/r0_00043.parquetDeleted-3
chunk_records/r0_00044.parquetDeleted-3
chunk_records/r0_00045.parquetDeleted-3
chunk_records/r0_00046.parquetDeleted-3
chunk_records/r0_00047.parquetDeleted-3
chunk_records/r0_00048.parquetDeleted-3