QomSSLab's picture
Keep assistant and tool messages on earlier train turns
b76efce verified
|
Raw History Blame Contribute Delete
1.9 kB
---
dataset_info:
features:
- name: messages
list:
- name: role
dtype: string
- name: content
dtype: string
- name: name
dtype: string
- name: tool_call_id
dtype: string
- name: reasoning
dtype: string
- name: tool_calls
list:
- name: id
dtype: string
- name: type
dtype: string
- name: function
struct:
- name: name
dtype: string
- name: arguments
dtype: string
splits:
- name: train
num_examples: 2209
- name: test
num_examples: 436
---
# QomSSLab/Judge_Chat_Questions
Chat messages for the Judge assistant.
`train` comes from the live Mongo chats. `Rag.v8` and `Rag.v11` are included. Other versions are included only when `client_info` is a non-empty object. `Rag.v8-light` is excluded. Two chats with the same user questions in the same order are stored once. A chat of n turns becomes n rows. In each row, every earlier turn has the user question, the tool calls, the tool results, and the assistant answer. The last turn is the user question only. Every row starts with the V15 system prompt, the same one Rag.v8 and Rag.v11 send, including the date of this export.
`test` is created from the QA config of [QomSSLab/RAG-Bench-LegalE2E-v2](https://huggingface.co/datasets/QomSSLab/RAG-Bench-LegalE2E-v2). Each row is one conversation and starts with the same system prompt. A question is a `user` message and its reference answer is the following `assistant` message. A train chat is removed when any of its questions also appears in this split.
```python
from datasets import load_dataset
ds = load_dataset("QomSSLab/Judge_Chat_Questions")
ds["train"][0]["messages"]
ds["test"][0]["messages"]
```