GGUF
English
math
reasoning
Inference Endpoints
mav23 commited on
Commit
71142e2
1 Parent(s): d2e2c85

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +69 -0
  3. llemma_34b.Q4_0.gguf +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ llemma_34b.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama2
3
+ datasets:
4
+ - EleutherAI/proof-pile-2
5
+ - open-web-math/open-web-math
6
+ language:
7
+ - en
8
+ tags:
9
+ - math
10
+ - reasoning
11
+ ---
12
+ <img src="llemma.png" width="400">
13
+
14
+ [ArXiv](http://arxiv.org/abs/2310.10631) | [Models](https://huggingface.co/EleutherAI/llemma_34b) | [Data](https://huggingface.co/datasets/EleutherAI/proof-pile-2) | [Code](https://github.com/EleutherAI/math-lm) | [Blog](https://blog.eleuther.ai/llemma/) | [Sample Explorer](https://llemma-demo.github.io/)
15
+
16
+ [Zhangir Azerbayev](https://zhangir-azerbayev.github.io/), [Hailey Schoelkopf](https://github.com/haileyschoelkopf), [Keiran Paster](https://keirp.com), [Marco Dos Santos](https://github.com/dsantosmarco), [Stephen McAleer](https://www.andrew.cmu.edu/user/smcaleer/), [Albert Q. Jiang](https://albertqjiang.github.io/), [Jia Deng](https://www.cs.princeton.edu/~jiadeng/), [Stella Biderman](https://www.stellabiderman.com/), [Sean Welleck](https://wellecks.com/)
17
+
18
+ **Llemma 34B** is a language model for mathematics. It was initialized with [Code Llama 34B](https://github.com/facebookresearch/codellama) weights, and trained on the [Proof-Pile-2](https://huggingface.co/datasets/EleutherAI/proof-pile-2) for 50B tokens.
19
+
20
+ This model also comes in a 7B parameter version: [Llemma 7B](https://huggingface.co/EleutherAI/llemma_7b).
21
+
22
+ ## Evaluations
23
+
24
+ Llemma models are particularly strong at chain-of-thought mathematical reasoning and using computational tools for mathematics, such as Python and formal theorem provers.
25
+
26
+
27
+ ### Chain-of-thought Math
28
+ On chain-of-thought mathematics tasks, Llemma models outperform Llama-2, Code Llama, and when controlled for model size, outperform Minerva.
29
+
30
+ | Model | Size | GSM8k | [OCW](https://openreview.net/forum?id=IFXTZERXdM7) | MMLU-STEM | [SAT](https://huggingface.co/datasets/mcaleste/sat_multiple_choice_math_may_23) | MATH |
31
+ |------------|------|--------|-------|-----------|-------|-------|
32
+ | Llama 2 | 7B | 11.8% | 3.7% | 29.9% | 25% | 3.2% |
33
+ | Code Llama | 7B | 10.5% | 4.4% | 25.1% | 9.4% | 4.5% |
34
+ | LLEMMA | 7B | **36.4%** | **7.7%** | **37.7%** | **53.1%** | **18.0%** |
35
+ | Minerva | 8B | 16.2% | **7.7%** | 35.6% | - | 14.1% |
36
+ |------------|------|--------|-------|-----------|-------|-------|
37
+ | Code Llama | 34B | 29.6% | 7.0% | 40.5% | 40.6% | 12.2% |
38
+ | LLEMMA | 34B | **51.5%** | **11.8%** | **49.0%** | **71.9%** | **25.0%** |
39
+ |------------|------|--------|-------|-----------|-------|-------|
40
+ | Minerva | 62B | 52.4% | 12.0% | 53.9% | - | 27.6% |
41
+ | Minerva | 540B | 58.8% | 17.6% | 63.9% | - | 33.6% |
42
+
43
+
44
+ Further performance can be extracted by using majority voting:
45
+
46
+ | Model | Size | GSM8k maj@100 | OCW maj@100 | MMLU-STEM maj@16 | SAT maj@16 | MATH maj@256 |
47
+ |---------|------|-------------|-----------|-----------------|-----------|------------|
48
+ | LLEMMA | 7B | 54.0% | 14.3% | 49.9% | 78.1% | **33.5** |
49
+ | Minerva | 8B | 28.4% | 12.5% | 43.4% | - | 25.4% |
50
+ |---------|------|-------------|-----------|-----------------|-----------|------------|
51
+ | LLEMMA | 34B | 69.3% | 18.4% | 59.7% | 81.3% | **43.1%** |
52
+ |---------|------|-------------|-----------|-----------------|-----------|------------|
53
+ | Minerva | 62B | 68.5% | 23.5% | 63.5% | - | 43.4% |
54
+ | Minerva | 540B | 78.5% | 30.8% | 75.0% | - | 50.3% |
55
+
56
+ ### Tool Use and Theorem Proving
57
+ In addition to chain-of-thought reasoning, Llemma has strong capabilities in computational mathematics tasks. For tool use and formal theorem proving evaluations, see [our paper](http://arxiv.org/abs/2310.10631).
58
+
59
+ ### Citation
60
+ ```
61
+ @misc{azerbayev2023llemma,
62
+ title={Llemma: An Open Language Model For Mathematics},
63
+ author={Zhangir Azerbayev and Hailey Schoelkopf and Keiran Paster and Marco Dos Santos and Stephen McAleer and Albert Q. Jiang and Jia Deng and Stella Biderman and Sean Welleck},
64
+ year={2023},
65
+ eprint={2310.10631},
66
+ archivePrefix={arXiv},
67
+ primaryClass={cs.CL}
68
+ }
69
+ ```
llemma_34b.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1de2f8e58c782d23546c8aa9b6e57e855d5485529abaf19bd3deae1a0ea20aa
3
+ size 19052049056