Math-Forge-Hard
收藏魔搭社区2025-12-03 更新2025-01-25 收录
下载链接:
https://modelscope.cn/datasets/prithivMLmods/Math-Forge-Hard
下载链接
链接失效反馈官方服务:
资源简介:
# Math-Forge-Hard Dataset
## Overview
The Math-Forge-Hard dataset is a collection of challenging math problems designed to test and improve problem-solving skills. This dataset includes a variety of word problems that cover different mathematical concepts, making it a valuable resource for students, educators, and researchers.
## Dataset Details
### Modalities
- **Text**: The dataset primarily contains text data, including math word problems.
### Formats
- **CSV**: The dataset is available in CSV format.
### Size
- The dataset contains 1,319 entries.
### Libraries
- **Datasets**: The dataset is compatible with the Hugging Face Datasets library.
- **Pandas**: Can be easily loaded and manipulated using Pandas.
- **Croissant**: Additional support for Croissant format.
## Dataset Structure
### Columns
- **problem**: The text of the math problem.
- **lengths**: The length of the problem text.
### Splits
- **train**: Contains 1,319 rows of training data.
## Usage
### Loading the Dataset
You can load the dataset using the Hugging Face Datasets library:
```python
from datasets import load_dataset
dataset = load_dataset("prithivMLmods/Math-Forge-Hard")
```
### Example
Here’s an example of how to access the data:
```python
import pandas as pd
# Load the dataset
dataset = load_dataset("prithivMLmods/Math-Forge-Hard")
# Convert to Pandas DataFrame
df = pd.DataFrame(dataset['train'])
# Display the first few rows
print(df.head())
```
# Math-Forge-Hard 数据集
## 概述
Math-Forge-Hard 数据集是一组专为测试与提升解题能力打造的高难度数学题集合。该数据集涵盖覆盖多种数学概念的各类文字应用题,是面向学生、教育工作者及研究者的珍贵资源。
## 数据集详情
### 数据模态
- **文本(Text)**:本数据集以文本数据为主,包含数学文字应用题。
### 数据格式
- **CSV**:本数据集以CSV格式提供。
### 数据规模
- 该数据集共包含1319条数据条目。
### 兼容库
- **Datasets**:兼容Hugging Face Datasets库。
- **Pandas**:可通过Pandas库轻松加载并处理数据集。
- **Croissant**:额外支持Croissant格式。
## 数据集结构
### 字段信息
- **problem**:数学题题干文本。
- **lengths**:题干文本的长度。
### 划分方式
- **训练集(train)**:包含1319行训练数据。
## 使用方法
### 数据集加载
可通过Hugging Face Datasets库加载该数据集:
python
from datasets import load_dataset
dataset = load_dataset("prithivMLmods/Math-Forge-Hard")
### 示例
以下为访问该数据集的示例代码:
python
import pandas as pd
# 加载数据集
dataset = load_dataset("prithivMLmods/Math-Forge-Hard")
# 转换为 Pandas 数据框
df = pd.DataFrame(dataset['train'])
# 展示前几行数据
print(df.head())
提供机构:
maas
创建时间:
2025-01-20



