FaisalHejary commited on
Commit
01830ab
·
verified ·
1 Parent(s): 405a9d9

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +88 -33
README.md CHANGED
@@ -1,35 +1,90 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: query_inst
5
- dtype: string
6
- - name: query
7
- dtype: string
8
- - name: document_inst
9
- dtype: string
10
- - name: positives
11
- list: string
12
- - name: negatives
13
- list: string
14
- splits:
15
- - name: train
16
- num_bytes: 23328747
17
- num_examples: 65633
18
- - name: validation
19
- num_bytes: 8370970
20
- num_examples: 25645
21
- - name: test
22
- num_bytes: 8324717
23
- num_examples: 25537
24
- download_size: 3981935
25
- dataset_size: 40024434
26
- configs:
27
- - config_name: default
28
- data_files:
29
- - split: train
30
- path: data/train-*
31
- - split: validation
32
- path: data/validation-*
33
- - split: test
34
- path: data/test-*
35
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ pretty_name: MultiWOZ 2.2 Embedding Classification
6
+ source_datasets:
7
+ - pfb30/multi_woz_v22
8
+ task_categories:
9
+ - text-classification
10
+ - sentence-similarity
11
+ tags:
12
+ - embedding
13
+ - hard-negatives
14
+ - multiwoz
15
+ size_categories:
16
+ - 100K<n<1M
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ---
18
+
19
+ # MultiWOZ 2.2 Embedding Classification
20
+
21
+ Classification data for training text embedding models, built from the utterances of
22
+ [MultiWOZ 2.2](https://huggingface.co/datasets/pfb30/multi_woz_v22) (`pfb30/multi_woz_v22`,
23
+ config `v2.2`). Each row pairs an utterance (the query) with its label names (the positives)
24
+ and the most confusable wrong label names (the negatives), so labels are treated as documents.
25
+
26
+ ## Tasks
27
+
28
+ | Task | Labels | Query instruction | Document instruction |
29
+ |---|---|---|---|
30
+ | intent | 10 user intents, e.g. "find restaurant", "book train" | Given a user message to a tourist information assistant, classify what the user wants to do | Represent this user intent for classification |
31
+ | action | 13 dialogue actions, e.g. "asks for information, such as a detail or a preference" | Given a message from a conversation between a tourist and an information assistant, classify the actions it performs | none |
32
+ | topic | 7 domains, e.g. "restaurant", "hotel" | Given a message from a conversation between a tourist and an information assistant, classify which topics it is about | none |
33
+ | question | "question or request", "statement" | Classify whether the given message is a question or a statement | none |
34
+
35
+ The task of a row is identified by its `query_inst`. Action and topic rows can have several
36
+ positives. A turn counts as a question when it has a question-type dialogue act (Request,
37
+ reqmore, Select, OfferBook) or contains "?".
38
+
39
+ ## Fields
40
+
41
+ - `query_inst` (string): instruction for the query.
42
+ - `query` (string): the utterance.
43
+ - `document_inst` (string or null): instruction for the label documents.
44
+ - `positives` (list of string): correct label names.
45
+ - `negatives` (list of string): 1 to 4 wrong label names, hardest first.
46
+
47
+ ## How it was built
48
+
49
+ Every split went through the same steps, scored with
50
+ [Qwen/Qwen3-VL-Embedding-2B](https://huggingface.co/Qwen/Qwen3-VL-Embedding-2B):
51
+
52
+ 1. **Rank filter**: drop a row when any positive is not in the model's top 5 labels; keep the 4 negatives the model scores highest.
53
+ 2. **Easy-row downsampling**: rows whose margin (weakest positive score minus hardest negative score) is at least 0.10 are kept with probability 0.25.
54
+ 3. **Dedupe**: keep one row per task and query, compared lowercased without punctuation.
55
+ 4. **Per-label cap**: at most 3,000 rows per label of each task, drawn in a random order fixed by a hash of each row.
56
+
57
+ Because of steps 1 and 2, validation and test are easier than raw MultiWOZ; report
58
+ benchmark numbers on the original data.
59
+
60
+ ## Rows
61
+
62
+ | Task | Train | Validation | Test |
63
+ |---|---|---|---|
64
+ | intent | 21,328 | 4,649 | 4,667 |
65
+ | action | 22,381 | 7,642 | 7,558 |
66
+ | topic | 15,924 | 7,354 | 7,312 |
67
+ | question | 6,000 | 6,000 | 6,000 |
68
+ | **Total** | **65,633** | **25,645** | **25,537** |
69
+
70
+ ## Usage
71
+
72
+ ```python
73
+ from datasets import load_dataset
74
+
75
+ ds = load_dataset("FaisalHejary/multiwoz-embedding-classification")
76
+ ```
77
+
78
+ ## License and citation
79
+
80
+ Released under Apache 2.0, the license of the source dataset. If you use it, cite MultiWOZ 2.2:
81
+
82
+ ```
83
+ @inproceedings{zang2020multiwoz,
84
+ title={MultiWOZ 2.2: A Dialogue Dataset with Additional Annotation Corrections and State Tracking Baselines},
85
+ author={Zang, Xiaoxue and Rastogi, Abhinav and Sunkara, Srinivas and Gupta, Raghav and Zhang, Jianguo and Chen, Jindong},
86
+ booktitle={Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI, ACL 2020},
87
+ pages={109--117},
88
+ year={2020}
89
+ }
90
+ ```