The viewer is disabled because this dataset repo requires arbitrary Python code execution. Please consider removing the loading script and relying on automated data support (you can use convert_to_parquet from the datasets library). If this is not possible, please open a discussion for direct help.

Mathematics StackExchange Dataset

This dataset contains questions and answers from Mathematics StackExchange (math.stackexchange.com). The data was collected using the Stack Exchange API. Total collected questions 465.295.

Data Format

The dataset is provided in JSON Lines format, with one JSON object per line. Each object contains the following fields:

  • id: the unique ID of the question
  • asked_at: the timestamp when the question was asked
  • author_name: the name of the author who asked the question
  • author_rep: the reputation of the author who asked the question
  • score: the score of the question
  • title: the title of the question
  • tags: a list of tags associated with the question
  • body: the body of the question
  • comments: a list of comments on the question, where each comment is represented as a dictionary with the following fields:
    • id: the unique ID of the comment
    • body: the body of the comment
    • at: the timestamp when the comment was posted
    • score: the score of the comment
    • author: the name of the author who posted the comment
    • author_rep: the reputation of the author who posted the comment
  • answers: a list of answers to the question, where each answer is represented as a dictionary with the following fields:
    • id: the unique ID of the answer
    • body: the body of the answer
    • score: the score of the answer
    • ts: the timestamp when the answer was posted
    • author: the name of the author who posted the answer
    • author_rep: the reputation of the author who posted the answer
    • accepted: whether the answer has been accepted
    • comments: a list of comments on the answer, where each comment is represented as a dictionary with the following fields:
      • id: the unique ID of the comment
      • body: the body of the comment
      • at: the timestamp when the comment was posted
      • score: the score of the comment
      • author: the name of the author who posted the comment
      • author_rep: the reputation of the author who posted the comment

Preprocessing

There was no preprocessing done, this dataset contains raw unfiltered data, also there might be problems with redundant line breaks or spacings

License

This dataset is released under the WTFPL license.

Contact

For any questions or comments about the dataset, please contact nurik040404@gmail.com.

Downloads last month
2