Datasets:
Create README-zhTW.md
Browse files- README-zhTW.md +78 -0
README-zhTW.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- zh
|
4 |
+
license: mit
|
5 |
+
size_categories:
|
6 |
+
- 1K<n<10K
|
7 |
+
task_categories:
|
8 |
+
- text-generation
|
9 |
+
pretty_name: zh-tw-articles-2k
|
10 |
+
tags:
|
11 |
+
- medical
|
12 |
+
- finance
|
13 |
+
- webdataset
|
14 |
+
dataset_info:
|
15 |
+
features:
|
16 |
+
- name: image
|
17 |
+
dtype: string
|
18 |
+
- name: title
|
19 |
+
dtype: string
|
20 |
+
- name: conclusion
|
21 |
+
dtype: string
|
22 |
+
- name: content
|
23 |
+
dtype: string
|
24 |
+
- name: timestamp
|
25 |
+
dtype: string
|
26 |
+
- name: category
|
27 |
+
dtype: string
|
28 |
+
- name: link
|
29 |
+
dtype: string
|
30 |
+
splits:
|
31 |
+
- name: train
|
32 |
+
num_bytes: 3079847
|
33 |
+
num_examples: 1400
|
34 |
+
download_size: 2127628
|
35 |
+
dataset_size: 3079847
|
36 |
+
configs:
|
37 |
+
- config_name: default
|
38 |
+
data_files:
|
39 |
+
- split: train
|
40 |
+
path: data/train-*
|
41 |
+
---
|
42 |
+
|
43 |
+
<img alt="PTS News"
|
44 |
+
src="https://news.pts.org.tw/images/logo.svg"
|
45 |
+
width="320" />
|
46 |
+
|
47 |
+
# zh-tw-pts-articles-**sm**
|
48 |
+
|
49 |
+
[🇺🇸 English](https://huggingface.co/datasets/AWeirdDev/zh-tw-pts-articles-sm/blob/main/README.md) • 🐣繁體中文
|
50 |
+
|
51 |
+
此資料集包含了從 [公視新聞網](https://news.pts.org.tw/dailynews?page=1) 抓取的新聞資料。
|
52 |
+
|
53 |
+
> **注意**:部分 key 對應的值(例如 `conclusion`)有可能為 `None`。
|
54 |
+
|
55 |
+
```python
|
56 |
+
Dataset({
|
57 |
+
features: [
|
58 |
+
'image', # 縮圖
|
59 |
+
'title', # 標題
|
60 |
+
'conclusion', # 結論(「結論先講」一欄,可能為 None)
|
61 |
+
'content', # 文章內容
|
62 |
+
'timestamp', # 發布時間
|
63 |
+
'category', # 類別(可能為 None)
|
64 |
+
'link' # 文章連結
|
65 |
+
],
|
66 |
+
num_rows: 1400
|
67 |
+
})
|
68 |
+
```
|
69 |
+
|
70 |
+
## 使用此資料集
|
71 |
+
|
72 |
+
利用 [🤗 Datasets](https://pypi.org/project/datasets) 下載、使用或是編輯此資料集。
|
73 |
+
|
74 |
+
```python
|
75 |
+
from datasets import load_dataset
|
76 |
+
|
77 |
+
dataset = load_dataset("AWeirdDev/zh-tw-pts-articles-sm")
|
78 |
+
```
|