frankwong2001's picture
Upload README.md with huggingface_hub
a99721d verified
metadata
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: 61129
        num_examples: 10
    download_size: 52956
    dataset_size: 61129
  - 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: 64833
        num_examples: 10
    download_size: 54487
    dataset_size: 64833
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

Built with Distilabel

Dataset Card for ssf-dataset-synthetic

This dataset has been created with distilabel.

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:

distilabel pipeline run --config "https://huggingface.co/datasets/frankwong2001/ssf-dataset-synthetic/raw/main/pipeline.yaml"

or explore the configuration:

distilabel pipeline info --config "https://huggingface.co/datasets/frankwong2001/ssf-dataset-synthetic/raw/main/pipeline.yaml"

Dataset structure

The examples have the following structure per configuration:

Configuration: easy_triplets
{
    "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 from the provided description.\n\nFor the positive query, generate a realistic description for this role. Focus on creating variations that capture the essence of the role in different words, as if written by different people or organizations posting similar jobs.\n\nFor negative descriptions you are allowed to choose from the following strategies\n\n1. Same industry, different seniority level (Senior \u2192 Junior or Vice versa)\n2. Same industry, different function (Business Valuation \u2192 Risk Management)\n3. Similar skills, different domain (Financial Analysis in Banking vs Healthcare)\n4. Same title, different industry context\n\nThe query should always include the job role. Start the description with The \u003cjob role\u003e.\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\nThe Audit Associate/Audit Assistant Associate is responsible for executing various stages of the audit process under guidance. This role allows individuals to understand the fundamental principles that drive the assigned tasks within the audit framework. The incumbent is equipped to adapt their skills for enhanced task performance and to tackle straightforward challenges. Working within a structured environment, the Audit Associate/Audit Assistant Associate fosters teamwork, cultivates professional relationships, and recognizes ethical dilemmas in accordance with the professional code of conduct. They are proficient in selecting and implementing known solutions for common issues and are accountable for their own development and results. This position calls for a reliable and detail-oriented person.\n\n## Negative\nThe Audit Associate/Audit Assistant Associate is tasked with managing complex risk assessments in a fast-paced financial services environment. In this role, individuals are expected to independently analyze intricate problems and develop strategic solutions without direct supervision. The position requires a deep understanding of regulatory compliance and the ability to navigate challenging ethical scenarios. Unlike the structured nature of audit work, this role demands agility and adaptability in a dynamic setting, emphasizing high-level decision-making and leadership skills. A strong focus on innovative problem-solving is crucial, making this a role suited for a senior professional with extensive experience in risk management.",
        "statistics_easy_triplets": {
            "input_tokens": 377,
            "output_tokens": 245
        }
    },
    "model_name": "gpt-4o-mini",
    "negative": "The Audit Associate/Audit Assistant Associate is tasked with managing complex risk assessments in a fast-paced financial services environment. In this role, individuals are expected to independently analyze intricate problems and develop strategic solutions without direct supervision. The position requires a deep understanding of regulatory compliance and the ability to navigate challenging ethical scenarios. Unlike the structured nature of audit work, this role demands agility and adaptability in a dynamic setting, emphasizing high-level decision-making and leadership skills. A strong focus on innovative problem-solving is crucial, making this a role suited for a senior professional with extensive experience in risk management.",
    "positive": "The Audit Associate/Audit Assistant Associate is responsible for executing various stages of the audit process under guidance. This role allows individuals to understand the fundamental principles that drive the assigned tasks within the audit framework. The incumbent is equipped to adapt their skills for enhanced task performance and to tackle straightforward challenges. Working within a structured environment, the Audit Associate/Audit Assistant Associate fosters teamwork, cultivates professional relationships, and recognizes ethical dilemmas in accordance with the professional code of conduct. They are proficient in selecting and implementing known solutions for common issues and are accountable for their own development and results. This position calls for a reliable and detail-oriented person."
}

This subset can be loaded as:

from datasets import load_dataset

ds = load_dataset("frankwong2001/ssf-dataset-synthetic", "easy_triplets")
Configuration: hard_triplets
{
    "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 from the provided description.\n\nFor the positive query, generate a realistic description for this role. Focus on creating variations that capture the essence of the role in different words, as if written by different people or organizations posting similar jobs.\n\nFor negative descriptions you are allowed to choose from the following strategies\n\n1. Same industry, different seniority level (Senior \u2192 Junior or Vice versa)\n2. Same industry, different function (Business Valuation \u2192 Risk Management)\n3. Similar skills, different domain (Financial Analysis in Banking vs Healthcare)\n4. Same title, different industry context\n\nThe query should always include the job role. Start the description with The \u003cjob role\u003e.\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_hard_triplets": "## Positive\nThe Audit Associate/Audit Assistant Associate is responsible for conducting various stages of the audit process under the guidance of senior auditors. In this role, the individual gains a deeper understanding of the fundamental principles that govern the audit tasks assigned. The Audit Associate/Audit Assistant Associate demonstrates the ability to adapt their skills to enhance work efficiency and address straightforward challenges. Operating within a well-defined work structure, this role emphasizes teamwork and the ability to foster professional relationships while recognizing ethical dilemmas in line with the professional code of conduct. The individual is expected to choose and implement appropriate solutions for routine issues and take ownership of their personal growth and performance, showcasing trustworthiness and attention to detail.\n\n## Negative\nThe Audit Associate/Audit Assistant Associate is tasked with managing complex financial strategies in the healthcare sector. This role requires the individual to develop a comprehensive understanding of intricate financial regulations and apply them to diverse healthcare projects. The Audit Associate/Audit Assistant Associate must demonstrate leadership skills while working independently and identifying financial risks that may arise in various scenarios. The individual is expected to evaluate and implement advanced solutions for multifaceted financial challenges and take responsibility for the outcomes of their decisions. They must exhibit a high level of integrity and precision in their financial analyses, ensuring compliance with industry standards.",
        "statistics_hard_triplets": {
            "input_tokens": 431,
            "output_tokens": 250
        }
    },
    "model_name": "gpt-4o-mini",
    "negative": "The Audit Associate/Audit Assistant Associate is tasked with managing complex financial strategies in the healthcare sector. This role requires the individual to develop a comprehensive understanding of intricate financial regulations and apply them to diverse healthcare projects. The Audit Associate/Audit Assistant Associate must demonstrate leadership skills while working independently and identifying financial risks that may arise in various scenarios. The individual is expected to evaluate and implement advanced solutions for multifaceted financial challenges and take responsibility for the outcomes of their decisions. They must exhibit a high level of integrity and precision in their financial analyses, ensuring compliance with industry standards.",
    "positive": "The Audit Associate/Audit Assistant Associate is responsible for conducting various stages of the audit process under the guidance of senior auditors. In this role, the individual gains a deeper understanding of the fundamental principles that govern the audit tasks assigned. The Audit Associate/Audit Assistant Associate demonstrates the ability to adapt their skills to enhance work efficiency and address straightforward challenges. Operating within a well-defined work structure, this role emphasizes teamwork and the ability to foster professional relationships while recognizing ethical dilemmas in line with the professional code of conduct. The individual is expected to choose and implement appropriate solutions for routine issues and take ownership of their personal growth and performance, showcasing trustworthiness and attention to detail."
}

This subset can be loaded as:

from datasets import load_dataset

ds = load_dataset("frankwong2001/ssf-dataset-synthetic", "hard_triplets")