ipechman commited on
Commit
7634cb2
1 Parent(s): fb41196

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +66 -62
README.md CHANGED
@@ -1,63 +1,67 @@
1
- ---
2
- license: mit
3
- language:
4
- - en
5
- ---
6
- # 🦣 MAmmoTH2: Scaling Instructions from the Web
7
-
8
- Project Page: [https://tiger-ai-lab.github.io/MAmmoTH2/](https://tiger-ai-lab.github.io/MAmmoTH2/)
9
-
10
- Paper: [https://arxiv.org/pdf/2405.03548](https://arxiv.org/pdf/2405.03548)
11
-
12
- Code: [https://github.com/TIGER-AI-Lab/MAmmoTH2](https://github.com/TIGER-AI-Lab/MAmmoTH2)
13
-
14
-
15
- ## Introduction
16
- Introducing 🦣 MAmmoTH2, a game-changer in improving the reasoning abilities of large language models (LLMs) through innovative instruction tuning. By efficiently harvesting 10 million instruction-response pairs from the pre-training web corpus, we've developed MAmmoTH2 models that significantly boost performance on reasoning benchmarks. For instance, MAmmoTH2-7B (Mistral) sees its performance soar from 11% to 34% on MATH and from 36% to 67% on GSM8K, all without training on any domain-specific data. Further training on public instruction tuning datasets yields MAmmoTH2-Plus, setting new standards in reasoning and chatbot benchmarks. Our work presents a cost-effective approach to acquiring large-scale, high-quality instruction data, offering a fresh perspective on enhancing LLM reasoning abilities.
17
- | | **Base Model** | **MAmmoTH2** | **MAmmoTH2-Plus** |
18
- |:-----|:---------------------|:-------------------------------------------------------------------|:------------------------------------------------------------------|
19
- | 7B | Mistral | 🦣 [MAmmoTH2-7B](https://huggingface.co/TIGER-Lab/MAmmoTH2-7B) | 🦣 [MAmmoTH2-7B-Plus](https://huggingface.co/TIGER-Lab/MAmmoTH2-7B-Plus) |
20
- | 8B | Llama-3 | 🦣 [MAmmoTH2-8B](https://huggingface.co/TIGER-Lab/MAmmoTH2-8B) | 🦣 [MAmmoTH2-8B-Plus](https://huggingface.co/TIGER-Lab/MAmmoTH2-8B-Plus) |
21
- | 8x7B | Mixtral | 🦣 [MAmmoTH2-8x7B](https://huggingface.co/TIGER-Lab/MAmmoTH2-8x7B) | 🦣 [MAmmoTH2-8x7B-Plus](https://huggingface.co/TIGER-Lab/MAmmoTH2-8x7B-Plus) |
22
- ## Training Data
23
- Please refer to https://huggingface.co/datasets/TIGER-Lab/WebInstructSub for more details.
24
-
25
- ![Project Framework](webinstruct.png)
26
-
27
- ## Training Procedure
28
- The models are fine-tuned with the WEBINSTRUCT dataset using the original Llama-3, Mistral and Mistal models as base models. The training procedure varies for different models based on their sizes. Check out our paper for more details.
29
-
30
- ## Evaluation
31
- The models are evaluated using open-ended and multiple-choice math problems from several datasets. Here are the results:
32
-
33
-
34
- | **Model** | **TheoremQA** | **MATH** | **GSM8K** | **GPQA** | **MMLU-ST** | **BBH** | **ARC-C** | **Avg** |
35
- |:-----------------------|:--------------|:---------|:----------|:---------|:------------|:--------|:----------|:---------|
36
- | **MAmmoTH2-7B** | 26.7 | 34.2 | 67.4 | 34.8 | 60.6 | 60.0 | 81.8 | 52.2 |
37
- | **MAmmoTH2-8B** | 29.7 | 33.4 | 67.9 | 38.4 | 61.0 | 60.8 | 81.0 | 53.1 |
38
- | **MAmmoTH2-8x7B** | 32.2 | 39.0 | 75.4 | 36.8 | 67.4 | 71.1 | 87.5 | 58.9 |
39
- | **MAmmoTH2-7B-Plus** | 29.2 | 45.0 | 84.7 | 36.8 | 64.5 | 63.1 | 83.0 | 58.0 |
40
- | **MAmmoTH2-8B-Plus** | 32.5 | 42.8 | 84.1 | 37.3 | 65.7 | 67.8 | 83.4 | 59.1 |
41
- | **MAmmoTH2-8x7B-Plus** | 34.1 | 47.0 | 86.4 | 37.8 | 72.4 | 74.1 | 88.4 | 62.9 |
42
-
43
-
44
-
45
- ## Usage
46
- You can use the models through Huggingface's Transformers library. Use the pipeline function to create a text-generation pipeline with the model of your choice, then feed in a math problem to get the solution.
47
- Check our Github repo for more advanced use: [https://github.com/TIGER-AI-Lab/MAmmoTH2](https://github.com/TIGER-AI-Lab/MAmmoTH2)
48
-
49
- ## Limitations
50
- We've tried our best to build math generalist models. However, we acknowledge that the models' performance may vary based on the complexity and specifics of the math problem. Still not all mathematical fields can be covered comprehensively.
51
-
52
-
53
- ## Citation
54
- If you use the models, data, or code from this project, please cite the original paper:
55
-
56
- ```
57
- @article{yue2024mammoth2,
58
- title={MAmmoTH2: Scaling Instructions from the Web},
59
- author={Yue, Xiang and Zheng, Tuney and Zhang, Ge and Chen, Wenhu},
60
- journal={arXiv preprint arXiv:2405.03548},
61
- year={2024}
62
- }
 
 
 
 
63
  ```
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ ---
6
+ ## Exllama v2 Quantizations of MAmmoTH2-8B-Plus
7
+
8
+ Using <a href="https://github.com/turboderp/exllamav2/releases/tag/v0.0.21">turboderp's ExLlamaV2 v0.0.21</a> for quantization.
9
+
10
+ # 🦣 MAmmoTH2: Scaling Instructions from the Web
11
+
12
+ Project Page: [https://tiger-ai-lab.github.io/MAmmoTH2/](https://tiger-ai-lab.github.io/MAmmoTH2/)
13
+
14
+ Paper: [https://arxiv.org/pdf/2405.03548](https://arxiv.org/pdf/2405.03548)
15
+
16
+ Code: [https://github.com/TIGER-AI-Lab/MAmmoTH2](https://github.com/TIGER-AI-Lab/MAmmoTH2)
17
+
18
+
19
+ ## Introduction
20
+ Introducing 🦣 MAmmoTH2, a game-changer in improving the reasoning abilities of large language models (LLMs) through innovative instruction tuning. By efficiently harvesting 10 million instruction-response pairs from the pre-training web corpus, we've developed MAmmoTH2 models that significantly boost performance on reasoning benchmarks. For instance, MAmmoTH2-7B (Mistral) sees its performance soar from 11% to 34% on MATH and from 36% to 67% on GSM8K, all without training on any domain-specific data. Further training on public instruction tuning datasets yields MAmmoTH2-Plus, setting new standards in reasoning and chatbot benchmarks. Our work presents a cost-effective approach to acquiring large-scale, high-quality instruction data, offering a fresh perspective on enhancing LLM reasoning abilities.
21
+ | | **Base Model** | **MAmmoTH2** | **MAmmoTH2-Plus** |
22
+ |:-----|:---------------------|:-------------------------------------------------------------------|:------------------------------------------------------------------|
23
+ | 7B | Mistral | 🦣 [MAmmoTH2-7B](https://huggingface.co/TIGER-Lab/MAmmoTH2-7B) | 🦣 [MAmmoTH2-7B-Plus](https://huggingface.co/TIGER-Lab/MAmmoTH2-7B-Plus) |
24
+ | 8B | Llama-3 | 🦣 [MAmmoTH2-8B](https://huggingface.co/TIGER-Lab/MAmmoTH2-8B) | 🦣 [MAmmoTH2-8B-Plus](https://huggingface.co/TIGER-Lab/MAmmoTH2-8B-Plus) |
25
+ | 8x7B | Mixtral | 🦣 [MAmmoTH2-8x7B](https://huggingface.co/TIGER-Lab/MAmmoTH2-8x7B) | 🦣 [MAmmoTH2-8x7B-Plus](https://huggingface.co/TIGER-Lab/MAmmoTH2-8x7B-Plus) |
26
+ ## Training Data
27
+ Please refer to https://huggingface.co/datasets/TIGER-Lab/WebInstructSub for more details.
28
+
29
+ ![Project Framework](webinstruct.png)
30
+
31
+ ## Training Procedure
32
+ The models are fine-tuned with the WEBINSTRUCT dataset using the original Llama-3, Mistral and Mistal models as base models. The training procedure varies for different models based on their sizes. Check out our paper for more details.
33
+
34
+ ## Evaluation
35
+ The models are evaluated using open-ended and multiple-choice math problems from several datasets. Here are the results:
36
+
37
+
38
+ | **Model** | **TheoremQA** | **MATH** | **GSM8K** | **GPQA** | **MMLU-ST** | **BBH** | **ARC-C** | **Avg** |
39
+ |:-----------------------|:--------------|:---------|:----------|:---------|:------------|:--------|:----------|:---------|
40
+ | **MAmmoTH2-7B** | 26.7 | 34.2 | 67.4 | 34.8 | 60.6 | 60.0 | 81.8 | 52.2 |
41
+ | **MAmmoTH2-8B** | 29.7 | 33.4 | 67.9 | 38.4 | 61.0 | 60.8 | 81.0 | 53.1 |
42
+ | **MAmmoTH2-8x7B** | 32.2 | 39.0 | 75.4 | 36.8 | 67.4 | 71.1 | 87.5 | 58.9 |
43
+ | **MAmmoTH2-7B-Plus** | 29.2 | 45.0 | 84.7 | 36.8 | 64.5 | 63.1 | 83.0 | 58.0 |
44
+ | **MAmmoTH2-8B-Plus** | 32.5 | 42.8 | 84.1 | 37.3 | 65.7 | 67.8 | 83.4 | 59.1 |
45
+ | **MAmmoTH2-8x7B-Plus** | 34.1 | 47.0 | 86.4 | 37.8 | 72.4 | 74.1 | 88.4 | 62.9 |
46
+
47
+
48
+
49
+ ## Usage
50
+ You can use the models through Huggingface's Transformers library. Use the pipeline function to create a text-generation pipeline with the model of your choice, then feed in a math problem to get the solution.
51
+ Check our Github repo for more advanced use: [https://github.com/TIGER-AI-Lab/MAmmoTH2](https://github.com/TIGER-AI-Lab/MAmmoTH2)
52
+
53
+ ## Limitations
54
+ We've tried our best to build math generalist models. However, we acknowledge that the models' performance may vary based on the complexity and specifics of the math problem. Still not all mathematical fields can be covered comprehensively.
55
+
56
+
57
+ ## Citation
58
+ If you use the models, data, or code from this project, please cite the original paper:
59
+
60
+ ```
61
+ @article{yue2024mammoth2,
62
+ title={MAmmoTH2: Scaling Instructions from the Web},
63
+ author={Yue, Xiang and Zheng, Tuney and Zhang, Ge and Chen, Wenhu},
64
+ journal={arXiv preprint arXiv:2405.03548},
65
+ year={2024}
66
+ }
67
  ```