--- license: apache-2.0 language: - en pretty_name: "StackPulse-QA: Instruction-Tuning Q&A Pairs from Stack Overflow" size_categories: - 100K`, `
`, ``). Strip or preserve depending on your use case.
2. **Accepted answers only**: We filter `q.accepted_answer_id = a.id` โ€” other community answers are skipped.
3. **~60% match rate**: Of each 100K question IDs queried, ~60K have accepted answers in BigQuery. The rest are self-answered, deleted, or lack acceptance.
4. **80/20 split**: Each run uses `random_state=42` for reproducible train/eval splits.
5. **Mirrors L2_data.ipynb**: Format exactly matches DeepLearning.AI's *Finetuning Large Language Models* course notebook structure.

---

## ๐Ÿ” Source Dataset

Question IDs and metadata sourced from:
- [Omarrran/StackPulse_778K_QnA_Code_dataset](https://huggingface.co/datasets/Omarrran/StackPulse_778K_QnA_Code_dataset)

Answers joined from:
- `bigquery-public-data.stackoverflow.posts_answers` (Google BigQuery Public Dataset)

---

## ๐Ÿ“‹ Citation

```bibtex
@dataset{malik2026stackpulseqa,
  author    = {Malik, Omar Haq Nawaz},
  title     = {StackPulse-QA: Instruction-Tuning Q&A Pairs from Stack Overflow},
  year      = {2026},
  publisher = {HuggingFace},
  url       = {https://huggingface.co/datasets/Omarrran/stackpulse_qa_output},
  license   = {Apache-2.0}
}
```

---

## ๐Ÿ‘ค Author

**Omar Haq Nawaz Malik** (HuggingFace: [Omarrran](https://huggingface.co/Omarrran))
AI Engineer & NLP Researcher | BITS Pilani | Srinagar, Kashmir