MTEB logo MTEB
retrieval text

CosQA

Cite this task

@inproceedings{huang2021cosqa20000webqueries,
  address = {Online},
  author = {Huang, Junjie and Tang, Duyu and Shou, Linjun and Gong, Ming and Xu, Ke and Jiang, Daxin and Zhou, Ming and Duan, Nan},
  booktitle = {Proceedings of the 59th Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
  doi = {10.18653/v1/2021.acl-long.442},
  editor = {Zong, Chengqing and Xia, Fei and Li, Wenjie and Navigli, Roberto},
  month = {aug},
  pages = {5690--5700},
  publisher = {Association for Computational Linguistics},
  title = {{C}o{SQA}: 20,000+ Web Queries for Code Search and Question Answering},
  url = {https://aclanthology.org/2021.acl-long.442/},
  year = {2021},
}

The dataset is a collection of natural language queries and their corresponding code snippets. The task is to retrieve the most relevant code snippet for a given query.

Domains: ProgrammingWritten
Languages: Englishpython
Task type
Retrieval
Main metric
ndcg_at_10
Source dataset
CoIR-Retrieval/cosqa
License
mit
Dates
2021-05-07 → 2021-05-07
Annotations
derived
Sample creation
found
Models scored …
Dataset preview CoIR-Retrieval/cosqa Open on HuggingFace →

Model scores

Loading…