Prompts from "LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset"
This dataset features unique first-turn prompts in English, drawn from the LMSYS-Chat-1M dataset. It captures how real users begin conversations with large language models (LLMs) in everyday scenarios.
Due to licensing restrictions, this dataset is access-controlled, so this public repository is gated.
Please do not request access here, as such requests will not be approved.
If you’re interested, you can easily create this dataset yourself:
import huggingface_hub
# Log in to gated dataset
huggingface_hub.login()
import json
from datasets import load_dataset
from tqdm.auto import tqdm
unique_prompts = set()
with open("lmsys-prompts.jsonl", "w") as outfile:
for example in tqdm(load_dataset("lmsys/lmsys-chat-1m", split="train", streaming=True), desc="Processing prompts"):
if example.get('language') == 'English':
prompt = example['conversation'][0]['content']
if prompt not in unique_prompts:
# Write to file as a JSON dictionary like {"text": ____}
outfile.write(json.dumps({"text": prompt}) + '\n')
unique_prompts.add(prompt)
- Downloads last month
- 5