Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understanding (2311.09707v1)

Published 16 Nov 2023 in cs.CL and cs.PL

Abstract: LLMs can serve as a valuable tool for software developers to increase productivity. Large generative models can be used for code generation and code completion, while smaller encoder-only models are capable of performing code search tasks using natural language queries.These capabilities are heavily influenced by the quality and diversity of the available training data. Source code datasets used for training usually focus on the most popular languages and testing is mostly conducted on the same distributions, often overlooking low-resource programming languages. Motivated by the NLP generalization taxonomy proposed by Hupkes et.\,al., we propose a new benchmark dataset called GenCodeSearchNet (GeCS) which builds upon existing natural language code search datasets to systemically evaluate the programming language understanding generalization capabilities of LLMs. As part of the full dataset, we introduce a new, manually curated subset StatCodeSearch that focuses on R, a popular but so far underrepresented programming language that is often used by researchers outside the field of computer science. For evaluation and comparison, we collect several baseline results using fine-tuned BERT-style models and GPT-style LLMs in a zero-shot setting.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Andor Diera (7 papers)
  2. Abdelhalim Dahou (2 papers)
  3. Lukas Galke (26 papers)
  4. Fabian Karl (5 papers)
  5. Florian Sihler (3 papers)
  6. Ansgar Scherp (49 papers)
Citations (3)