Research Paper (https://arxiv.org/pdf/2412.16260)
0
stars
8
commits
Python
primary language
Dec 17, 2024
updated
This repository contains code to test reasoning capabilities using the Quiet Star model and inference scaling laws with Rebase. Experiments were conducted using:
The main purpose of this was to implemnt infernce scaling into a reasoning model (quietstar eval/quiet-rebase.py), but ended up producing worse results than the base model.
pip install -r requirements.txt
| Parameter | Value |
|---|---|
| Temperature | 1.0 |
| Max Tokens | 384 |
| Random Seed | 42 |
| Parameter | Value |
|---|---|
| Softmax Temperature | 0.2 |
| Tree Width Options | 3, 6, 16 |
Note: Random seed 42 was maintained from the original QuietSTaR implementation to ensure comparable results.
The repository includes:
base.py: Evaluates the base Mistral-7B model for:
rebase.py: Same metrics using Rebase for inference optimization
quietstar eval/quietstar.py: Same metrics for Quiet Star model
quietstar eval/quiet-rebase.py: Same metrics using rebase inference with quiet-star model
The results contain results for basline Mistral7b model, quietstar, rebase with 3,6,and 16 width tree
The evaluation was performed on 128 questions from the GSM8K dataset.
For rebase we conducted different experiments with varying width sizes of the Rebase tree: 3, 6, and 16 (16 was the original width size from the paper).
| Model | Accuracy (%) | FLOPs (T) | Time (s) | Acc/TFLOP | Acc/Second | Efficiency Score |
|---|---|---|---|---|---|---|
| Baseline | 10.16 | 11.22 | 52.47 | 0.91 | 0.19 | 17.29 |
| QuietSTaR | 32.03 | 12.73 | 554.66 | 2.52 | 0.06 | 15.12 |
| REBASE+QuietSTaR | 9.38 | 4.25 | 143.66 | 2.21 | 0.07 | 15.47 |
| REBASE (w=3) | 10.94 | 2.35 | 8.47 | 4.66 | 1.29 | 601.14 |
| REBASE (w=6) | 10.16 | 4.96 | 17.82 | 2.05 | 0.57 | 116.85 |
| REBASE (w=16) | 12.50 | 13.57 | 46.90 | 0.92 | 0.27 | 24.84 |
8 commits
Python
100.0%
Research Paper (https://arxiv.org/pdf/2412.16260)
0
stars
8
commits
Python
primary language
Dec 17, 2024
updated
This repository contains code to test reasoning capabilities using the Quiet Star model and inference scaling laws with Rebase. Experiments were conducted using:
The main purpose of this was to implemnt infernce scaling into a reasoning model (quietstar eval/quiet-rebase.py), but ended up producing worse results than the base model.
pip install -r requirements.txt
| Parameter | Value |
|---|---|
| Temperature | 1.0 |
| Max Tokens | 384 |
| Random Seed | 42 |
| Parameter | Value |
|---|---|
| Softmax Temperature | 0.2 |
| Tree Width Options | 3, 6, 16 |
Note: Random seed 42 was maintained from the original QuietSTaR implementation to ensure comparable results.
The repository includes:
base.py: Evaluates the base Mistral-7B model for:
rebase.py: Same metrics using Rebase for inference optimization
quietstar eval/quietstar.py: Same metrics for Quiet Star model
quietstar eval/quiet-rebase.py: Same metrics using rebase inference with quiet-star model
The results contain results for basline Mistral7b model, quietstar, rebase with 3,6,and 16 width tree
The evaluation was performed on 128 questions from the GSM8K dataset.
For rebase we conducted different experiments with varying width sizes of the Rebase tree: 3, 6, and 16 (16 was the original width size from the paper).
| Model | Accuracy (%) | FLOPs (T) | Time (s) | Acc/TFLOP | Acc/Second | Efficiency Score |
|---|---|---|---|---|---|---|
| Baseline | 10.16 | 11.22 | 52.47 | 0.91 | 0.19 | 17.29 |
| QuietSTaR | 32.03 | 12.73 | 554.66 | 2.52 | 0.06 | 15.12 |
| REBASE+QuietSTaR | 9.38 | 4.25 | 143.66 | 2.21 | 0.07 | 15.47 |
| REBASE (w=3) | 10.94 | 2.35 | 8.47 | 4.66 | 1.29 | 601.14 |
| REBASE (w=6) | 10.16 | 4.96 | 17.82 | 2.05 | 0.57 | 116.85 |
| REBASE (w=16) | 12.50 | 13.57 | 46.90 | 0.92 | 0.27 | 24.84 |
8 commits
Python
100.0%