Upload folder using huggingface_hub
Browse files- .gitattributes +55 -55
- README.md +171 -0
- data/train-00000-of-00006-4feeb3f83346a0e9.parquet +3 -0
- data/train-00001-of-00006-4030672591c2f478.parquet +3 -0
- data/train-00002-of-00006-1779b7cec9462180.parquet +3 -0
- data/train-00003-of-00006-2fa862bfed56af1f.parquet +3 -0
- data/train-00004-of-00006-18f4bdd50c103e71.parquet +3 -0
- data/train-00005-of-00006-fe1acc5d10a9f0e2.parquet +3 -0
.gitattributes
CHANGED
@@ -1,55 +1,55 @@
|
|
1 |
-
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
12 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
14 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
15 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
16 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
17 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
18 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
19 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
20 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
21 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
22 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
30 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
31 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
32 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
33 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
34 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
35 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
36 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
37 |
-
# Audio files - uncompressed
|
38 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
39 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
40 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
41 |
-
# Audio files - compressed
|
42 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
43 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
44 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
45 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
46 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
47 |
-
# Image files - uncompressed
|
48 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
49 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
50 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
51 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
52 |
-
# Image files - compressed
|
53 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
26 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
27 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
# Audio files - uncompressed
|
38 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
39 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
40 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
41 |
+
# Audio files - compressed
|
42 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
43 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
44 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
45 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
47 |
+
# Image files - uncompressed
|
48 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
49 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
50 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
51 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
52 |
+
# Image files - compressed
|
53 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
size_categories:
|
3 |
+
- 1M<n<10M
|
4 |
+
task_categories:
|
5 |
+
- conversational
|
6 |
+
extra_gated_prompt: You agree to the [LMSYS-Chat-1M Dataset License Agreement](https://huggingface.co/datasets/lmsys/lmsys-chat-1m#lmsys-chat-1m-dataset-license-agreement).
|
7 |
+
extra_gated_fields:
|
8 |
+
Name: text
|
9 |
+
Email: text
|
10 |
+
Affiliation: text
|
11 |
+
Country: text
|
12 |
+
extra_gated_button_content: I agree to the terms and conditions of the LMSYS-Chat-1M
|
13 |
+
Dataset License Agreement.
|
14 |
+
configs:
|
15 |
+
- config_name: default
|
16 |
+
data_files:
|
17 |
+
- split: train
|
18 |
+
path: data/train-*
|
19 |
+
dataset_info:
|
20 |
+
features:
|
21 |
+
- name: conversation_id
|
22 |
+
dtype: string
|
23 |
+
- name: model
|
24 |
+
dtype: string
|
25 |
+
- name: conversation
|
26 |
+
list:
|
27 |
+
- name: content
|
28 |
+
dtype: string
|
29 |
+
- name: role
|
30 |
+
dtype: string
|
31 |
+
- name: turn
|
32 |
+
dtype: int64
|
33 |
+
- name: language
|
34 |
+
dtype: string
|
35 |
+
- name: openai_moderation
|
36 |
+
list:
|
37 |
+
- name: categories
|
38 |
+
struct:
|
39 |
+
- name: harassment
|
40 |
+
dtype: bool
|
41 |
+
- name: harassment/threatening
|
42 |
+
dtype: bool
|
43 |
+
- name: hate
|
44 |
+
dtype: bool
|
45 |
+
- name: hate/threatening
|
46 |
+
dtype: bool
|
47 |
+
- name: self-harm
|
48 |
+
dtype: bool
|
49 |
+
- name: self-harm/instructions
|
50 |
+
dtype: bool
|
51 |
+
- name: self-harm/intent
|
52 |
+
dtype: bool
|
53 |
+
- name: sexual
|
54 |
+
dtype: bool
|
55 |
+
- name: sexual/minors
|
56 |
+
dtype: bool
|
57 |
+
- name: violence
|
58 |
+
dtype: bool
|
59 |
+
- name: violence/graphic
|
60 |
+
dtype: bool
|
61 |
+
- name: category_scores
|
62 |
+
struct:
|
63 |
+
- name: harassment
|
64 |
+
dtype: float64
|
65 |
+
- name: harassment/threatening
|
66 |
+
dtype: float64
|
67 |
+
- name: hate
|
68 |
+
dtype: float64
|
69 |
+
- name: hate/threatening
|
70 |
+
dtype: float64
|
71 |
+
- name: self-harm
|
72 |
+
dtype: float64
|
73 |
+
- name: self-harm/instructions
|
74 |
+
dtype: float64
|
75 |
+
- name: self-harm/intent
|
76 |
+
dtype: float64
|
77 |
+
- name: sexual
|
78 |
+
dtype: float64
|
79 |
+
- name: sexual/minors
|
80 |
+
dtype: float64
|
81 |
+
- name: violence
|
82 |
+
dtype: float64
|
83 |
+
- name: violence/graphic
|
84 |
+
dtype: float64
|
85 |
+
- name: flagged
|
86 |
+
dtype: bool
|
87 |
+
- name: redacted
|
88 |
+
dtype: bool
|
89 |
+
splits:
|
90 |
+
- name: train
|
91 |
+
num_bytes: 2626438904
|
92 |
+
num_examples: 1000000
|
93 |
+
download_size: 1488850250
|
94 |
+
dataset_size: 2626438904
|
95 |
+
---
|
96 |
+
|
97 |
+
## LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset
|
98 |
+
|
99 |
+
This dataset contains one million real-world conversations with 25 state-of-the-art LLMs.
|
100 |
+
It is collected from 210K unique IP addresses in the wild on the [Vicuna demo and Chatbot Arena website](https://chat.lmsys.org/) from April to August 2023.
|
101 |
+
Each sample includes a conversation ID, model name, conversation text in OpenAI API JSON format, detected language tag, and OpenAI moderation API tag.
|
102 |
+
|
103 |
+
User consent is obtained through the "Terms of use" section on the data collection website.
|
104 |
+
To ensure the safe release of data, we have made our best efforts to remove all conversations that contain personally identifiable information (PII).
|
105 |
+
In addition, we have included the OpenAI moderation API output for each message.
|
106 |
+
However, we have chosen to keep unsafe conversations so that researchers can study the safety-related questions associated with LLM usage in real-world scenarios as well as the OpenAI moderation process.
|
107 |
+
|
108 |
+
For more details, please refer to the paper: https://arxiv.org/abs/2309.11998
|
109 |
+
|
110 |
+
**Basic Statistics**
|
111 |
+
| Key | Value |
|
112 |
+
| --- | --- |
|
113 |
+
| # Conversations | 1,000,000 |
|
114 |
+
| # Models | 25 |
|
115 |
+
| # Users | 210,479 |
|
116 |
+
| # Languages | 154 |
|
117 |
+
| Avg. # Turns per Sample | 2.0 |
|
118 |
+
| Avg. # Tokens per Prompt | 69.5 |
|
119 |
+
| Avg. # Tokens per Response | 214.5 |
|
120 |
+
|
121 |
+
**PII Redaction**
|
122 |
+
We partnered with the [OpaquePrompts](https://opaqueprompts.opaque.co/) team to redact person names in this dataset to protect user privacy.
|
123 |
+
Names like "Mary" and "James" in a conversation will appear as "NAME_1" and "NAME_2". For example:
|
124 |
+
```json
|
125 |
+
Raw: [ { "content": "Write me a bio. My Name is Mary I am a student who is currently a beginner free lancer. I worked with James in the past ..." }]
|
126 |
+
Redacted: [ { "content": "Write me a bio. My Name is NAME_1 I am a student who is currently a beginner free lancer. I worked with NAME_2 in the past ..." }]
|
127 |
+
```
|
128 |
+
Each conversation includes a "redacted" field to indicate if it has been redacted.
|
129 |
+
This process may impact data quality and occasionally lead to incorrect redactions.
|
130 |
+
We are working on improving the redaction quality and will release improved versions in the future.
|
131 |
+
If you want to access the raw conversation data, please fill out [the form](https://docs.google.com/forms/d/1PZw67e19l0W3oCiQOjzSyZvXfOemhg6LCY0XzVmOUx0/edit) with details about your intended use cases.
|
132 |
+
|
133 |
+
## Uniqueness and Potential Usage
|
134 |
+
This dataset features large-scale real-world conversations with LLMs.
|
135 |
+
|
136 |
+
We believe it will help the AI research community answer important questions around topics like:
|
137 |
+
- Characteristics and distributions of real-world user prompts
|
138 |
+
- AI safety and content moderation
|
139 |
+
- Training instruction-following models
|
140 |
+
- Improving and evaluating LLM evaluation methods
|
141 |
+
- Model selection and request dispatching algorithms
|
142 |
+
|
143 |
+
For more details, please refer to the paper: https://arxiv.org/abs/2309.11998
|
144 |
+
|
145 |
+
## LMSYS-Chat-1M Dataset License Agreement
|
146 |
+
|
147 |
+
This Agreement contains the terms and conditions that govern your access and use of the LMSYS-Chat-1M Dataset (as defined above). You may not use the LMSYS-Chat-1M Dataset if you do not accept this Agreement. By clicking to accept, accessing the LMSYS-Chat-1M Dataset, or both, you hereby agree to the terms of the Agreement. If you are agreeing to be bound by the Agreement on behalf of your employer or another entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this Agreement. If you do not have the requisite authority, you may not accept the Agreement or access the LMSYS-Chat-1M Dataset on behalf of your employer or another entity.
|
148 |
+
|
149 |
+
- Safety and Moderation: **This dataset contains unsafe conversations that may be perceived as offensive or unsettling.** User should apply appropriate filters and safety measures before utilizing this dataset for training dialogue agents.
|
150 |
+
- Non-Endorsement: The views and opinions depicted in this dataset **do not reflect** the perspectives of the researchers or affiliated institutions engaged in the data collection process.
|
151 |
+
- Legal Compliance: You are mandated to use it in adherence with all pertinent laws and regulations.
|
152 |
+
- Model Specific Terms: When leveraging direct outputs of a specific model, users must adhere to its corresponding terms of use.
|
153 |
+
- Non-Identification: You **must not** attempt to identify the identities of individuals or infer any sensitive personal data encompassed in this dataset.
|
154 |
+
- Prohibited Transfers: You should not distribute, copy, disclose, assign, sublicense, embed, host, or otherwise transfer the dataset to any third party.
|
155 |
+
- Right to Request Deletion: At any time, we may require you to delete all copies of the conversation dataset (in whole or in part) in your possession and control. You will promptly comply with any and all such requests. Upon our request, you shall provide us with written confirmation of your compliance with such requirement.
|
156 |
+
- Termination: We may, at any time, for any reason or for no reason, terminate this Agreement, effective immediately upon notice to you. Upon termination, the license granted to you hereunder will immediately terminate, and you will immediately stop using the LMSYS-Chat-1M Dataset and destroy all copies of the LMSYS-Chat-1M Dataset and related materials in your possession or control.
|
157 |
+
- Limitation of Liability: IN NO EVENT WILL WE BE LIABLE FOR ANY CONSEQUENTIAL, INCIDENTAL, EXEMPLARY, PUNITIVE, SPECIAL, OR INDIRECT DAMAGES (INCLUDING DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF OR RELATING TO THIS AGREEMENT OR ITS SUBJECT MATTER, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
158 |
+
|
159 |
+
Subject to your compliance with the terms and conditions of this Agreement, we grant to you, a limited, non-exclusive, non-transferable, non-sublicensable license to use the LMSYS-Chat-1M Dataset, including the conversation data and annotations, to research, develop, and improve software, algorithms, machine learning models, techniques, and technologies for both research and commercial purposes.
|
160 |
+
|
161 |
+
## Citation
|
162 |
+
```
|
163 |
+
@misc{zheng2023lmsyschat1m,
|
164 |
+
title={LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset},
|
165 |
+
author={Lianmin Zheng and Wei-Lin Chiang and Ying Sheng and Tianle Li and Siyuan Zhuang and Zhanghao Wu and Yonghao Zhuang and Zhuohan Li and Zi Lin and Eric. P Xing and Joseph E. Gonzalez and Ion Stoica and Hao Zhang},
|
166 |
+
year={2023},
|
167 |
+
eprint={2309.11998},
|
168 |
+
archivePrefix={arXiv},
|
169 |
+
primaryClass={cs.CL}
|
170 |
+
}
|
171 |
+
```
|
data/train-00000-of-00006-4feeb3f83346a0e9.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61a04cfeb3831d1981d58f29732f6bb87a4e2521a32fcfd1e3405ae40a256c54
|
3 |
+
size 249303811
|
data/train-00001-of-00006-4030672591c2f478.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4c962cd1cbe55ff78af6a72d9272434d5c3c9726199c40abafd98b6b14c5217
|
3 |
+
size 247222671
|
data/train-00002-of-00006-1779b7cec9462180.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8764bd02a631e208ee74bd6301bd4e6fe56c73a7872a4f0331539d23a83a3c1c
|
3 |
+
size 249923890
|
data/train-00003-of-00006-2fa862bfed56af1f.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:50c5be93a7ae4086deba7af8381046a8f64a9a9e610b5ff43b9e4c99c2a95446
|
3 |
+
size 247173225
|
data/train-00004-of-00006-18f4bdd50c103e71.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33d44fc51bed290115b7b4d2b362ba1bc82a61f98738dccdc134d5c3090b4d37
|
3 |
+
size 246443273
|
data/train-00005-of-00006-fe1acc5d10a9f0e2.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:02ce4842775e2d4e825cd375c78354170b5687a34e11f1f62f25ac11365f69c3
|
3 |
+
size 248783380
|