Datasets:
Add files using upload-large-folder tool
Browse filesFiles changed (24)
- .gitattributes+11
- README.mdAdded+137
- chunk_records/r0_00000.parquetAdded+3
- chunk_records/r1_00000.parquetAdded+3
- chunk_records/r2_00000.parquetAdded+3
- chunk_records/r3_00000.parquetAdded+3
- chunk_records/r4_00000.parquetAdded+3
- chunk_records/r5_00000.parquetAdded+3
- chunk_records/r6_00000.parquetAdded+3
- chunk_records/r7_00000.parquetAdded+3
- dataset_manifest.jsonAdded+82
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_000Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_001Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_002Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_003Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_004Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_005Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_006Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_007Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_008Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_009Added+3
- qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_010Added+3
- qdrant_snapshots/collections_manifest.jsonAdded+104
- question_metadata/r0_00000.parquetAdded+3
57 unmodified lines58596057 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text57 unmodified lines585960616263646566676869707157 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_010 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_006 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_003 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_008 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_004 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_007 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_000 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_002 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_005 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_009 filter=lfs diff=lfs merge=lfs -textqdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_001 filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137---tags: - vector-database - embeddings - parquet - qdrant - stackoverflow - question-answeringpretty_name: StackOverflow Vector Dataset - Objective-Clicense: cc-by-sa-4.0size_categories: - 1M<n<10M---
# Objective-C StackOverflow Vector Dataset
## Summary
This repository contains the Objective-C shard of the Stack2Graph vector retrieval dataset.Each Hugging Face dataset repository contains one programming-language shard and is intended to restore or rebuild the Qdrant collection `stackoverflow_objective-c_vector`.
The dataset is the vector counterpart to the Stack2Graph RDF knowledge graph. It is designed for hybrid retrieval, graph entry-point finding, and retrieval-augmented generation experiments over Stack Overflow content.
Stack2Graph source:[https://github.com/tha-atlas/Stack2Graph](https://github.com/tha-atlas/Stack2Graph)
## Repository Layout
```textREADME.mddataset_manifest.jsonqdrant_snapshots/ collections_manifest.json stackoverflow_objective-c_vector.tar.zst stackoverflow_objective-c_vector.snapshot.zst.part_000 ...question_metadata/ r0_00000.parquetchunk_records/ r0_00000.parquetquestion_records/ r0_00000.parquet```
- `dataset_manifest.json`: language-scoped manifest listing the files in this shard.- `qdrant_snapshots/collections_manifest.json`: language-scoped Qdrant snapshot manifest.- `qdrant_snapshots/stackoverflow_objective-c_vector.*`: optional Qdrant restore artifact files for `stackoverflow_objective-c_vector`.- `question_metadata/*.parquet`: question-level metadata used by parent-child chunk retrieval.- `chunk_records/*.parquet`: chunk-level vector rows when parent-child indexing is enabled.- `question_records/*.parquet`: question-level vector rows when non-chunked export is used.
The Hugging Face upload is one repository per language. During upload, the local leading language directory is removed, so local files such as `objective-c/chunk_records/r0_00000.parquet` appear in this repository as `chunk_records/r0_00000.parquet`.
## Data Model
Rows are derived from Stack Overflow questions tagged for Objective-C.
The current Stack2Graph vector pipeline uses:
- dense vectors from `Qwen/Qwen3-Embedding-8B`- 4096-dimensional dense embeddings with last-token pooling- instruction-aware query embedding for retrieval- sparse lexical vectors from `BAAI/bge-m3`- unified question text containing title, tags, cleaned problem text, and code- optional parent-child indexing where chunk hits collapse back to parent question IDs
When Qdrant snapshots are included, they are the fastest restore path. The Parquet files remain the portable fallback for rebuilding the collection.
## Coverage
This repository contains only the Objective-C shard. A Stack Overflow question can appear in more than one language shard when it has multiple programming-language tags.
The dataset is not a complete Stack Overflow mirror. Full question and answer graph context lives in the corresponding Stack2Graph knowledge graph artifacts; the vector dataset stores retrieval rows, vectors, sparse weights, and routing metadata.
## Recommended Use
Use this dataset for:
- semantic and hybrid retrieval- Qdrant restore or ingestion tests- Stack2Graph RAG experiments- graph entry-point retrieval before QLever graph expansion- vector database benchmarking and diagnostics
This dataset is not intended as a standalone supervised training dataset.
## Restore With Stack2Graph
You do not need to regenerate embeddings to use this dataset.
Typical workflow:
1. Clone Stack2Graph and configure `.env` with service paths and HF token.2. Start local services:
```bashdocker compose up -d```
3. Download and restore vector artifacts:
```bashpython -m experiment.sources.hf --skip-kg```
The loader restores Qdrant snapshots when present and falls back to Parquet ingestion when snapshots are unavailable.
## Manual Use
For manual use, inspect `dataset_manifest.json`, then either:
- restore the Qdrant snapshot artifacts under `qdrant_snapshots/`, or- ingest the listed Parquet shards into a compatible vector database.
The target Qdrant collection name is:
```textstackoverflow_objective-c_vector```
## Quality Notes
- Embedding quality depends on the configured Stack2Graph export pipeline and model versions.- Sparse text can be generated from the same unified text as dense embeddings or from a lexical variant, depending on export configuration.- Community-generated Stack Overflow content may contain errors, outdated information, bias, or incomplete answers.- Rebuilding from Parquet may produce operational differences if Qdrant collection settings differ from the original export.
## License And Attribution
This dataset is derived from Stack Overflow content and is distributed under `CC-BY-SA-4.0`.Preserve required attribution and license notices when redistributing derived artifacts.
## Citation
If you use this dataset, cite the Stack2Graph project and preserve Stack Overflow attribution requirements:
- Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering123version https://git-lfs.github.com/spec/v1oid sha256:57e092c21478f1ed0a9605716ecc5f2af6d9533a69ec62bfe09f63cd13bf287bsize 277621806123version https://git-lfs.github.com/spec/v1oid sha256:0a098fc2b92e6ee3b972d3d3521ebf61f6680b2bdd495d870a83754db84aa53dsize 277556601123version https://git-lfs.github.com/spec/v1oid sha256:0a988aac241970d047915a82ba34a0206dbccb424a5a5e02278f0da02c7363a0size 277472544123version https://git-lfs.github.com/spec/v1oid sha256:92714e42c4bbdce600319e05c004c145927d92859bde4caa8020cc7b97aeb13bsize 277607740123version https://git-lfs.github.com/spec/v1oid sha256:70171c61d9c4c00209cf3ab7e1849732a58d0c74ef4043d34bbef8afb479f129size 277473057123version https://git-lfs.github.com/spec/v1oid sha256:83b320e35f8bd5d13c5280c8355216fc7cf55140ed5cdaa2cc0e8244eb79d18csize 277491210123version https://git-lfs.github.com/spec/v1oid sha256:1249de2f06aca397c1ea65565bcd73393e33ad9fcd21d512d32bc7bca575b9e0size 277396190123version https://git-lfs.github.com/spec/v1oid sha256:435ff41ad7b93925aba726ba6d07c5e7d20b8be869bcddc10182e568294b7020size 27748474912345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182{ "file_count": 9, "files": [ { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r0_00000.parquet", "rows": 43470 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r1_00000.parquet", "rows": 43470 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r2_00000.parquet", "rows": 43470 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r3_00000.parquet", "rows": 43470 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r4_00000.parquet", "rows": 43469 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r5_00000.parquet", "rows": 43469 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r6_00000.parquet", "rows": 43469 }, { "category": "chunk_records", "language": "objective-c", "relative_path": "chunk_records/r7_00000.parquet", "rows": 43469 }, { "category": "question_metadata", "language": "objective-c", "relative_path": "question_metadata/r0_00000.parquet", "rows": 292093 } ], "language": "objective-c", "qdrant_snapshot": { "artifact_files": [ "stackoverflow_objective-c_vector.snapshot.zst.part_000", "stackoverflow_objective-c_vector.snapshot.zst.part_001", "stackoverflow_objective-c_vector.snapshot.zst.part_002", "stackoverflow_objective-c_vector.snapshot.zst.part_003", "stackoverflow_objective-c_vector.snapshot.zst.part_004", "stackoverflow_objective-c_vector.snapshot.zst.part_005", "stackoverflow_objective-c_vector.snapshot.zst.part_006", "stackoverflow_objective-c_vector.snapshot.zst.part_007", "stackoverflow_objective-c_vector.snapshot.zst.part_008", "stackoverflow_objective-c_vector.snapshot.zst.part_009", "stackoverflow_objective-c_vector.snapshot.zst.part_010" ], "artifact_format": "zstd_split", "collection_name": "stackoverflow_objective-c_vector", "manifest_path": "/var/stackoverflow_data/vector_dataset_archives/hf_upload_folder/objective-c/qdrant_snapshots/collections_manifest.json", "points_count": 347756, "snapshot_file": "snapshots/stackoverflow_objective-c_vector.snapshot" }, "source": "vector_dataset_language_folder", "total_rows": 639849}123version https://git-lfs.github.com/spec/v1oid sha256:f36f6ab32b11915da1e2d3edadf73ab5b67d58d0fd73ecec257657b1beeaf4e4size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:ba42ddd4fa5c984dbe7cfca517c0f5e6b5ce4bad1c89d5e7bed11d5fcda34250size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:f1400f016ca7ebc28e40b27d2c73c34eb8ad27a8329d8742b3215ee69c0c33c3size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:d05bdfb92fcf755001b8c1089f984c51738c673c92c7e1d76513b077771664basize 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:6bbe6630b0504d667488ee9eb9dc44138f5e334206f1450836b0f0ba4b5c5cf4size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:9f6efc4ffe192bff42cbcbeb18adc19ed8c6bfe257187d992aa9dff61a800d3csize 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:84d40a1088dbb9f6f2755a6b2b507edbb9798782d17b44bc0fc2d2a72f12c098size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:dbb3667a28d6a3a5e742c8776e860ebfa9226b07a2e8db195f187912d9ce3550size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:6ef7ac2fade40c7b230749139efa6772cb1c9e32f3fd092f8c07c6d874acfce0size 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:4198c5c4783bbe3e589f7244e237bc41a457b3db149365ce0b2a65f1db26531csize 1000000000123version https://git-lfs.github.com/spec/v1oid sha256:7faefc68e2c955a80e0873d5056fc0a69e17a82a3453abc871ee6ca5c784ce95size 493583674123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104{ "archive_dir": "archives", "archive_format": "mixed", "archive_parts": [], "archive_size_limit_bytes": 1000000000, "collection_glob": "stackoverflow_objective-c_vector", "collections": [ { "archive_file": null, "artifact_files": [ "archives/stackoverflow_objective-c_vector.snapshot.zst.part_000", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_001", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_002", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_003", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_004", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_005", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_006", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_007", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_008", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_009", "archives/stackoverflow_objective-c_vector.snapshot.zst.part_010" ], "artifact_format": "zstd_split", "collection_name": "stackoverflow_objective-c_vector", "config": { "config": { "hnsw_config": { "ef_construct": 100, "full_scan_threshold": 10000, "m": 16, "max_indexing_threads": 16, "on_disk": false }, "optimizer_config": { "default_segment_number": 0, "deleted_threshold": 0.2, "flush_interval_sec": 30, "indexing_threshold": 20000, "vacuum_min_vector_number": 1000 }, "params": { "on_disk_payload": true, "replication_factor": 1, "shard_number": 8, "sparse_vectors": { "sparse": { "index": { "on_disk": true } } }, "vectors": { "dense": { "distance": "Cosine", "on_disk": false, "size": 4096 } }, "write_consistency_factor": 1 }, "quantization_config": { "scalar": { "always_ram": true, "quantile": 0.99, "type": "int8" } }, "wal_config": { "wal_capacity_mb": 256, "wal_retain_closed": 1, "wal_segments_ahead": 0 } }, "indexed_vectors_count": 695512, "optimizer_status": "ok", "payload_schema": {}, "points_count": 347756, "segments_count": 54, "status": "green", "update_queue": { "length": 0 } }, "points_count": 347756, "segments_count": 54, "snapshot_file": "snapshots/stackoverflow_objective-c_vector.snapshot", "snapshot_name": "stackoverflow_objective-c_vector-8271646633244964-2026-07-06-09-00-00.snapshot" } ], "created_at": 1783366787, "max_archive_parts": 1000, "qdrant_url": "http://localhost:6333", "snapshot_dir": "snapshots", "snapshot_files": [ { "checksum": "0f7b327e923bed495221a2475654bfb7443f64d76e4f93db0d50b2c86ed23217", "collection_name": "stackoverflow_objective-c_vector", "created_at": "2026-07-06T09:00:26", "size_bytes": 10602614784, "snapshot_file": "snapshots/stackoverflow_objective-c_vector.snapshot", "snapshot_name": "stackoverflow_objective-c_vector-8271646633244964-2026-07-06-09-00-00.snapshot" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:6d5795502df199e7ca5eb66eb62b912a04411f6ae3d322113653ce7130ea3c81size 11253926.gitattributes+11
README.mdAdded+137
chunk_records/r0_00000.parquetAdded+3
chunk_records/r1_00000.parquetAdded+3
chunk_records/r2_00000.parquetAdded+3
chunk_records/r3_00000.parquetAdded+3
chunk_records/r4_00000.parquetAdded+3
chunk_records/r5_00000.parquetAdded+3
chunk_records/r6_00000.parquetAdded+3
chunk_records/r7_00000.parquetAdded+3
dataset_manifest.jsonAdded+82
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_000Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_001Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_002Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_003Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_004Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_005Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_006Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_007Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_008Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_009Added+3
qdrant_snapshots/archives/stackoverflow_objective-c_vector.snapshot.zst.part_010Added+3
qdrant_snapshots/collections_manifest.jsonAdded+104
question_metadata/r0_00000.parquetAdded+3