KeisukeMiyamoto commited on
Commit
ace6d64
·
verified ·
1 Parent(s): 4519d4a

Upload lambda-chat dataset

Browse files
README.md CHANGED
@@ -1,3 +1,84 @@
1
  ---
2
- license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - ja
4
+ pretty_name: lambda-chat
5
+ license: other
6
+ task_categories:
7
+ - text-generation
8
+ tags:
9
+ - japanese
10
+ - instruction-following
11
+ - conversational
12
+ - parquet
13
+ size_categories:
14
+ - 100K<n<1M
15
+ configs:
16
+ - config_name: default
17
+ data_files:
18
+ - split: train
19
+ path: "train/*.parquet"
20
+ - split: validation
21
+ path: "validation.parquet"
22
+ - split: test
23
+ path: "test.parquet"
24
  ---
25
+
26
+ # lambda-chat
27
+
28
+ lambda-chat is a Japanese instruction-following dataset for supervised fine-tuning of chat models. It combines openly available datasets into one consistent chat format for easier use.
29
+
30
+ ## Purpose
31
+
32
+ The dataset is intended for training and evaluating Japanese chat and instruction-following models. Each example uses a list of messages with `role` and `content` fields.
33
+
34
+ ## Source Data
35
+
36
+ The dataset contains data from the following sources.
37
+
38
+ - [APTO-001/ja-safety-sft-dataset](https://huggingface.co/datasets/APTO-001/ja-safety-sft-dataset)
39
+ - [APTO-001/japanese-civil-law-llm-instruction-dataset](https://huggingface.co/datasets/APTO-001/japanese-civil-law-llm-instruction-dataset)
40
+ - [APTO-001/instruction-following-dataset](https://huggingface.co/datasets/APTO-001/instruction-following-dataset)
41
+ - [APTO-001/japanese-reasoning-dataset-sample](https://huggingface.co/datasets/APTO-001/japanese-reasoning-dataset-sample)
42
+ - [APTO-001/japanese-style-contrast-dataset](https://huggingface.co/datasets/APTO-001/japanese-style-contrast-dataset)
43
+ - [APTO-001/llm-safety-japanese-multiturn-dataset](https://huggingface.co/datasets/APTO-001/llm-safety-japanese-multiturn-dataset)
44
+ - [megagonlabs/instruction_ja](https://huggingface.co/datasets/megagonlabs/instruction_ja)
45
+ - [llm-jp/extraction-wiki-ja](https://huggingface.co/datasets/llm-jp/extraction-wiki-ja)
46
+ - [llm-jp/llm-jp-instructions](https://huggingface.co/datasets/llm-jp/llm-jp-instructions)
47
+ - [llm-jp/magpie-sft-v1.0](https://huggingface.co/datasets/llm-jp/magpie-sft-v1.0)
48
+ - [OpenAssistant/oasst1](https://huggingface.co/datasets/OpenAssistant/oasst1)
49
+
50
+ `llm-jp/llm-jp-instructions` and `APTO-001/ja-safety-sft-dataset` are published under `CC BY 4.0` license.
51
+
52
+ ## Data Processing
53
+
54
+ The source data was deduplicated, normalized with NFKC, and filtered to remove code and LaTeX content. The examples were then randomly shuffled and split into train, validation, and test sets.
55
+
56
+ ## Dataset Size
57
+
58
+ | Split | Rows |
59
+ | --- | ---: |
60
+ | train | 183,072 |
61
+ | validation | 1,868 |
62
+ | test | 1,868 |
63
+ | total | 186,808 |
64
+
65
+ The dataset contains about 50M assistant tokens measured by Gemma 4 12B tokenizer.
66
+
67
+ ## Columns
68
+
69
+ | Column | Description |
70
+ | --- | --- |
71
+ | `id` | Unique identifier for the example. |
72
+ | `messages` | Chat messages. Each message has `role` and `content`. |
73
+ | `output_char` | Number of characters in all assistant responses. |
74
+ | `output_token` | Number of tokens in all assistant responses. |
75
+ | `dataset_name` | Source dataset name |
76
+
77
+ ## Example
78
+
79
+ ```python
80
+ from datasets import load_dataset
81
+
82
+ dataset = load_dataset("KeisukeMiyamoto/lambda-chat")
83
+ print(dataset["train"][0])
84
+ ```
test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ee859e1b881dad87b66ffaf6d7e60bfc575678ea65f93389c43425474d004d3
3
+ size 1180720
train/train_00.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55b04b95f84f5210ada05984277b2fe1bf07f775b19fe340bf9841850d6939de
3
+ size 7045023
train/train_01.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08fde90ce00c9e4e5a30f0f8795fdc9d0b2c7e8e0df2ae57a7a5e8a0b4300b66
3
+ size 7077455
train/train_02.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e3f5127a75e315966952f5eff8b6609e39285e0e5966dc17f6f8243695bf506
3
+ size 7053279
train/train_03.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47fb01add8fe68da33217468fdec57dff9899e7b0a606d64b7b66bca805dceef
3
+ size 7063645
train/train_04.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eab828e2293bbe6dc9fc6e29b58ce7f60218adf54600eebb514f508e5b849bb
3
+ size 7059907
train/train_05.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4f253e0b490b68f10f7b90132ab1da03ce43730b8c38ef082ef363e7b93f4cc
3
+ size 6994477
train/train_06.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07e14fbf1254e578fb615d2f373496bf99ee322aebe3d5e26e5ad3edf7c04fe7
3
+ size 7026981
train/train_07.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18cdaf936aaa4f7fed42763f267dd6ee918422807249d81d8c14520ddc790032
3
+ size 7093083
train/train_08.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2880d566e866fac3a7c7b8936d1e9a074fb8e504449a1d8f000eeab69f9546b9
3
+ size 7040035
train/train_09.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41d2169e43626c50c38a6769390c248b16f01bf4cc374851ec3b8e9aa0833213
3
+ size 7123329
train/train_10.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3f86a751b91dd202bd57575d25fe6cd93145940430681133b84e72e8b848b7d
3
+ size 7033991
train/train_11.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0144d5f0ac0d3ba87b15918697d3bcfb6a02dd823e5f13ce84c0bb3ca588973
3
+ size 7078712
train/train_12.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebb9e32ffd00231a6e0e810ee835b283e61e1a1665a58c9924efe7c49d89420b
3
+ size 7069830
train/train_13.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4b839717eef3b52cf2787e1b5241ea04998f713a0999c0c2b7eff4598c3c11e
3
+ size 7100466
train/train_14.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee404f8930bfaafa5b9880a71b10810e2e649837233d3d8d33bd83e9d8abdcd3
3
+ size 7078532
train/train_15.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9565449e3572535c6d17376e01aedb03565d10b0eca8b83200e5b8d171368dfb
3
+ size 7086161
validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56a4158058dfd7b27be672c57616ebf27cd286a0b2beb084ebb1eb9dd7c4f82f
3
+ size 1152345