Datasets:

Modalities:
Tabular
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
danielfein commited on
Commit
92e9ec1
·
verified ·
1 Parent(s): 776dc67

Upload croissant.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. croissant.json +108 -0
croissant.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": [
3
+ "https://schema.org/",
4
+ {
5
+ "cro": "https://schema.croissant.io/",
6
+ "sc": "https://schema.org/"
7
+ }
8
+ ],
9
+ "@type": "cro:Dataset",
10
+ "@id": "https://huggingface.co/datasets/litbench",
11
+ "name": "LitBench Dataset",
12
+ "description": "A dataset containing story prompts with chosen and rejected stories, including timestamps and upvote information.",
13
+ "creator": {
14
+ "@type": "sc:Person",
15
+ "name": "LitBench Team"
16
+ },
17
+ "license": "https://creativecommons.org/licenses/by/4.0/",
18
+ "cro:recordSet": [
19
+ {
20
+ "@type": "cro:RecordSet",
21
+ "@id": "story_pairs",
22
+ "name": "Story Pairs",
23
+ "description": "Pairs of chosen and rejected stories with their prompts and metadata",
24
+ "cro:field": [
25
+ {
26
+ "@type": "cro:Field",
27
+ "@id": "prompt",
28
+ "name": "Prompt",
29
+ "description": "The writing prompt text"
30
+ },
31
+ {
32
+ "@type": "cro:Field",
33
+ "@id": "chosen_story",
34
+ "name": "Chosen Story",
35
+ "description": "The story that was chosen/preferred"
36
+ },
37
+ {
38
+ "@type": "cro:Field",
39
+ "@id": "rejected_story",
40
+ "name": "Rejected Story",
41
+ "description": "The story that was rejected/less preferred"
42
+ },
43
+ {
44
+ "@type": "cro:Field",
45
+ "@id": "timestamps_prompt",
46
+ "name": "Prompt Timestamp",
47
+ "description": "Timestamp when the prompt was created"
48
+ },
49
+ {
50
+ "@type": "cro:Field",
51
+ "@id": "timestamps_chosen",
52
+ "name": "Chosen Story Timestamp",
53
+ "description": "Timestamp when the chosen story was created"
54
+ },
55
+ {
56
+ "@type": "cro:Field",
57
+ "@id": "timestamps_rejected",
58
+ "name": "Rejected Story Timestamp",
59
+ "description": "Timestamp when the rejected story was created"
60
+ },
61
+ {
62
+ "@type": "cro:Field",
63
+ "@id": "upvotes_prompt",
64
+ "name": "Prompt Upvotes",
65
+ "description": "Number of upvotes for the prompt"
66
+ },
67
+ {
68
+ "@type": "cro:Field",
69
+ "@id": "upvotes_chosen",
70
+ "name": "Chosen Story Upvotes",
71
+ "description": "Number of upvotes for the chosen story"
72
+ },
73
+ {
74
+ "@type": "cro:Field",
75
+ "@id": "upvotes_rejected",
76
+ "name": "Rejected Story Upvotes",
77
+ "description": "Number of upvotes for the rejected story"
78
+ }
79
+ ]
80
+ }
81
+ ],
82
+ "cro:dataResource": [
83
+ {
84
+ "@type": "cro:DataResource",
85
+ "@id": "litbench_resource",
86
+ "name": "LitBench JSON Data",
87
+ "description": "The main LitBench dataset in JSON format",
88
+ "contentUrl": "reformatted_test_data.json",
89
+ "encodingFormat": "application/json",
90
+ "cro:recordSet": {"@id": "story_pairs"},
91
+ "cro:distribution": {
92
+ "@type": "cro:JSONDistribution",
93
+ "cro:jsonPath": "$.data[*]",
94
+ "cro:fieldPaths": {
95
+ "prompt": "$.prompt",
96
+ "chosen_story": "$.chosen_story",
97
+ "rejected_story": "$.rejected_story",
98
+ "timestamps_prompt": "$.timestamps.prompt",
99
+ "timestamps_chosen": "$.timestamps.chosen",
100
+ "timestamps_rejected": "$.timestamps.rejected",
101
+ "upvotes_prompt": "$.upvotes.prompt",
102
+ "upvotes_chosen": "$.upvotes.chosen",
103
+ "upvotes_rejected": "$.upvotes.rejected"
104
+ }
105
+ }
106
+ }
107
+ ]
108
+ }