|
---
|
|
size_categories:
|
|
- 1M<n<10M
|
|
task_categories:
|
|
- conversational
|
|
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).
|
|
extra_gated_fields:
|
|
Name: text
|
|
Email: text
|
|
Affiliation: text
|
|
Country: text
|
|
extra_gated_button_content: I agree to the terms and conditions of the LMSYS-Chat-1M
|
|
Dataset License Agreement.
|
|
configs:
|
|
- config_name: default
|
|
data_files:
|
|
- split: train
|
|
path: data/train-*
|
|
dataset_info:
|
|
features:
|
|
- name: conversation_id
|
|
dtype: string
|
|
- name: model
|
|
dtype: string
|
|
- name: conversation
|
|
list:
|
|
- name: content
|
|
dtype: string
|
|
- name: role
|
|
dtype: string
|
|
- name: turn
|
|
dtype: int64
|
|
- name: language
|
|
dtype: string
|
|
- name: openai_moderation
|
|
list:
|
|
- name: categories
|
|
struct:
|
|
- name: harassment
|
|
dtype: bool
|
|
- name: harassment/threatening
|
|
dtype: bool
|
|
- name: hate
|
|
dtype: bool
|
|
- name: hate/threatening
|
|
dtype: bool
|
|
- name: self-harm
|
|
dtype: bool
|
|
- name: self-harm/instructions
|
|
dtype: bool
|
|
- name: self-harm/intent
|
|
dtype: bool
|
|
- name: sexual
|
|
dtype: bool
|
|
- name: sexual/minors
|
|
dtype: bool
|
|
- name: violence
|
|
dtype: bool
|
|
- name: violence/graphic
|
|
dtype: bool
|
|
- name: category_scores
|
|
struct:
|
|
- name: harassment
|
|
dtype: float64
|
|
- name: harassment/threatening
|
|
dtype: float64
|
|
- name: hate
|
|
dtype: float64
|
|
- name: hate/threatening
|
|
dtype: float64
|
|
- name: self-harm
|
|
dtype: float64
|
|
- name: self-harm/instructions
|
|
dtype: float64
|
|
- name: self-harm/intent
|
|
dtype: float64
|
|
- name: sexual
|
|
dtype: float64
|
|
- name: sexual/minors
|
|
dtype: float64
|
|
- name: violence
|
|
dtype: float64
|
|
- name: violence/graphic
|
|
dtype: float64
|
|
- name: flagged
|
|
dtype: bool
|
|
- name: redacted
|
|
dtype: bool
|
|
splits:
|
|
- name: train
|
|
num_bytes: 2626438904
|
|
num_examples: 1000000
|
|
download_size: 1488850250
|
|
dataset_size: 2626438904
|
|
---
|
|
|
|
## LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset
|
|
|
|
This dataset contains one million real-world conversations with 25 state-of-the-art LLMs.
|
|
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.
|
|
Each sample includes a conversation ID, model name, conversation text in OpenAI API JSON format, detected language tag, and OpenAI moderation API tag.
|
|
|
|
User consent is obtained through the "Terms of use" section on the data collection website.
|
|
To ensure the safe release of data, we have made our best efforts to remove all conversations that contain personally identifiable information (PII).
|
|
In addition, we have included the OpenAI moderation API output for each message.
|
|
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.
|
|
|
|
For more details, please refer to the paper: https://arxiv.org/abs/2309.11998
|
|
|
|
**Basic Statistics**
|
|
| Key | Value |
|
|
| --- | --- |
|
|
| # Conversations | 1,000,000 |
|
|
| # Models | 25 |
|
|
| # Users | 210,479 |
|
|
| # Languages | 154 |
|
|
| Avg. # Turns per Sample | 2.0 |
|
|
| Avg. # Tokens per Prompt | 69.5 |
|
|
| Avg. # Tokens per Response | 214.5 |
|
|
|
|
**PII Redaction**
|
|
We partnered with the [OpaquePrompts](https://opaqueprompts.opaque.co/) team to redact person names in this dataset to protect user privacy.
|
|
Names like "Mary" and "James" in a conversation will appear as "NAME_1" and "NAME_2". For example:
|
|
```json
|
|
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 ..." }]
|
|
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 ..." }]
|
|
```
|
|
Each conversation includes a "redacted" field to indicate if it has been redacted.
|
|
This process may impact data quality and occasionally lead to incorrect redactions.
|
|
We are working on improving the redaction quality and will release improved versions in the future.
|
|
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.
|
|
|
|
## Uniqueness and Potential Usage
|
|
This dataset features large-scale real-world conversations with LLMs.
|
|
|
|
We believe it will help the AI research community answer important questions around topics like:
|
|
- Characteristics and distributions of real-world user prompts
|
|
- AI safety and content moderation
|
|
- Training instruction-following models
|
|
- Improving and evaluating LLM evaluation methods
|
|
- Model selection and request dispatching algorithms
|
|
|
|
For more details, please refer to the paper: https://arxiv.org/abs/2309.11998
|
|
|
|
## LMSYS-Chat-1M Dataset License Agreement
|
|
|
|
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.
|
|
|
|
- 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.
|
|
- 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.
|
|
- Legal Compliance: You are mandated to use it in adherence with all pertinent laws and regulations.
|
|
- Model Specific Terms: When leveraging direct outputs of a specific model, users must adhere to its corresponding terms of use.
|
|
- Non-Identification: You **must not** attempt to identify the identities of individuals or infer any sensitive personal data encompassed in this dataset.
|
|
- Prohibited Transfers: You should not distribute, copy, disclose, assign, sublicense, embed, host, or otherwise transfer the dataset to any third party.
|
|
- 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.
|
|
- 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.
|
|
- 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.
|
|
|
|
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.
|
|
|
|
## Citation
|
|
```
|
|
@misc{zheng2023lmsyschat1m,
|
|
title={LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset},
|
|
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},
|
|
year={2023},
|
|
eprint={2309.11998},
|
|
archivePrefix={arXiv},
|
|
primaryClass={cs.CL}
|
|
}
|
|
``` |