নিউরাল_কোড_সার্চ

তথ্যসূত্র:

মূল্যায়ন_ডেটাসেট

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 অ-বাণিজ্যিক ইন্টার।)
  • সংস্করণ : 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 অ-বাণিজ্যিক ইন্টার।)
  • সংস্করণ : 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"
    }
}