Fatini commited on
Commit
cc324ed
·
verified ·
1 Parent(s): e439648

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +218 -92
README.md CHANGED
@@ -1,92 +1,218 @@
1
- ---
2
- dataset_info:
3
- - config_name: easy_triplets
4
- features:
5
- - name: Sector
6
- dtype: string
7
- - name: Track
8
- dtype: string
9
- - name: Job Role
10
- dtype: string
11
- - name: anchor
12
- dtype: string
13
- - name: Performance Expectation
14
- dtype: string
15
- - name: positive
16
- dtype: string
17
- - name: negative
18
- dtype: string
19
- - name: distilabel_metadata
20
- struct:
21
- - name: raw_input_easy_triplets
22
- list:
23
- - name: content
24
- dtype: string
25
- - name: role
26
- dtype: string
27
- - name: raw_output_easy_triplets
28
- dtype: string
29
- - name: statistics_easy_triplets
30
- struct:
31
- - name: input_tokens
32
- dtype: int64
33
- - name: output_tokens
34
- dtype: int64
35
- - name: model_name
36
- dtype: string
37
- splits:
38
- - name: train
39
- num_bytes: 82879
40
- num_examples: 10
41
- download_size: 63109
42
- dataset_size: 82879
43
- - config_name: hard_triplets
44
- features:
45
- - name: Sector
46
- dtype: string
47
- - name: Track
48
- dtype: string
49
- - name: Job Role
50
- dtype: string
51
- - name: anchor
52
- dtype: string
53
- - name: Performance Expectation
54
- dtype: string
55
- - name: positive
56
- dtype: string
57
- - name: negative
58
- dtype: string
59
- - name: distilabel_metadata
60
- struct:
61
- - name: raw_input_hard_triplets
62
- list:
63
- - name: content
64
- dtype: string
65
- - name: role
66
- dtype: string
67
- - name: raw_output_hard_triplets
68
- dtype: string
69
- - name: statistics_hard_triplets
70
- struct:
71
- - name: input_tokens
72
- dtype: int64
73
- - name: output_tokens
74
- dtype: int64
75
- - name: model_name
76
- dtype: string
77
- splits:
78
- - name: train
79
- num_bytes: 87877
80
- num_examples: 10
81
- download_size: 66826
82
- dataset_size: 87877
83
- configs:
84
- - config_name: easy_triplets
85
- data_files:
86
- - split: train
87
- path: easy_triplets/train-*
88
- - config_name: hard_triplets
89
- data_files:
90
- - split: train
91
- path: hard_triplets/train-*
92
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ size_categories: n<1K
3
+ dataset_info:
4
+ - config_name: easy_triplets
5
+ features:
6
+ - name: Sector
7
+ dtype: string
8
+ - name: Track
9
+ dtype: string
10
+ - name: Job Role
11
+ dtype: string
12
+ - name: anchor
13
+ dtype: string
14
+ - name: Performance Expectation
15
+ dtype: string
16
+ - name: positive
17
+ dtype: string
18
+ - name: negative
19
+ dtype: string
20
+ - name: distilabel_metadata
21
+ struct:
22
+ - name: raw_input_easy_triplets
23
+ list:
24
+ - name: content
25
+ dtype: string
26
+ - name: role
27
+ dtype: string
28
+ - name: raw_output_easy_triplets
29
+ dtype: string
30
+ - name: statistics_easy_triplets
31
+ struct:
32
+ - name: input_tokens
33
+ dtype: int64
34
+ - name: output_tokens
35
+ dtype: int64
36
+ - name: model_name
37
+ dtype: string
38
+ splits:
39
+ - name: train
40
+ num_bytes: 82879
41
+ num_examples: 10
42
+ download_size: 63109
43
+ dataset_size: 82879
44
+ - config_name: hard_triplets
45
+ features:
46
+ - name: Sector
47
+ dtype: string
48
+ - name: Track
49
+ dtype: string
50
+ - name: Job Role
51
+ dtype: string
52
+ - name: anchor
53
+ dtype: string
54
+ - name: Performance Expectation
55
+ dtype: string
56
+ - name: positive
57
+ dtype: string
58
+ - name: negative
59
+ dtype: string
60
+ - name: distilabel_metadata
61
+ struct:
62
+ - name: raw_input_hard_triplets
63
+ list:
64
+ - name: content
65
+ dtype: string
66
+ - name: role
67
+ dtype: string
68
+ - name: raw_output_hard_triplets
69
+ dtype: string
70
+ - name: statistics_hard_triplets
71
+ struct:
72
+ - name: input_tokens
73
+ dtype: int64
74
+ - name: output_tokens
75
+ dtype: int64
76
+ - name: model_name
77
+ dtype: string
78
+ splits:
79
+ - name: train
80
+ num_bytes: 87877
81
+ num_examples: 10
82
+ download_size: 66826
83
+ dataset_size: 87877
84
+ configs:
85
+ - config_name: easy_triplets
86
+ data_files:
87
+ - split: train
88
+ path: easy_triplets/train-*
89
+ - config_name: hard_triplets
90
+ data_files:
91
+ - split: train
92
+ path: hard_triplets/train-*
93
+ tags:
94
+ - synthetic
95
+ - distilabel
96
+ - rlaif
97
+ ---
98
+
99
+ <p align="left">
100
+ <a href="https://github.com/argilla-io/distilabel">
101
+ <img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
102
+ </a>
103
+ </p>
104
+
105
+ # Dataset Card for ssf-dataset-synthetic-v2
106
+
107
+ This dataset has been created with [distilabel](https://distilabel.argilla.io/).
108
+
109
+
110
+
111
+ ## Dataset Summary
112
+
113
+ This dataset contains a `pipeline.yaml` which can be used to reproduce the pipeline that generated it in distilabel using the `distilabel` CLI:
114
+
115
+ ```console
116
+ distilabel pipeline run --config "https://huggingface.co/datasets/Fatini/ssf-dataset-synthetic-v2/raw/main/pipeline.yaml"
117
+ ```
118
+
119
+ or explore the configuration:
120
+
121
+ ```console
122
+ distilabel pipeline info --config "https://huggingface.co/datasets/Fatini/ssf-dataset-synthetic-v2/raw/main/pipeline.yaml"
123
+ ```
124
+
125
+ ## Dataset structure
126
+
127
+ The examples have the following structure per configuration:
128
+
129
+
130
+ <details><summary> Configuration: easy_triplets </summary><hr>
131
+
132
+ ```json
133
+ {
134
+ "Job Role": "Audit Associate / Audit Assistant Associate",
135
+ "Performance Expectation": "In accordance with: Singapore Standards on Auditing, Ethics Pronouncements in Singapore, Singapore Companies Act, and Singapore Financial Reporting Standards",
136
+ "Sector": "Accountancy",
137
+ "Track": "Assurance",
138
+ "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.",
139
+ "distilabel_metadata": {
140
+ "raw_input_easy_triplets": [
141
+ {
142
+ "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`.",
143
+ "role": "system"
144
+ },
145
+ {
146
+ "content": "## Context\n\n\nYou are an HR assistant tasked with generating realistic job descriptions based on a Singapore SkillsFuture Framework input. \nFor each job description, you will create **one positive description** and **one negative description**, randomly selecting the negative type from the five strategies below. \nThe descriptions must be complete sentences, do not stop mid-sentence.\n\n### Input:\nA job description containing:\n- Job title (e.g., Audit Associate)\n- Role responsibilities and duties\n- Work environment and supervision structure\n- Required skills and attributes\n- Professional conduct expectations\n\n### Output Instructions:\n\n#### 1. Positive Description\n- Start with \"The [Job Role]\"\n- Capture the essence of the original role using different words\n- Keep the same seniority level and core responsibilities\n- Use varied terminology naturally\n- Include specific responsibilities, skills, and requirements\n- Read as if a different organization is posting a similar role\n\n#### 2. Negative Description\n- Randomly select **one** strategy from the five below for each job\n- Start with \"The [Job Role]\" and label the type\n- Include some similar keywords but **change the intent, context, or responsibilities**\n\n**Negative Strategies**:\n\n1. **Easy Negative - Different Function, Same Industry**\n - Change the core function but keep the same industry\n - Use completely different skills\n - Maintain professional context\n - Example: Audit Associate \u2192 Tax Associate\n\n2. **Medium Negative - Same Industry, Different Seniority**\n - Change responsibility level (Junior \u2194 Senior)\n - Alter supervision structure\n - Modify years of experience or decision-making authority\n - Example: Audit Associate \u2192 Senior Audit Manager\n\n3. **Hard Negative - Same Skills, Different Domain**\n - Transfer core skills to a different industry\n - Maintain similar analytical/technical requirements\n - Change regulatory environment or business context\n - Example: Audit Associate \u2192 Compliance Associate (Banking)\n\n4. **Hard Negative - Geographic/Regulatory Variation**\n - Same role but different regulatory or geographic context\n - Vary market maturity and business practices\n - Include cross-border or international elements\n\n5. **Very Hard Negative - Hybrid Role Confusion**\n - Combine responsibilities from multiple distinct roles\n - Create plausible but incorrect role combinations\n - Mix strategic and tactical responsibilities inappropriately\n - Include overlapping but different skill requirements\n\n### Output Format:\n**Positive Description**:\nThe [Job Role] ...\n\n**Negative Description ([Randomly Selected Type])**:\nThe [Job Role] ...\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",
147
+ "role": "user"
148
+ }
149
+ ],
150
+ "raw_output_easy_triplets": "## Positive\nThe Audit Associate is responsible for executing specific phases of the auditing process while working under guidance. This role allows for a deeper understanding of the fundamental principles related to the assigned tasks within the audit framework. The Audit Associate is also expected to adapt their skills to enhance task efficiency and address straightforward challenges. Operating within a well-structured work atmosphere, this individual is adept at fostering relationships, collaborating effectively in teams, and recognizing ethical dilemmas in accordance with professional conduct standards. Additionally, the Audit Associate demonstrates the ability to choose appropriate solutions from a repertoire of familiar options and takes ownership of their personal development and performance. They are known for their reliability and attention to detail.\n\n## Negative Description (Medium Negative)\nThe Senior Audit Manager oversees all stages of audit engagements, leading a team of professionals in a dynamic work environment. This role requires significant experience and the authority to make high-level decisions regarding audit strategies, while mentoring junior staff. The Senior Audit Manager is expected to manage complex issues and provide solutions that align with the company\u0027s strategic objectives. In this position, the individual will also focus on developing external relationships and ensuring compliance with industry regulations, while exhibiting strong leadership qualities and a commitment to ethical standards.",
151
+ "statistics_easy_triplets": {
152
+ "input_tokens": 737,
153
+ "output_tokens": 238
154
+ }
155
+ },
156
+ "model_name": "gpt-4o-mini",
157
+ "negative": "Description (Medium Negative)\nThe Senior Audit Manager oversees all stages of audit engagements, leading a team of professionals in a dynamic work environment. This role requires significant experience and the authority to make high-level decisions regarding audit strategies, while mentoring junior staff. The Senior Audit Manager is expected to manage complex issues and provide solutions that align with the company\u0027s strategic objectives. In this position, the individual will also focus on developing external relationships and ensuring compliance with industry regulations, while exhibiting strong leadership qualities and a commitment to ethical standards.",
158
+ "positive": "The Audit Associate is responsible for executing specific phases of the auditing process while working under guidance. This role allows for a deeper understanding of the fundamental principles related to the assigned tasks within the audit framework. The Audit Associate is also expected to adapt their skills to enhance task efficiency and address straightforward challenges. Operating within a well-structured work atmosphere, this individual is adept at fostering relationships, collaborating effectively in teams, and recognizing ethical dilemmas in accordance with professional conduct standards. Additionally, the Audit Associate demonstrates the ability to choose appropriate solutions from a repertoire of familiar options and takes ownership of their personal development and performance. They are known for their reliability and attention to detail."
159
+ }
160
+ ```
161
+
162
+ This subset can be loaded as:
163
+
164
+ ```python
165
+ from datasets import load_dataset
166
+
167
+ ds = load_dataset("Fatini/ssf-dataset-synthetic-v2", "easy_triplets")
168
+ ```
169
+
170
+
171
+ </details>
172
+
173
+ <details><summary> Configuration: hard_triplets </summary><hr>
174
+
175
+ ```json
176
+ {
177
+ "Job Role": "Audit Associate / Audit Assistant Associate",
178
+ "Performance Expectation": "In accordance with: Singapore Standards on Auditing, Ethics Pronouncements in Singapore, Singapore Companies Act, and Singapore Financial Reporting Standards",
179
+ "Sector": "Accountancy",
180
+ "Track": "Assurance",
181
+ "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.",
182
+ "distilabel_metadata": {
183
+ "raw_input_hard_triplets": [
184
+ {
185
+ "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`.",
186
+ "role": "system"
187
+ },
188
+ {
189
+ "content": "## Context\n\n\nYou are an HR assistant tasked with generating realistic job descriptions based on a Singapore SkillsFuture Framework input. \nFor each job description, you will create **one positive description** and **one negative description**, randomly selecting the negative type from the five strategies below. \nThe descriptions must be complete sentences, do not stop mid-sentence.\n\n### Input:\nA job description containing:\n- Job title (e.g., Audit Associate)\n- Role responsibilities and duties\n- Work environment and supervision structure\n- Required skills and attributes\n- Professional conduct expectations\n\n### Output Instructions:\n\n#### 1. Positive Description\n- Start with \"The [Job Role]\"\n- Capture the essence of the original role using different words\n- Keep the same seniority level and core responsibilities\n- Use varied terminology naturally\n- Include specific responsibilities, skills, and requirements\n- Read as if a different organization is posting a similar role\n\n#### 2. Negative Description\n- Randomly select **one** strategy from the five below for each job\n- Start with \"The [Job Role]\" and label the type\n- Include some similar keywords but **change the intent, context, or responsibilities**\n\n**Negative Strategies**:\n\n1. **Easy Negative - Different Function, Same Industry**\n - Change the core function but keep the same industry\n - Use completely different skills\n - Maintain professional context\n - Example: Audit Associate \u2192 Tax Associate\n\n2. **Medium Negative - Same Industry, Different Seniority**\n - Change responsibility level (Junior \u2194 Senior)\n - Alter supervision structure\n - Modify years of experience or decision-making authority\n - Example: Audit Associate \u2192 Senior Audit Manager\n\n3. **Hard Negative - Same Skills, Different Domain**\n - Transfer core skills to a different industry\n - Maintain similar analytical/technical requirements\n - Change regulatory environment or business context\n - Example: Audit Associate \u2192 Compliance Associate (Banking)\n\n4. **Hard Negative - Geographic/Regulatory Variation**\n - Same role but different regulatory or geographic context\n - Vary market maturity and business practices\n - Include cross-border or international elements\n\n5. **Very Hard Negative - Hybrid Role Confusion**\n - Combine responsibilities from multiple distinct roles\n - Create plausible but incorrect role combinations\n - Mix strategic and tactical responsibilities inappropriately\n - Include overlapping but different skill requirements\n\n### Output Format:\n**Positive Description**:\nThe [Job Role] ...\n\n**Negative Description ([Randomly Selected Type])**:\nThe [Job Role] ...\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",
190
+ "role": "user"
191
+ }
192
+ ],
193
+ "raw_output_hard_triplets": "## Positive\nThe Audit Associate is responsible for executing various phases of the audit process while working under guidance. They begin to understand the fundamental principles related to their assigned tasks as outlined in the audit strategy. The Associate is capable of adapting their skills to enhance work tasks or resolve straightforward challenges. This role functions within a well-organized work setting, emphasizing teamwork and relationship building. The Audit Associate also identifies ethical dilemmas in alignment with professional conduct standards and is proficient in selecting from established solutions to typical issues, taking ownership of their development and results. A reliable and detail-oriented person is essential for success in this position.\n\n## Negative Description (Hard Negative - Same Skills, Different Domain):\nThe Audit Associate is tasked with conducting various phases of compliance reviews in the healthcare sector under supervision. They start to grasp the fundamental regulations relevant to their assigned responsibilities as part of the compliance framework. The Associate is also capable of modifying their analytical skills to enhance review tasks or address uncomplicated issues. This role operates in a regulated work environment, where they are expected to build rapport, collaborate with teams, and identify compliance issues as per industry standards. They must select and implement known solutions to familiar regulatory challenges and take accountability for their personal performance and growth. A dependable and detail-oriented individual is crucial for this role.",
194
+ "statistics_hard_triplets": {
195
+ "input_tokens": 791,
196
+ "output_tokens": 255
197
+ }
198
+ },
199
+ "model_name": "gpt-4o-mini",
200
+ "negative": "Description (Hard Negative - Same Skills, Different Domain):\nThe Audit Associate is tasked with conducting various phases of compliance reviews in the healthcare sector under supervision. They start to grasp the fundamental regulations relevant to their assigned responsibilities as part of the compliance framework. The Associate is also capable of modifying their analytical skills to enhance review tasks or address uncomplicated issues. This role operates in a regulated work environment, where they are expected to build rapport, collaborate with teams, and identify compliance issues as per industry standards. They must select and implement known solutions to familiar regulatory challenges and take accountability for their personal performance and growth. A dependable and detail-oriented individual is crucial for this role.",
201
+ "positive": "The Audit Associate is responsible for executing various phases of the audit process while working under guidance. They begin to understand the fundamental principles related to their assigned tasks as outlined in the audit strategy. The Associate is capable of adapting their skills to enhance work tasks or resolve straightforward challenges. This role functions within a well-organized work setting, emphasizing teamwork and relationship building. The Audit Associate also identifies ethical dilemmas in alignment with professional conduct standards and is proficient in selecting from established solutions to typical issues, taking ownership of their development and results. A reliable and detail-oriented person is essential for success in this position."
202
+ }
203
+ ```
204
+
205
+ This subset can be loaded as:
206
+
207
+ ```python
208
+ from datasets import load_dataset
209
+
210
+ ds = load_dataset("Fatini/ssf-dataset-synthetic-v2", "hard_triplets")
211
+ ```
212
+
213
+
214
+ </details>
215
+
216
+
217
+
218
+