datasets
Training and evaluation data, with the modality, task and licence stated up front. Listed live from the Hugging Face Hub.
code_instructions_122k_alpaca_styleSWE-bench__style-3__fs-oracle_large_tokenlength
Dataset Card for "SWE-bench__style-3__fs-oracle"
More Information needed
SWE-bench__style-3__fs-oracle
Dataset Card for "SWE-bench__style-3__fs-oracle"
More Information needed
python_codestyles-single-500
Dataset Card for "python_codestyles-single-500"
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
component consists of a code that either conforms to the code style or violates it and the second component
corresponding to an example code that already conforms to a code style. In total, the dataset… See the full description on the dataset page: https://huggingface.co/datasets/infinityofspace/python_codestyles-single-500.cpp-code-code_search_net-style
C++ Dataset
documentation source: https://huggingface.co/docs/datasets/main/en/repository_structure
Supported Tasks and Leaderboards
language-modeling: The dataset can be used to train a model for modelling programming languages, which consists in building language models for programming languages.
Language
C++ programming language
Dataset Structure
Data Instances
A data point consists of a function code along with its documentation.… See the full description on the dataset page: https://huggingface.co/datasets/malteklaes/cpp-code-code_search_net-style.python_codestyles-mixed1-1k
Dataset Card for "python_codestyles-mixed1-1k"
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
component consists of a code that either conforms to the code style or violates it and the second component
corresponding to an example code that already conforms to a code style.
The dataset combines both… See the full description on the dataset page: https://huggingface.co/datasets/infinityofspace/python_codestyles-mixed1-1k.python_codestyles-single-1k
Dataset Card for "python_codestyles-single-1k"
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
component consists of a code that either conforms to the code style or violates it and the second component
corresponding to an example code that already conforms to a code style. In total, the dataset… See the full description on the dataset page: https://huggingface.co/datasets/infinityofspace/python_codestyles-single-1k.python_codestyles-random-1k
Dataset Card for "python_codestyles-random-1k"
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
component consists of a code that either conforms to the code style or violates it and the second component
corresponding to an example code that already conforms to a code style. In total, the dataset… See the full description on the dataset page: https://huggingface.co/datasets/infinityofspace/python_codestyles-random-1k.python_codestyles-random-500
Dataset Card for "python_codestyles-random-500"
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
component consists of a code that either conforms to the code style or violates it and the second component
corresponding to an example code that already conforms to a code style. In total, the dataset… See the full description on the dataset page: https://huggingface.co/datasets/infinityofspace/python_codestyles-random-500.python_codestyles-mixed1-500
Dataset Card for "python_codestyles-mixed1-500"
This dataset contains negative and positive examples with python code of compliance with a code style. A positive
example represents compliance with the code style (label is 1). Each example is composed of two components, the first
component consists of a code that either conforms to the code style or violates it and the second component
corresponding to an example code that already conforms to a code style.
The dataset combines both… See the full description on the dataset page: https://huggingface.co/datasets/infinityofspace/python_codestyles-mixed1-500.e_style_code一个中文代码数据集,目标是为“易语言风格”的 Python 代码生成与指令跟随任务提供训练样本。数据集中每条样本都包含一个通用代码需求、对应的简要思路,以及一段可直接运行或稍作调整即可运行的中文命名 Python 实现。
配套代码规范
除了 question、thinking、answer 三元组数据外,数据集还提供了一份配套的风格规范文档,用来约束“易语言风格”Python 代码的写法。这份规范文档适合和数据集一起使用,帮助模型或使用者统一命名、注释、函数设计和格式约束。
规范文档链接:易语言风格 Python 编码规范 SKILL.md
这份规范主要覆盖以下内容:
中文命名风格与函数命名约定
变量、类、常量的命名方式
模块组织和函数设计原则
中文注释、文档字符串与异常处理规范
PEP8 格式要求、常用代码模板和质量检查清单
数据集内容
本数据集当前包含 613 条训练样本,字段如下:
question:自然语言形式的代码需求,例如生成 UUID、读取 JSON、文本处理、时间处理、异常处理等。… See the full description on the dataset page: https://huggingface.co/datasets/XuehangCang/e_style_code.exp_8_1_style_transfer_code_review_comment_test25exp_8_1_style_transfer_code_review_comment_test5exp_8_1_style_transfer_code_review_commentcode_instructions_122k_alpaca_style_standardizedcode_instructions_122k_alpaca_style_standardizedcode_styleeren-code-stylestyle_code_examples_200
