five

jaty54/autotrain-data-yetipy

收藏
Hugging Face2023-09-07 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/jaty54/autotrain-data-yetipy
下载链接
链接失效反馈
官方服务:
资源简介:
该数据集是为项目yetipy自动处理的AutoTrain数据集。数据集包含代码片段、目标函数、文本描述以及相关的损失和因子特征。数据集的语言为英语(BCP-47代码为en),并分为训练集和验证集,分别包含80和20个样本。
提供机构:
jaty54
原始信息汇总

AutoTrain Dataset for project: yetipy

数据集描述

该数据集由AutoTrain自动处理,用于项目yetipy。

语言

数据集的语言BCP-47代码为en。

数据集结构

数据实例

数据集的一个样本如下所示:

json [ { "feat_code": "
return self.correctwords(originalwords, [newword], **kwargs)", "target": "def mergewords(self, newword, *originalwords, **kwargs)", "text": "TODO: Write documentation", "feat_loss_without_docstring": 9.7212610245, "feat_loss_with_docstring": 9.146777153, "feat_factor": 1.0628072448 }, { "feat_code": "

    if size == 0: return [] #for efficiency

    context = []
    e = self
    while len(context) < size:
        e = e.previous(True,scope)
        if not e: break
        context.append(e)

    if placeholder:
        while len(context) < size:
            context.append(placeholder)

    context.reverse()
    return context",
"target": "def leftcontext(self, size, placeholder=None, scope=None)",
"text": "Returns the left context for an element, as a list. This method crosses sentence/paragraph boundaries by default, which can be restricted by setting scope",
"feat_loss_without_docstring": 3.7681286335,
"feat_loss_with_docstring": 3.9110825062,
"feat_factor": 0.9634490266

} ]

数据集字段

数据集包含以下字段(也称为“特征”):

json { "feat_code": "Value(dtype=string, id=None)", "target": "Value(dtype=string, id=None)", "text": "Value(dtype=string, id=None)", "feat_loss_without_docstring": "Value(dtype=float64, id=None)", "feat_loss_with_docstring": "Value(dtype=float64, id=None)", "feat_factor": "Value(dtype=float64, id=None)" }

数据集分割

数据集分为训练集和验证集。分割大小如下:

分割名称 样本数量
train 80
valid 20
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

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

二维码
科研交流群

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

数据驱动未来

携手共赢发展

商业合作