Add Classical Poetry Motive Retrieval dataset with complete configuration
Browse files- .gitattributes +2 -0
- README.md +138 -0
- corpus/data-00000-of-00001.parquet +3 -0
- dataset_infos.json +103 -0
- qrels/data-00000-of-00001.parquet +3 -0
- queries/data-00000-of-00001.parquet +0 -0
.gitattributes
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
corpus/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
qrels/data-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: corpus
|
| 4 |
+
data_files:
|
| 5 |
+
- path: corpus/*.parquet
|
| 6 |
+
split: test
|
| 7 |
+
- config_name: queries
|
| 8 |
+
data_files:
|
| 9 |
+
- path: queries/*.parquet
|
| 10 |
+
split: test
|
| 11 |
+
- config_name: qrels
|
| 12 |
+
data_files:
|
| 13 |
+
- path: qrels/*.parquet
|
| 14 |
+
split: test
|
| 15 |
+
dataset_info:
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: corpus
|
| 18 |
+
dataset_size: 3130520
|
| 19 |
+
download_size: 3130520
|
| 20 |
+
features:
|
| 21 |
+
- dtype: string
|
| 22 |
+
name: id
|
| 23 |
+
- dtype: string
|
| 24 |
+
name: dynasty
|
| 25 |
+
- dtype: string
|
| 26 |
+
name: author
|
| 27 |
+
- dtype: string
|
| 28 |
+
name: title
|
| 29 |
+
- dtype: string
|
| 30 |
+
name: text
|
| 31 |
+
- dtype: string
|
| 32 |
+
name: emotion
|
| 33 |
+
splits:
|
| 34 |
+
- name: test
|
| 35 |
+
num_bytes: 3130520
|
| 36 |
+
num_examples: 19008
|
| 37 |
+
- config_name: queries
|
| 38 |
+
dataset_size: 6004
|
| 39 |
+
download_size: 6004
|
| 40 |
+
features:
|
| 41 |
+
- dtype: string
|
| 42 |
+
name: id
|
| 43 |
+
- dtype: string
|
| 44 |
+
name: text
|
| 45 |
+
splits:
|
| 46 |
+
- name: test
|
| 47 |
+
num_bytes: 6004
|
| 48 |
+
num_examples: 107
|
| 49 |
+
- config_name: qrels
|
| 50 |
+
dataset_size: 209455
|
| 51 |
+
download_size: 209455
|
| 52 |
+
features:
|
| 53 |
+
- dtype: string
|
| 54 |
+
name: query-id
|
| 55 |
+
- dtype: string
|
| 56 |
+
name: corpus-id
|
| 57 |
+
- dtype: float64
|
| 58 |
+
name: score
|
| 59 |
+
splits:
|
| 60 |
+
- name: test
|
| 61 |
+
num_bytes: 209455
|
| 62 |
+
num_examples: 19707
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
+
# Classical Poetry Emotion Analysis Dataset
|
| 66 |
+
|
| 67 |
+
## 数据集描述
|
| 68 |
+
|
| 69 |
+
这是一个古典诗歌情感分析数据集,用于评估诗歌情感分析系统的性能。数据集包含从先秦到清代的古典诗歌,涵盖多种情感类型和诗歌体裁。
|
| 70 |
+
|
| 71 |
+
## 数据集统计
|
| 72 |
+
|
| 73 |
+
| 子集 | 样本数量 | 文件大小 | 描述 |
|
| 74 |
+
|------|----------|----------|------|
|
| 75 |
+
| **corpus** | 19,008 首诗歌 | 3.0 MB | 诗歌文档库 |
|
| 76 |
+
| **queries** | 107 个查询 | 0.0 MB | 情感查询集合 |
|
| 77 |
+
| **qrels** | 19,707 个相关性标注 | 204.5 KB | 情感相关性标注 |
|
| 78 |
+
|
| 79 |
+
## 数据字段说明
|
| 80 |
+
|
| 81 |
+
### Corpus 字段
|
| 82 |
+
- `id`: 诗歌唯一标识符
|
| 83 |
+
- `dynasty`: 诗歌创作朝代
|
| 84 |
+
- `author`: 诗歌作者
|
| 85 |
+
- `title`: 诗歌标题
|
| 86 |
+
- `text`: 诗歌正文内容
|
| 87 |
+
- `emotion`: 诗歌情感分析标签
|
| 88 |
+
|
| 89 |
+
### Queries 字段
|
| 90 |
+
- `id`: 情感查询唯一标识符(格式: Q + 诗歌ID)
|
| 91 |
+
- `text`: 情感查询文本内容
|
| 92 |
+
|
| 93 |
+
### Qrels 字段
|
| 94 |
+
- `query-id`: 情感查询ID
|
| 95 |
+
- `corpus-id`: 相关文档ID
|
| 96 |
+
- `score`: 情感相关性分数(0-1)
|
| 97 |
+
|
| 98 |
+
## 情感类型
|
| 99 |
+
|
| 100 |
+
数据集涵盖以下主要情感类型:
|
| 101 |
+
- **喜悦** - 表达欢乐、满足、欣喜的情感
|
| 102 |
+
- **忧愁** - 表达忧伤、惆怅、思乡的情感
|
| 103 |
+
- **愤怒** - 表达愤慨、不满、激昂的情感
|
| 104 |
+
- **平静** - 表达闲适、淡泊、宁静的情感
|
| 105 |
+
- **豪迈** - 表达壮志、豪情、奔放的情感
|
| 106 |
+
- **婉约** - 表达细腻、含蓄、柔美的情感
|
| 107 |
+
|
| 108 |
+
## 应用场景
|
| 109 |
+
|
| 110 |
+
- **诗歌情感分析系统评估**
|
| 111 |
+
- **情感检索与匹配**
|
| 112 |
+
- **古典文学情感研究**
|
| 113 |
+
- **跨时代情感表达分析**
|
| 114 |
+
- **情感计算算法测试**
|
| 115 |
+
- **多模态情感理解**
|
| 116 |
+
|
| 117 |
+
## 数据集特点
|
| 118 |
+
|
| 119 |
+
1. **时间跨度广** - 涵盖先秦至清代多个历史时期
|
| 120 |
+
2. **情感多样性** - 包含丰富的情感类型和表达方式
|
| 121 |
+
3. **标注质量高** - 基于专业文学分析和LLM技术标注
|
| 122 |
+
4. **应用价值大** - 适用于情感计算、文学研究等多个领域
|
| 123 |
+
|
| 124 |
+
## 引用信息
|
| 125 |
+
|
| 126 |
+
如果您在研究中使用了此数据集,请引用相关论文。本数据集适用于古典文学研究、情感计算、信息检索等领域的研究工作。
|
| 127 |
+
|
| 128 |
+
## 更新日志
|
| 129 |
+
|
| 130 |
+
- **v1.0.0**: 初始版本发布
|
| 131 |
+
- 包含完整的诗歌情感分析文档库
|
| 132 |
+
- 提供情感查询集合和相关性标注
|
| 133 |
+
- 支持标准的Huggingface数据集加载接口
|
| 134 |
+
- 涵盖多朝代、多情感类型的古典诗歌
|
| 135 |
+
|
| 136 |
+
## 致谢
|
| 137 |
+
|
| 138 |
+
本数据集基于中国古典诗歌数据库构建,感谢相关文学研究专家和自然语言处理技术的支持。
|
corpus/data-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5269824b9ff045005babea20230bff9cafb21c6292b3530fad34fdddde97ad2c
|
| 3 |
+
size 3130520
|
dataset_infos.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"corpus": {
|
| 3 |
+
"description": "Classical Poetry Corpus",
|
| 4 |
+
"citation": "",
|
| 5 |
+
"homepage": "",
|
| 6 |
+
"license": "",
|
| 7 |
+
"features": {
|
| 8 |
+
"id": {
|
| 9 |
+
"dtype": "string",
|
| 10 |
+
"_type": "Value"
|
| 11 |
+
},
|
| 12 |
+
"dynasty": {
|
| 13 |
+
"dtype": "string",
|
| 14 |
+
"_type": "Value"
|
| 15 |
+
},
|
| 16 |
+
"author": {
|
| 17 |
+
"dtype": "string",
|
| 18 |
+
"_type": "Value"
|
| 19 |
+
},
|
| 20 |
+
"title": {
|
| 21 |
+
"dtype": "string",
|
| 22 |
+
"_type": "Value"
|
| 23 |
+
},
|
| 24 |
+
"text": {
|
| 25 |
+
"dtype": "string",
|
| 26 |
+
"_type": "Value"
|
| 27 |
+
},
|
| 28 |
+
"emotion": {
|
| 29 |
+
"dtype": "string",
|
| 30 |
+
"_type": "Value"
|
| 31 |
+
}
|
| 32 |
+
},
|
| 33 |
+
"splits": {
|
| 34 |
+
"test": {
|
| 35 |
+
"name": "test",
|
| 36 |
+
"num_bytes": 3130520,
|
| 37 |
+
"num_examples": 19008,
|
| 38 |
+
"dataset_name": "ClassicalPoetryMotiveRetrieval"
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"download_size": 3130520,
|
| 42 |
+
"dataset_size": 3130520,
|
| 43 |
+
"size_in_bytes": 3130520
|
| 44 |
+
},
|
| 45 |
+
"queries": {
|
| 46 |
+
"description": "Classical Poetry Queries",
|
| 47 |
+
"citation": "",
|
| 48 |
+
"homepage": "",
|
| 49 |
+
"license": "",
|
| 50 |
+
"features": {
|
| 51 |
+
"id": {
|
| 52 |
+
"dtype": "string",
|
| 53 |
+
"_type": "Value"
|
| 54 |
+
},
|
| 55 |
+
"text": {
|
| 56 |
+
"dtype": "string",
|
| 57 |
+
"_type": "Value"
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"splits": {
|
| 61 |
+
"test": {
|
| 62 |
+
"name": "test",
|
| 63 |
+
"num_bytes": 6004,
|
| 64 |
+
"num_examples": 107,
|
| 65 |
+
"dataset_name": "ClassicalPoetryMotiveRetrieval"
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"download_size": 6004,
|
| 69 |
+
"dataset_size": 6004,
|
| 70 |
+
"size_in_bytes": 6004
|
| 71 |
+
},
|
| 72 |
+
"qrels": {
|
| 73 |
+
"description": "Classical Poetry Qrels",
|
| 74 |
+
"citation": "",
|
| 75 |
+
"homepage": "",
|
| 76 |
+
"license": "",
|
| 77 |
+
"features": {
|
| 78 |
+
"query-id": {
|
| 79 |
+
"dtype": "string",
|
| 80 |
+
"_type": "Value"
|
| 81 |
+
},
|
| 82 |
+
"corpus-id": {
|
| 83 |
+
"dtype": "string",
|
| 84 |
+
"_type": "Value"
|
| 85 |
+
},
|
| 86 |
+
"score": {
|
| 87 |
+
"dtype": "float64",
|
| 88 |
+
"_type": "Value"
|
| 89 |
+
}
|
| 90 |
+
},
|
| 91 |
+
"splits": {
|
| 92 |
+
"test": {
|
| 93 |
+
"name": "test",
|
| 94 |
+
"num_bytes": 209455,
|
| 95 |
+
"num_examples": 19707,
|
| 96 |
+
"dataset_name": "ClassicalPoetryMotiveRetrieval"
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
"download_size": 209455,
|
| 100 |
+
"dataset_size": 209455,
|
| 101 |
+
"size_in_bytes": 209455
|
| 102 |
+
}
|
| 103 |
+
}
|
qrels/data-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e3ec316d285d4c5057411c6790bac709fff8168fb33ace07b34f87b1aeabb86
|
| 3 |
+
size 209455
|
queries/data-00000-of-00001.parquet
ADDED
|
Binary file (6 kB). View file
|
|
|