{"id":38448,"date":"2019-10-31T22:23:47","date_gmt":"2019-10-31T19:23:47","guid":{"rendered":"https:\/\/prohoster.info\/blog\/github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda\/"},"modified":"2019-10-31T22:23:47","modified_gmt":"2019-10-31T19:23:47","slug":"github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda","status":"publish","type":"post","link":"https:\/\/prohoster.info\/da\/blog\/news\/github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda","title":{"rendered":"GitHub har \u00e5bnet op for forskning i anvendelse af maskinl\u00e6ring til kode s\u00f8gning og analyse","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>GitHub <noindex><a rel=\"nofollow\" href=\"https:\/\/github.blog\/2019-09-26-introducing-the-codesearchnet-challenge\/\">den<\/a><\/noindex> projekt <noindex><a rel=\"nofollow\" href=\"https:\/\/arxiv.org\/abs\/1909.09436\">CodeSearchNet<\/a><\/noindex>, hvor der er udarbejdet modeller for maskinl\u00e6ring og datas\u00e6t, der er n\u00f8dvendige til at analysere, klassificere og gennemg\u00e5 kode i forskellige programmeringssprog. CodeSearchNet, analogt med <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/ImageNet\">ImageNet<\/a><\/noindex>, inkluderer en stor samling af kodeudsnit, der er forsynet med annotationer, som formaliserer de handlinger, der udf\u00f8res af koden. Komponenterne til tr\u00e6ning af modeller og eksempler p\u00e5 anvendelse af CodeSearchNet er skrevet i Python ved hj\u00e6lp af Tensorflow-rammerne og <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/github\/CodeSearchNet\">distribueres<\/a><\/noindex> under MIT-licensen.<\/p>\n<p>Ved oprettelsen af CodeSearchNet blev der anvendt teknologier til behandling af naturligt sprog, der g\u00f8r det muligt for maskinl\u00e6ringssystemer at tage hensyn til ikke blot syntaktiske karakteristika, men ogs\u00e5 meningen bag de handlinger, der udf\u00f8res af koden. I GitHub-systemet <noindex><a rel=\"nofollow\" href=\"https:\/\/github.blog\/2018-09-18-towards-natural-language-semantic-code-search\/\">typeforbindelse<\/a><\/noindex> i eksperimenter med at organisere semantisk kode-s\u00f8gning ved hj\u00e6lp af foresp\u00f8rgsler p\u00e5 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/github\/CodeSearchNet\/blob\/master\/resources\/queries.csv\">naturligt sprog<\/a><\/noindex> (for example, when requesting &#171;sorting a list of strings&#187;, code is outputted that implements the corresponding algorithms).<\/p>\n<p>The proposed dataset includes more than 2 million pairs of &#171;code-comment&#187;, prepared based on the source texts of existing open libraries. The code encompasses the complete source text of individual functions or methods, while the comment describes the actions performed by the function (detailed documentation is provided). Currently, datasets have been prepared for the Python, JavaScript, Ruby, Go, Java, and PHP languages. Examples of using the proposed datasets for training various types of neural networks are included. <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Bag-of-words_model\">Neural-Bag-Of-Words<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Recurrent_neural_network\">RNN<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Transformer_(machine_learning_model)\">Self-Attention<\/a><\/noindex> (BERT) og <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Convolutional_neural_network\">1D-CNN+Self-Attention Hybrid<\/a><\/noindex>.<\/p>\n<p>For at udvikle mekanismer til s\u00f8gning p\u00e5 naturligt sprog er der yderligere forberedt et datas\u00e6t kaldet CodeSearchNet Challenge, som omfatter<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/github\/CodeSearchNet\/blob\/master\/resources\/queries.csv\">99 standardiserede<\/a><\/noindex> foresp\u00f8rgsler med omkring 4.000 ekspertannotationer, der beskriver de mest sandsynlige forbindelser til koden i datas\u00e6ttet CodeSearchNet Corpus, der d\u00e6kker omkring 6 millioner metoder og funktioner (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/github\/CodeSearchNet#downloading-data-from-s3\">datas\u00e6ttets st\u00f8rrelse<\/a><\/noindex> er omkring 20 GB). CodeSearchNet Challenge kan tjene som reference til vurdering af effektiviteten af forskellige metoder til s\u00f8gning af kode p\u00e5 naturligt sprog. Ved hj\u00e6lp af v\u00e6rkt\u00f8jet <noindex><a rel=\"nofollow\" href=\"https:\/\/www.kubeflow.org\/\">Kubeflow<\/a><\/noindex> er forberedt<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/kubeflow\/examples\/tree\/master\/code_search\">eksempel<\/a><\/noindex> som motor til kode-s\u00f8gning.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Kilde: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51570\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>GitHub \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442 CodeSearchNet, \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043b\u0435\u043d\u044b \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0438 \u043d\u0430\u0431\u043e\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0440\u0430\u0437\u0431\u043e\u0440\u0430, \u043a\u043b\u0430\u0441\u0441\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043a\u043e\u0434\u0430 \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. CodeSearchNet, \u043f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 ImageNet, \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u043e\u0442\u0440\u044b\u0432\u043a\u043e\u0432 \u043a\u043e\u0434\u0430, \u0441\u043d\u0430\u0431\u0436\u0451\u043d\u043d\u044b\u0445 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f\u043c\u0438, \u0444\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0438\u043c\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0435 \u043a\u043e\u0434\u043e\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f. \u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f CodeSearchNet \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Python \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-38448","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"GitHub \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/da\/blog\/news\/github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"da_DK\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47GitHub \u043e\u0442\u043a\u0440\u044b\u043b \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043a\u043e\u0434\u0430 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"GitHub \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/da\/blog\/news\/github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:23:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:23:47+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47GitHub har offentliggjort resultaterne af anvendelsen af maskinl\u00e6ring til s\u00f8gning og analyse af kode | ProHoster","description":"GitHub pr\u00e6senterede projektet","canonical_url":"https:\/\/prohoster.info\/da\/blog\/news\/github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"da_DK","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47GitHub \u043e\u0442\u043a\u0440\u044b\u043b \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043a\u043e\u0434\u0430 | ProHoster","og:description":"GitHub \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0435\u043a\u0442","og:url":"https:\/\/prohoster.info\/da\/blog\/news\/github-otkryl-narabotki-po-primeneniyu-mashinnogo-obucheniya-dlya-poiska-i-analiza-koda","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:23:47+00:00","article:modified_time":"2019-10-31T19:23:47+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"38448","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 22:05:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:09:22","updated":"2026-01-23 22:05:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts\/38448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/comments?post=38448"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/posts\/38448\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/media?parent=38448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/categories?post=38448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/da\/wp-json\/wp\/v2\/tags?post=38448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}