The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'id'})
This happened while the json dataset builder was generating data using
hf://datasets/byj233/ChinesePoetry-embedding/元/0.json (at revision 7f2107a839a80d8443d69e38afca7f7294f33d61)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: int64
title: string
content: string
embedding: list<item: double>
child 0, item: double
poetry_id: int64
dynasty: string
author: string
author_id: int64
-- schema metadata --
pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 1043
to
{'poetry_id': Value(dtype='int64', id=None), 'embedding': Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), 'title': Value(dtype='string', id=None), 'content': Value(dtype='string', id=None), 'dynasty': Value(dtype='string', id=None), 'author': Value(dtype='string', id=None), 'author_id': Value(dtype='int64', id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1415, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 991, in stream_convert_to_parquet
builder._prepare_split(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'id'})
This happened while the json dataset builder was generating data using
hf://datasets/byj233/ChinesePoetry-embedding/元/0.json (at revision 7f2107a839a80d8443d69e38afca7f7294f33d61)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
poetry_id int64 | embedding sequence | title string | content string | dynasty string | author string | author_id int64 |
|---|---|---|---|---|---|---|
815,466 | [
-1.59375,
2.609375,
3.078125,
-2.734375,
-0.26953125,
-2,
0.5390625,
1.984375,
1.9140625,
-0.392578125,
-0.09765625,
4.8125,
1.140625,
-2.921875,
3.765625,
0.419921875,
-3.0625,
-3.375,
-3.578125,
0.62109375,
5.34375,
-3.296875,
-0.28125,
-0.01287841796875,
-0.0654296... | 将进酒 | 君不见,黄河之水天上来,奔流到海不复回。
君不见,高堂明镜悲白发,朝如青丝暮成雪。
人生得意须尽欢,莫使金樽空对月。
天生我材必有用,千金散尽还复来。
烹羊宰牛且为乐,会须一饮三百杯。
岑夫子,丹丘生,将进酒,杯莫停。
与君歌一曲,请君为我倾耳听。(倾耳听 一作:侧耳听)
钟鼓馔玉不足贵,但愿长醉不复醒。(不足贵 一作:何足贵;不复醒 一作:不愿醒/不用醒)
古来圣贤皆寂寞,惟有饮者留其名。(古来 一作:自古;惟 通:唯)
陈王昔时宴平乐,斗酒十千恣欢谑。
主人何为言少钱,径须沽取对君酌。
五花马,千金裘,呼儿将出换美酒,与尔同销万古愁。 | 唐代 | 李白 | 668 |
815,467 | [
-0.6171875,
2.015625,
2.6875,
-1.8671875,
0.0281982421875,
-3.234375,
3.328125,
2.484375,
2.921875,
-0.45898437500000006,
-3.359375,
5.46875,
1.84375,
-2.5625,
2.8125,
-0.3359375,
-4.53125,
-1.84375,
-1.109375,
0.15625,
4.3125,
-3.328125,
-0.9296875,
-1.1484375,
0.063... | 水调歌头·明月几时有 | 丙辰中秋,欢饮达旦,大醉,作此篇,兼怀子由。
明月几时有?把酒问青天。不知天上宫阙,今夕是何年。我欲乘风归去,又恐琼楼玉宇,高处不胜寒。起舞弄清影,何似在人间?(何似 一作:何时;又恐 一作:惟 / 唯恐)
转朱阁,低绮户,照无眠。不应有恨,何事长向别时圆?人有悲欢离合,月有阴晴圆缺,此事古难全。但愿人长久,千里共婵娟。(长向 一作:偏向) | 宋代 | 苏轼 | 5,738 |
815,475 | [
-2.265625,
3.765625,
0.271484375,
-2.484375,
1.328125,
-3.171875,
0.275390625,
3.703125,
2.421875,
1.203125,
-1.890625,
5.09375,
2,
-1.84375,
4.03125,
-0.59765625,
-1.3828125,
-3.21875,
-0.24804687500000003,
-1.078125,
2.328125,
-2.9375,
0.62890625,
-1.71875,
0.5625,
... | 卜算子·咏梅 | 读陆游咏梅词,反其意而用之。
风雨送春归,飞雪迎春到。已是悬崖百丈冰,犹有花枝俏。
俏也不争春,只把春来报。待到山花烂漫时,她在丛中笑。 | 近代 | 毛泽东 | 36,387 |
816,186 | [
-3,
1.6328125,
1.3515625,
-2.25,
-1.265625,
-3.65625,
-1.3515625,
4.0625,
1.2578125,
-2.0625,
-4.1875,
2.9375,
0.58203125,
-1.71875,
4.09375,
1.109375,
-2.046875,
-0.042236328125,
-2.421875,
-0.484375,
1.3203125,
-5.75,
-1.015625,
0.07763671875,
-0.859375,
-3.09375,... | 师旷撞晋平公 | 晋平公与群臣饮,饮酣,乃喟然叹曰:“莫乐为人君!惟其言而莫之违。”师旷侍坐于前,援琴撞之。公被衽而避,琴坏于壁。公曰:“太师谁撞?”师旷曰:“今者有小人言于侧者,故撞之。”公曰:“寡人也。”师旷曰:“哑!是非君人者之言也。”左右请除之。公曰:“释之,以为寡人戒。” | 先秦 | 韩非 | 69 |
816,187 | [0.69140625,1.984375,2.40625,-2.96875,0.032958984375,-1.6328125,0.2158203125,3.5,1.3671875,0.6835937(...TRUNCATED) | 杀驼破瓮 | "昔有一人,于瓮中盛谷。骆驼入瓮食谷,首不得出。主人以为忧,无计可施(...TRUNCATED) | 南北朝 | 伽腽肭 | 8,928 |
816,188 | [-1.4140625,3.75,0.94921875,-2.25,0.423828125,-2.046875,1.296875,2.875,3.0,3.078125,-1.328125,4.5312(...TRUNCATED) | 牧童诗 | 骑牛远远过前村,短笛横吹隔陇闻。
多少长安名利客,机关用尽不如君。 | 宋代 | 黄庭坚 | 5,767 |
816,189 | [0.1015625,3.5,1.1875,-3.46875,2.125,-3.5,0.2294921875,4.40625,3.609375,1.8984375,0.1215820312499999(...TRUNCATED) | 鹧鸪天·陌上柔桑破嫩芽 | "陌上柔桑破嫩芽,东邻蚕种已生些。平冈细草鸣黄犊,斜日寒林点暮鸦。\n(...TRUNCATED) | 宋代 | 辛弃疾 | 2 |
816,190 | [-2.0625,5.28125,2.8125,-2.0,-0.921875,-3.09375,2.265625,4.125,1.375,0.89453125,0.2890625,5.09375,1.(...TRUNCATED) | 病梅馆记 | "江宁之龙蟠,苏州之邓尉,杭州之西溪,皆产梅。或曰:“梅以曲为美,直(...TRUNCATED) | 清代 | 龚自珍 | 60 |
816,191 | [-2.03125,0.90234375,1.7109375,-3.859375,-0.42578125,-1.6953125,-0.021484375,3.953125,2.171875,0.515(...TRUNCATED) | 苦寒行 | "北上太行山,艰哉何巍巍!\n羊肠坂诘屈,车轮为之摧。\n树木何萧瑟,北(...TRUNCATED) | 两汉 | 曹操 | 5,746 |
816,192 | [-0.51171875,2.96875,2.421875,-2.078125,-0.44921875,-0.47460937500000006,0.080078125,3.109375,-0.228(...TRUNCATED) | 遗爱寺 | 弄石临溪坐,寻花绕寺行。
时时闻鸟语,处处是泉声。 | 唐代 | 白居易 | 1 |
End of preview.