five

davanstrien/similarity-dataset-test-code2

收藏
Hugging Face2024-05-29 更新2024-06-12 收录
下载链接:
https://hf-mirror.com/datasets/davanstrien/similarity-dataset-test-code2
下载链接
链接失效反馈
官方服务:
资源简介:
--- language: - en size_categories: n<1K dataset_info: features: - name: anchor dtype: string - name: positive dtype: string - name: negative dtype: string - name: generation dtype: string splits: - name: train num_bytes: 104698 num_examples: 99 download_size: 52509 dataset_size: 104698 configs: - config_name: default data_files: - split: train path: data/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 similarity-dataset-test-code2 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/davanstrien/similarity-dataset-test-code2/raw/main/pipeline.yaml" ``` or explore the configuration: ```console distilabel pipeline info --config "https://huggingface.co/datasets/davanstrien/similarity-dataset-test-code2/raw/main/pipeline.yaml" ``` ## Dataset structure The examples have the following structure per configuration: <details><summary> Configuration: default </summary><hr> ```json { "anchor": "Write a Python function that checks if an object is a subclass of a given class. The function should safely handle exceptions and return `False` if an exception is raised.", "generation": "{ \"bad\": [\"Write a Python function that calculates the area of the supermoon in meters squared. The function should use the gravitational pull of a distant planet.\", \"Write a Python function that checks if the user is a developer by asking them to solve a simple math problem.\"], \"good\": [\"Write a Python function that determines if an object is a subclass of a given class, handling potential exceptions\", \"Write a Python function that checks if an object inherits from a specific class, ensuring robust error handling\"] }", "negative": "Write a Python function that checks if the user is a developer by asking them to solve a simple math problem.", "positive": "Write a Python function that determines if an object is a subclass of a given class, handling potential exceptions" } ``` This subset can be loaded as: ```python from datasets import load_dataset ds = load_dataset("davanstrien/similarity-dataset-test-code2", "default") ``` Or simply as it follows, since there's only one configuration and is named `default`: ```python from datasets import load_dataset ds = load_dataset("davanstrien/similarity-dataset-test-code2") ``` </details>
提供机构:
davanstrien
原始信息汇总

数据集概述

数据集基本信息

  • 语言: 英语
  • 大小类别: 小于1000条记录

数据集特征

  • anchor: 字符串类型
  • positive: 字符串类型
  • negative: 字符串类型
  • generation: 字符串类型

数据集分割

  • 训练集:
    • 示例数量: 99
    • 数据大小: 104698字节
    • 下载大小: 52509字节

数据集配置

  • 配置名称: default
  • 数据文件:
    • 分割: 训练
    • 路径: data/train-*

数据集标签

  • synthetic
  • distilabel
  • rlaif
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作