Repository: open-compass/opencompass
Issue: 🔥 Collaborate to Enhance the OpenCompass : Introducing Diverse NLP Dataset
Root cause: Unimplemented Feature Gap

### 描述该功能

Hello everyone!

In order to better cater to the needs of our community, we plan to incorporate a range of diverse NLP datasets into the platform. These datasets will cover various domains such as text classification, natural language inference, coreference resolution, semantic matching, question answering, text generation, and more. This enhancement aims to provide a more comprehensive and in-depth assessment of models.

Below is the list of NLP datasets we intend to add, along with their respective categories, datasets with ⭐️ are Highly Demanded:

**Text Classification**:
- CoLA: [Link](https://stanfordnlp.github.io/coqa/) ⭐️
- blimp: [Link](https://github.com/alexwarstadt/blimp)

**Natural Language Inference**:
- XNLI (Supports both Chinese and English): [Link](https://github.com/nyu-mll/GLUE-baselines)
- WNLI: [Link](https://github.com/nyu-mll/GLUE-baselines)
- QNLI: [Link](https://github.com/nyu-mll/GLUE-baselines)

**Coreference Resolution**:
- xwinograd (Supports both Chinese and English): [Link](https://huggingface.co/datasets/Muennighoff/xwinograd)

**Semantic Matching**:
- QQP: [Link](https://quoradata.quora.com/First-Quora-Dataset-Release-Question-Pairs) ⭐️
- MRPC: [Link](https://www.microsoft.com/en-us/download/details.aspx?id=52398) ⭐️
- PAWS-X (Supports both Chinese and English): [Link](https://github.com/google-research-datasets/paws/tree/master/pawsx)

**General Question Answering**:
- Qasper: [Link](https://allenai.org/data/qasper)
- Swag: [Link](https://rowanzellers.com/swag/)
- hendrycksTest: [Link](https://github.com/hendrycks/test)
- HeadQA: [Link](https://github.com/aghie/head-qa)
- WebQuestions: [Link](https://worksheets.codalab.org/worksheets/0xba659fe363cb46e7a505c5b6a774dc8a)

**Multi-Turn Question Answering**:
- mutual: [Link](https://github.com/Nealcly/MuTual)
- HotpotQA: [Link](https://hotpotqa.github.io/) ⭐️

**Knowledge Question Answering**:
- bigbench: [Link](https://github.com/google/BIG-bench) ⭐️
- HeadQA: [Link](https://aghie.github.io/head-qa/)
- pubmedqa: [Link](https://pubmedqa.github.io/)
- sciq: [Link](https://allenai.org/data/sciq)

**Reasoning Question Answering**:
- LogiQA: [Link](https://github.com/lgw863/LogiQA-dataset)
- MC-TACO: [Link](https://github.com/CogComp/MCTACO)
- PROST: [Link](https://github.com/nala-cub/prost)
- arithmetic: [Link](https://github.com/deepmind/mathematics_dataset)
- Cycle letters: [Link](https://github.com/openai/gpt-3/tree/master/data)

**Safety, Ethics, and Morality**:
- Ethics: [Link](https://github.com/hendrycks/ethics) ⭐️

**Text Generation**:
- WikiText: [Link](https://www.salesforce.com/products/einstein/ai-research/the-wikitext-dependency-language-modeling-dataset/) ⭐️
- toxigen: [Link](https://github.com/microsoft/TOXIGEN) ⭐️
- pile_arxiv: [Link](https://pile.eleuther.ai/)
- random_insertion: [Link](https://github.com/openai/gpt-3/tree/master/data)
- reversed_words: [Link](https://github.com/openai/gpt-3/tree/master/data)
- scrolls: [Link](https://www.scrolls-benchmark.com/)


We warmly welcome every member of the OpenCompass community to actively participate and collaborate in seamlessly integrating these datasets into our evaluation platform. Here's how you can get involved:

1. **Choose Datasets**: In the comments, let us know which datasets you're interested in helping to add, or provide suggestions for existing ones.
2. **Dataset Information**: If you're aware of relevant links, descriptions, licensing details, etc., please do share them as it will greatly aid our integration efforts. Here's a template to follow:
```
   Name: GSM8k
   Link: [https://github.com/openai/grade-school-math](https://github.com/openai/grade-school-math)
   Introduction: GSM8K is a grade school math question answering task, which requires selecting the most reasonable solution based on the given scenario and two possible solutions. The dataset consists of 16k training samples, 800 development samples, and 2k test samples, all in English.
   Sample: 
   {
     "question": "If f(x) = x^2 + 3x - 2, what is f(-1)?",
     "answer": "f(-1) = (-1)^2 + 3(-1) - 2\nf(-1) = 1 - 3 - 2\nf(-1) = -4"
   }
   License: MIT License
```
3. New Dataset Suggestions: If you have other suitable dataset recommendations, feel free to share your insights in the comments.

## How to add?
Adding a new dataset involves several steps:

1. **Documentation**: Please visit the [documentation](https://opencompass.readthedocs.io/en/latest/advanced_guides/new_dataset.html) which provides a step-by-step guide on how to add a new dataset.

2. **Check Input & Output**: Once your new dataset config is ready, use the [Prompt Viewer](https://opencompass.readthedocs.io/en/latest/tools.html#prompt-viewer) tool in OpenCompass to easily check the Input & Output.

3. **Preparation**: Follow the documentation and write code, then create the corresponding Pull Request. If you are not familiar with Pull Requests, this [Contribution Guide](https://opencompass.readthedocs.io/en/latest/notes/contribution_guide.html) may help you :>

4. **Description**: In your Pull Request, provide a detailed description of the datasets you intend to add, along with the relevant links, descriptions, licensing information, and the bilingual content you shared earlier in this issue. Submit your Pull Request. Our community reviewers will then assess your contribution and provide feedback.

By following these steps, you can actively contribute to enriching the OpenCompass evaluation platform with new and valuable datasets. If you encounter any issues during the process or need further assistance, feel free to ask. We appreciate your dedication to making OpenCompass a more diverse and comprehensive resource for NLP model evaluation. Happy contributing!


### 是否希望自己实现该功能？

- [ ] 我希望自己来实现这一功能，并向 OpenCompass 贡献代码！