File size: 20,131 Bytes
e4f65cb
0738192
e4f65cb
0e38a0f
e4f65cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e38a0f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e4f65cb
 
 
 
 
0e38a0f
 
 
 
0738192
 
 
 
e4f65cb
0738192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
---
size_categories: n<1K
dataset_info:
- config_name: easy_triplets
  features:
  - name: Sector
    dtype: string
  - name: Track
    dtype: string
  - name: Job Role
    dtype: string
  - name: anchor
    dtype: string
  - name: Performance Expectation
    dtype: string
  - name: positive
    dtype: string
  - name: negative
    dtype: string
  - name: distilabel_metadata
    struct:
    - name: raw_input_easy_triplets
      list:
      - name: content
        dtype: string
      - name: role
        dtype: string
    - name: raw_output_easy_triplets
      dtype: string
    - name: statistics_easy_triplets
      struct:
      - name: input_tokens
        dtype: int64
      - name: output_tokens
        dtype: int64
  - name: model_name
    dtype: string
  splits:
  - name: train
    num_bytes: 71141
    num_examples: 10
  download_size: 61406
  dataset_size: 71141
- config_name: hard_triplets
  features:
  - name: Sector
    dtype: string
  - name: Track
    dtype: string
  - name: Job Role
    dtype: string
  - name: anchor
    dtype: string
  - name: Performance Expectation
    dtype: string
  - name: positive
    dtype: string
  - name: negative
    dtype: string
  - name: distilabel_metadata
    struct:
    - name: raw_input_hard_triplets
      list:
      - name: content
        dtype: string
      - name: role
        dtype: string
    - name: raw_output_hard_triplets
      dtype: string
    - name: statistics_hard_triplets
      struct:
      - name: input_tokens
        dtype: int64
      - name: output_tokens
        dtype: int64
  - name: model_name
    dtype: string
  splits:
  - name: train
    num_bytes: 90207
    num_examples: 10
  download_size: 70942
  dataset_size: 90207
configs:
- config_name: easy_triplets
  data_files:
  - split: train
    path: easy_triplets/train-*
- config_name: hard_triplets
  data_files:
  - split: train
    path: hard_triplets/train-*
tags:
- synthetic
- distilabel
- rlaif
---

<p align="left">
  <a href="https://github.com/argilla-io/distilabel">
    <img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
  </a>
</p>

# Dataset Card for ssf-dataset-synthetic-with-reasons

