MDCure
收藏资源简介:
MDCure是一个用于多文档指令调优的合成数据生成和管理的可扩展方法。该数据集包含多文档指令-答案对,旨在模拟复杂的现实世界信息合成任务。每个条目包含一个全面的指令、由多个文档组成的上下文和一个结构化的答案。
MDCure is a scalable approach for synthetic data generation and management for multi-document instruction tuning. This dataset consists of multi-document instruction-answer pairs, designed to simulate complex real-world information synthesis tasks. Each entry contains a comprehensive instruction, a context composed of multiple documents, and a structured answer.
MDCure: A Scalable Pipeline for Multi-Document Instruction-Following
🗂 Datasets
MDCure datasets are available on HuggingFace and consist of multi-document instruction-answer pairs.
| Dataset | HuggingFace Repo | Description |
|---|---|---|
| MDCure-12k | 🤗 HF Repo | Multi-document instruction dataset of size 12K, filtered using MDCureRM |
| MDCure-36k | 🤗 HF Repo | Multi-document instruction dataset of size 36K, filtered using MDCureRM |
| MDCure-72k | 🤗 HF Repo | Multi-document instruction dataset of size 72K, filtered using MDCureRM |
Sample Dataset Entries
Each dataset entry includes an instruction, context, and answer.
| Instruction | Context | Answer |
|---|---|---|
| How did the combination of weather conditions, game dynamics, and viewership trends contribute to the overall perception of the Falcons-Eagles season opener, and what implications might this have for the NFLs ratings going forward? Respond with 3-4 sentences. | In what had to be a disappointing night for both NBC and the NFL, the Falcons and Eagles played a fairly ugly game after a lengthy weather delay. Thats not how the league wanted to kick off the regular season, and while it got sort of exciting at the end, the overall recipe was a bad one for ratings. That was confirmed today, as the overnights came in... | The season opener between the Atlanta Falcons and Philadelphia Eagles faced a significant weather delay that postponed the games start until 9:05 p.m. ET, leading to a lackluster atmosphere and frustration among fans eager for the NFL to return. The match itself was characterized by a dismal performance, marked by a total of 26 penalties compared to only 30 points scored, which caused offensive excitement to dwindle, especially... |
| What happened in CHAMPAIGN regarding Lovie Smith and the 2019 defense improvements? Respond with 1-2 sentences. | CHAMPAIGN - Lovie Smith knows his defense has to take a significant step forward in 2019. After defensive coordinator Hardy Nickerson left during the fall due to health concerns, Smith took over as the primary play-caller. This offseason, he didnt hire a defensive coordinator... | Lovie Smith took over as the defensive play-caller for 2019 after the previous coordinator, Hardy Nickerson, stepped down due to health concerns. Smith decided not to hire a replacement and instead took on the responsibilities himself. The defense has shown significant improvement in the spring practices. |
⚙️ Models
MDCured models are instruction-tuned from various base models to exhibit superior performance on multi-document tasks.
| Model | Huggingface Repo | Description |
|---|---|---|
| MDCureRM | 🤗 HF Repo | Multi-objective reward model to filter MD instruction data more cheaply and effectively than GPT-3.5-Turbo. |
| MDCure-FlanT5-Base | 🤗 HF Repo | FlanT5-Base fine-tuned with MDCure-72k, optimized for MD tasks. |
| MDCure-FlanT5-Large | 🤗 HF Repo | FlanT5-Large fine-tuned with MDCure-72k, optimized for MD tasks. |
| MDCure-Qwen2-1.5B-Instruct | 🤗 HF Repo | Qwen2-1.5B-Instruct fine-tuned with MDCure-72k, optimized for MD tasks. |
| MDCure-Qwen2-7B-Instruct | 🤗 HF Repo | Qwen2-7B-Instruct fine-tuned with MDCure-72k, optimized for MD tasks. |
| MDCure-LLAMA3.1-8B-Instruct | 🤗 HF Repo | LLAMA3.1-8B-Instruct fine-tuned with MDCure-72k, optimized for MD tasks. |
| MDCure-LLAMA3.1-70B-Instruct | 🤗 HF Repo | LLAMA3.1-70B-Instruct fine-tuned with MDCure-72k, optimized for MD tasks. |
🛠 MDCure Dataset Construction
The MDCure dataset construction involves two phases:
- Generation Phase: Zero-shot prompt templates are used to generate complex, cross-text instructions from related documents.
- Filtering Phase: The generated instructions are filtered by MDCureRM, a multi-objective reward model, to ensure quality and diversity.
📑 0. Source Data Preparation
- NewSHead Dataset: Used as the source for sets of related context documents.
- Snippet Pairs: Pairs of snippets ranging from 1-3 sentences selected from different documents within each cluster.
✏️ 1. Generation Phase
- Prompt Templates: Two types of prompt templates (General & Style-Specific) are used to generate instruction data.
- Generator Model: GPT-3.5-Turbo is used as the generator model.
🔍 2. Filtering Phase
- MDCureRM: A fine-grained, MD-specific reward model used to evaluate instruction-answer pairs based on six criteria:
- Context Integration
- Inter-Document Relationships
- Complexity
- Relevance
- Coherence & Factuality
- Creativity
🖥️ MDCure Instruction Tuning
Details on the instruction tuning process are not provided in the README.
📊 Evaluation
Details on the evaluation process are not provided in the README.
📝 Citation
Details on how to cite the dataset are not provided in the README.




