Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,21 +1,29 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 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 |
+
}
|