HubCloneHubClone
gwenUpdate README.md8ba9fa3
History1.26 kB
1# Dataset Card for "hacker-news"
2
3## Dataset Summary
4
5**hacker-news** is a collection of 128,758 text examples published by **open-index**. It was built for text generation research and is distributed as Parquet files that load directly with common dataframe libraries.
6
7## Supported Tasks and Leaderboards
8
9- `text-generation`: the dataset can be used to train and evaluate models for text generation.
10
11## Languages
12
13English (`en`).
14
15## Dataset Structure
16
17### Data Instances
18
19Each row is one example. Use the viewer above to browse the rows.
20
21### Data Fields
22
23| Field | Type | Description |
24| --- | --- | --- |
25| `title` | string | the item title |
26| `text` | string | the raw text of the example |
27| `score` | int64 | community score |
28
29### Data Splits
30
31| Split | Rows |
32| --- | --- |
33| train | 115,882 |
34| test | 12,876 |
35
36## Usage
37
38```python
39from datasets import load_dataset
40
41ds = load_dataset("open-index/hacker-news", split="train")
42print(ds[0])
43```
44
45## Licensing Information
46
47Released under the `apache-2.0` license. Check the license of the original sources before commercial use.
48
49## Citation Information
50
51```bibtex
52@misc{openindex_hackernews,
53 title = {hacker-news},
54 author = {open-index},
55 year = {2026},
56 note = {Dataset card}
57}
58```