신경 코드_검색

참고자료:

평가_데이터세트

TFDS에 이 데이터세트를 로드하려면 다음 명령어를 사용하세요.

ds = tfds.load('huggingface:neural_code_search/evaluation_dataset')
  • 설명 :
Neural-Code-Search-Evaluation-Dataset presents an evaluation dataset consisting of natural language query and code snippet pairs and a search corpus consisting of code snippets collected from the most popular Android repositories on GitHub.
  • 라이센스 : CC-BY-NC 4.0 (Attr Non-Commercial Inter.)
  • 버전 : 1.1.0
  • 분할 :
나뉘다
'train' 287
  • 특징 :
{
    "stackoverflow_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "question": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_author": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_author_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answer": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answer_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answer_author": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answer_author_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "examples": {
        "feature": {
            "dtype": "int32",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "examples_url": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    }
}

검색_말뭉치

TFDS에 이 데이터세트를 로드하려면 다음 명령어를 사용하세요.

ds = tfds.load('huggingface:neural_code_search/search_corpus')
  • 설명 :
Neural-Code-Search-Evaluation-Dataset presents an evaluation dataset consisting of natural language query and code snippet pairs and a search corpus consisting of code snippets collected from the most popular Android repositories on GitHub.
  • 라이센스 : CC-BY-NC 4.0 (Attr Non-Commercial Inter.)
  • 버전 : 1.1.0
  • 분할 :
나뉘다
'train' 4716814
  • 특징 :
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "filepath": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "method_name": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "start_line": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "end_line": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}