This dataset has been created with [distilabel](https://distilabel.argilla.io/).



## Dataset Summary

This dataset contains a `pipeline.yaml` which can be used to reproduce the pipeline that generated it in distilabel using the `distilabel` CLI:

```console
distilabel pipeline run --config "https://huggingface.co/datasets/Fatin757/ssf-dataset-synthetic-with-reasons/raw/main/pipeline.yaml"
```

or explore the configuration:

```console
distilabel pipeline info --config "https://huggingface.co/datasets/Fatin757/ssf-dataset-synthetic-with-reasons/raw/main/pipeline.yaml"
```

## Dataset structure

The examples have the following structure per configuration:


<details><summary> Configuration: easy_triplets </summary><hr>

```json
{
    "Job Role": "Audit Associate / Audit Assistant Associate",
    "Performance Expectation": "In accordance with: Singapore Standards on Auditing, Ethics Pronouncements in Singapore, Singapore Companies Act, and Singapore Financial Reporting Standards",
    "Sector": "Accountancy",
    "Track": "Assurance",
    "anchor": "The Audit Associate/Audit Assistant Associate undertakes specific stages of audit work under supervision. He/She begins to appreciate the underlying principles behind the tasks assigned to him as part of the audit plan. He is also able to make adjustments to the application of skills to improve the work tasks or solve non-complex issues. The Audit Associate/Audit Assistant Associate operates in a structured work environment. He is able to build relationships, work in a team and identify ethical issues with reference to the code of professional conduct and ethics. He is able to select and apply from a range of known solutions to familiar problems and takes responsibility for his own learning and performance. He is a trustworthy and meticulous individual.",
    "distilabel_metadata": {
        "raw_input_easy_triplets": [
            {
                "content": "Your task is to generate a positive and a negative sentence given an anchor sentence. Take into account the context given. The positive sentence has to paraphrase the anchor sentence, while the negative sentence can use similar words but must not be related to the anchor sentence. You must output only two new sections: `## Positive` and `## Negative`.",
                "role": "system"
            },
            {
                "content": "## Context\n\n\nThe text is a job description from the Singapore SkillsFuture Framework. Your task is to generate realistic job descriptions based on the provided description.\n\nFor the positive query, generate a realistic and varied description for the role. Ensure it reflects the core responsibilities and requirements of the job, capturing the essence in different phrasings, \nas if the description were written by an HR professional posting the job.\n\nFor negative descriptions, apply one of the following strategies:\n1. Same industry, different seniority level (e.g., Senior \u2192 Junior or Vice versa).\n2. Same industry, different function (e.g., Business Valuation \u2192 Risk Management).\n3. Similar skills, different domain (e.g., Financial Analysis in Banking vs. Healthcare).\n4. Same title, different industry context (e.g., Marketing Manager in Retail vs. Tech).\n\nEach output should begin with \"The \u003cjob role\u003e\" and be a complete job description written in full sentences. Do not end outputs abruptly or cut off mid-sentence.\n\n\n\n## Anchor\n\nThe Audit Associate/Audit Assistant Associate undertakes specific stages of audit work under supervision. He/She begins to appreciate the underlying principles behind the tasks assigned to him as part of the audit plan. He is also able to make adjustments to the application of skills to improve the work tasks or solve non-complex issues. The Audit Associate/Audit Assistant Associate operates in a structured work environment. He is able to build relationships, work in a team and identify ethical issues with reference to the code of professional conduct and ethics. He is able to select and apply from a range of known solutions to familiar problems and takes responsibility for his own learning and performance. He is a trustworthy and meticulous individual.\n",
                "role": "user"
            }
        ],
        "raw_output_easy_triplets": "## Positive\n\nThe Audit Associate/Audit Assistant Associate plays a crucial role in executing various stages of the audit process under the guidance of senior auditors. This position allows the individual to develop a deeper understanding of the fundamental principles that govern auditing tasks as outlined in the audit plan. The ideal candidate will demonstrate the ability to adapt their skills effectively to enhance task performance and resolve straightforward challenges. Working within a structured environment, the Audit Associate/Audit Assistant Associate will foster collaborative relationships, contribute to team efforts, and recognize ethical dilemmas in accordance with the professional code of conduct. Furthermore, this role requires the individual to thoughtfully select and implement appropriate solutions to common issues while taking ownership of their personal development and performance. A reliable and detail-oriented approach is essential for success in this position.\n\n## Negative\n\nThe Audit Associate/Audit Assistant Associate in the healthcare sector is responsible for managing patient records and ensuring compliance with health regulations. This role involves overseeing the documentation process and addressing any discrepancies that may arise. The individual must work independently in a less structured environment, focusing on administrative tasks rather than audit-specific duties. Building relationships with medical staff and identifying compliance issues are key aspects of this position, but it does not require the same level of ethical considerations specific to auditing. The candidate should be able to navigate a variety of administrative challenges while maintaining a focus on their individual responsibilities and performance outcomes. A high degree of organization and attention to detail is necessary, although the role does not emphasize the same trustworthiness required in auditing.",
        "statistics_easy_triplets": {
            "input_tokens": 423,
            "output_tokens": 297
        }
    },
    "model_name": "gpt-4o-mini",
    "negative": "The Audit Associate/Audit Assistant Associate in the healthcare sector is responsible for managing patient records and ensuring compliance with health regulations. This role involves overseeing the documentation process and addressing any discrepancies that may arise. The individual must work independently in a less structured environment, focusing on administrative tasks rather than audit-specific duties. Building relationships with medical staff and identifying compliance issues are key aspects of this position, but it does not require the same level of ethical considerations specific to auditing. The candidate should be able to navigate a variety of administrative challenges while maintaining a focus on their individual responsibilities and performance outcomes. A high degree of organization and attention to detail is necessary, although the role does not emphasize the same trustworthiness required in auditing.",
    "positive": "The Audit Associate/Audit Assistant Associate plays a crucial role in executing various stages of the audit process under the guidance of senior auditors. This position allows the individual to develop a deeper understanding of the fundamental principles that govern auditing tasks as outlined in the audit plan. The ideal candidate will demonstrate the ability to adapt their skills effectively to enhance task performance and resolve straightforward challenges. Working within a structured environment, the Audit Associate/Audit Assistant Associate will foster collaborative relationships, contribute to team efforts, and recognize ethical dilemmas in accordance with the professional code of conduct. Furthermore, this role requires the individual to thoughtfully select and implement appropriate solutions to common issues while taking ownership of their personal development and performance. A reliable and detail-oriented approach is essential for success in this position."
}
```

This subset can be loaded as:

```python
from datasets import load_dataset

