picard47at commited on
Commit
d376c95
·
verified ·
1 Parent(s): b7baa74

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +29 -21
README.md CHANGED
@@ -1,21 +1,29 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: index
5
- dtype: int64
6
- - name: input
7
- dtype: string
8
- - name: output
9
- dtype: string
10
- splits:
11
- - name: train
12
- num_bytes: 26218781
13
- num_examples: 7465
14
- download_size: 18798954
15
- dataset_size: 26218781
16
- configs:
17
- - config_name: default
18
- data_files:
19
- - split: train
20
- path: data/train-*
21
- ---
 
 
 
 
 
 
 
 
 
1
+ # punctuation_restoration
2
+
3
+ ## Dataset Summary
4
+
5
+ This dataset is designed for **instruction fine-tuning** of large language models (LLMs), especially for the **Qwen3** family, to perform **punctuation restoration** on Mandarin Chinese text.
6
+
7
+ It is derived from the [`AWeirdDev/zh-tw-articles-6k`](https://huggingface.co/datasets/AWeirdDev/zh-tw-articles-6k) dataset. The `context` field is processed to create input-output pairs in the Qwen3-style message format.
8
+
9
+ - 🔧 **User message**: A cleaned version of the article with all punctuation removed, spaces added where punctuation was, and an instruction prefix.
10
+ - ✍️ **Assistant message**: The original article with punctuation.
11
+ - 🧠 **Use Case**: Fine-tuning Qwen3 or similar chat-style LLMs to restore punctuation from flat text.
12
+
13
+ ## Format
14
+
15
+ Each sample in the dataset follows this structure:
16
+
17
+ ```json
18
+ {
19
+ "messages": [
20
+ {
21
+ "role": "user",
22
+ "content": "Your task is to restore the punctuations of this article:\nZhe li shi yi ge mei you biao dian de wen zhang ..."
23
+ },
24
+ {
25
+ "role": "assistant",
26
+ "content": "這裡是一個沒有標點或者標點不全的文章,請你恢復正確的標點符號。"
27
+ }
28
+ ]
29
+ }