Datasets:
metadata
language:
- en
license: mit
size_categories:
- 10K<n<100K
task_categories:
- question-answering
tags:
- python
- stackoverflow
- question-answer
dataset_info:
features:
- name: question_id
dtype: int64
- name: creation_date
dtype: string
- name: link
dtype: string
- name: question
dtype: string
- name: accepted_answer
dtype: string
- name: question_vote
dtype: int64
- name: answer_vote
dtype: int64
splits:
- name: train
num_bytes: 41546253
num_examples: 14521
download_size: 22106408
dataset_size: 41546253
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
Description
- This dataset contains the question-answer pairs extracted from Stackoverflow using Stack Exchange API v2.3 and used following endpoints,
- From 2020 January 1 to 2025 February 5
1. Dataset description,
- Contains only
python
tagged question-answer pairs. - Each question has a vote greater tan or equal to 1.
- Only contains the questions that have accepted answers and the corresponding accepted answers.
- Can contain accepted answers(~30) with negative votes.
2. Column description,
question_id
: id came from Stackoverflow.creation_date
: the date when the question was created.link
: link to the Stackoverflow page corresponding to that question-answer pair.question
: question textaccepted_answer
: accepted answer textquestion_vote
: score/vote given for thequestion
by the Stackoverflow community.answer_vote
: score/vote given for theaccepted_answer
by the Stackoverflow community.
- Contains only