ds = load_dataset("Fatin757/ssf-dataset-synthetic-with-reasons", "easy_triplets")
```


</details>

<details><summary> Configuration: hard_triplets </summary><hr>

```json
{
    "Job Role": "Audit Associate / Audit Assistant Associate",
    "Performance Expectation": "In accordance with: Singapore Standards on Auditing, Ethics Pronouncements in Singapore, Singapore Companies Act, and Singapore Financial Reporting Standards",
    "Sector": "Accountancy",
    "Track": "Assurance",
    "anchor": "The Audit Associate/Audit Assistant Associate undertakes specific stages of audit work under supervision. He/She begins to appreciate the underlying principles behind the tasks assigned to him as part of the audit plan. He is also able to make adjustments to the application of skills to improve the work tasks or solve non-complex issues. The Audit Associate/Audit Assistant Associate operates in a structured work environment. He is able to build relationships, work in a team and identify ethical issues with reference to the code of professional conduct and ethics. He is able to select and apply from a range of known solutions to familiar problems and takes responsibility for his own learning and performance. He is a trustworthy and meticulous individual.",
    "distilabel_metadata": {
        "raw_input_hard_triplets": [
            {
                "content": "Your task is to generate a positive and a negative sentence given an anchor sentence. Take into account the context given. The positive sentence has to paraphrase the anchor sentence, while the negative sentence is a \u0027hard negative\u0027 that meets the following criteria:\n- Uses similar keywords or phrases as the anchor sentence\n- Has a similar grammatical structure or syntax\n- Is not related to the anchor sentence, but could be mistaken for it\nTry to create a negative sentence that would be challenging for a model to distinguish from the positive sentence. You must output only two new sections: `## Positive` and `## Negative`.",
                "role": "system"
            },
            {
                "content": "## Context\n\n\nThe text is a job description from the Singapore SkillsFuture Framework. Your task is to generate realistic job descriptions based on the provided description.\n\n1. Positive example: For the positive query, generate a realistic and varied description for the role. Ensure it reflects the core responsibilities and requirements of the job, capturing the essence in different phrasings, \n                     as if the description were written by an HR professional posting the job.\n\nFor negative descriptions, apply one of the following strategies:\n1. Same industry, different seniority level (e.g., Senior \u2192 Junior or Vice versa).\n2. Same industry, different function (e.g., Business Valuation \u2192 Risk Management).\n3. Similar skills, different domain (e.g., Financial Analysis in Banking vs. Healthcare).\n4. Same title, different industry context (e.g., Marketing Manager in Retail vs. Tech).\n\nWhen generating hard negatives, prioritize to make it hard:\n- Roles that sound similar or use similar language but differ in responsibilities, required skills, or expected outcomes.\n- Confusing cases where job titles overlap across industries.\n- Minimal changes in wording but meaningful change in job nature.\n- The negative description should be deceptively similar to the positive \u2014 it should look and feel like the original job, but be functionally different in terms of core responsibilities.\n- It should be the description of another job role that is almost similar.\n\n\n3. Reason: After generating the negative, explain briefly how it differs from the anchor. Focus on differences in domain, function, seniority, or job outcome.\n\nFormat:\n- Anchor: \u003coriginal\u003e\n- Positive: \u003cparaphrased\u003e\n- Negative: \u003cdeceptively different job\u003e\n- Reason: \u003cbrief explanation of why the negative is distinct and give the name of the role the description is for\n\nEach description must begin with \"The \u003cjob role\u003e\" and be complete and well-formed.\n\n\n## Anchor\n\nThe Audit Associate/Audit Assistant Associate undertakes specific stages of audit work under supervision. He/She begins to appreciate the underlying principles behind the tasks assigned to him as part of the audit plan. He is also able to make adjustments to the application of skills to improve the work tasks or solve non-complex issues. The Audit Associate/Audit Assistant Associate operates in a structured work environment. He is able to build relationships, work in a team and identify ethical issues with reference to the code of professional conduct and ethics. He is able to select and apply from a range of known solutions to familiar problems and takes responsibility for his own learning and performance. He is a trustworthy and meticulous individual.\n",
                "role": "user"
            }
        ],
        "raw_output_hard_triplets": "## Positive\nThe Audit Associate/Audit Assistant Associate is responsible for executing designated phases of the audit process under the guidance of senior auditors. This role involves developing an understanding of the fundamental principles associated with the assigned tasks within the audit framework. The individual is expected to adapt their skillset to enhance task execution and address straightforward challenges. Working within a structured environment, the Audit Associate/Audit Assistant Associate fosters collaborative relationships, engages in teamwork, and recognizes ethical dilemmas in accordance with professional conduct standards. They are adept at selecting and implementing known solutions to common problems while taking ownership of their learning and performance. Trustworthiness and attention to detail are essential attributes for success in this position.\n\n## Negative\nThe Audit Manager is tasked with overseeing the complete audit process while managing a team of auditors. This role requires a comprehensive understanding of advanced auditing principles and the ability to implement strategic improvements to complex audit challenges. The Audit Manager operates in a dynamic environment, focusing on leadership, team development, and navigating intricate ethical issues aligned with corporate governance standards. They must devise and execute innovative solutions to multifaceted problems and are accountable for the overall performance of their team. Strong leadership and strategic thinking are critical for this role.\n\n## Reason\nThe negative description is for the role of an Audit Manager, which is distinctly different from the Audit Associate/Audit Assistant Associate role in terms of seniority and responsibilities. While the anchor focuses on executing specific audit tasks under supervision, the negative emphasizes overseeing the entire audit process and managing a team, which involves advanced skills and strategic oversight rather than the foundational work of an associate.",
        "statistics_hard_triplets": {
            "input_tokens": 656,
            "output_tokens": 314
        }
    },
    "model_name": "gpt-4o-mini",
    "negative": "The Audit Manager is tasked with overseeing the complete audit process while managing a team of auditors. This role requires a comprehensive understanding of advanced auditing principles and the ability to implement strategic improvements to complex audit challenges. The Audit Manager operates in a dynamic environment, focusing on leadership, team development, and navigating intricate ethical issues aligned with corporate governance standards. They must devise and execute innovative solutions to multifaceted problems and are accountable for the overall performance of their team. Strong leadership and strategic thinking are critical for this role.\n\n## Reason\nThe negative description is for the role of an Audit Manager, which is distinctly different from the Audit Associate/Audit Assistant Associate role in terms of seniority and responsibilities. While the anchor focuses on executing specific audit tasks under supervision, the negative emphasizes overseeing the entire audit process and managing a team, which involves advanced skills and strategic oversight rather than the foundational work of an associate.",
    "positive": "The Audit Associate/Audit Assistant Associate is responsible for executing designated phases of the audit process under the guidance of senior auditors. This role involves developing an understanding of the fundamental principles associated with the assigned tasks within the audit framework. The individual is expected to adapt their skillset to enhance task execution and address straightforward challenges. Working within a structured environment, the Audit Associate/Audit Assistant Associate fosters collaborative relationships, engages in teamwork, and recognizes ethical dilemmas in accordance with professional conduct standards. They are adept at selecting and implementing known solutions to common problems while taking ownership of their learning and performance. Trustworthiness and attention to detail are essential attributes for success in this position."
}
```

This subset can be loaded as:

```python
from datasets import load_dataset

ds = load_dataset("Fatin757/ssf-dataset-synthetic-with-reasons", "hard_triplets")
```


</details>