-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend benchmarks with MATH subset #28
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,11 +108,11 @@ We [evaluated](evaluation) `freeact` using five state-of-the-art models: | |
- Qwen 2.5 Coder 32B Instruct (`qwen2p5-coder-32b-instruct`) | ||
- DeepSeek V3 (`deepseek-v3`) | ||
|
||
The evaluation was performed on the [m-ric/agents_medium_benchmark_2](https://huggingface.co/datasets/m-ric/agents_medium_benchmark_2) dataset, developed by the [smolagents](https://github.com/huggingface/smolagents) team at 🤗 Hugging Face. It comprises selected tasks from GAIA, GSM8K, and SimpleQA: | ||
The evaluation was performed using two benchmark datasets: [m-ric/agents_medium_benchmark_2](https://huggingface.co/datasets/m-ric/agents_medium_benchmark_2) and the MATH subset from [m-ric/smol_agents_benchmark](https://huggingface.co/datasets/m-ric/smol_agents_benchmark). Both datasets were created by the [smolagents](https://github.com/huggingface/smolagents) team at 🤗 Hugging Face and contain selected tasks from GAIA, GSM8K, SimpleQA and MATH: | ||
|
||
[<img src="docs/eval/eval-plot.png" alt="Performance">](docs/eval/eval-plot.png) | ||
|
||
When comparing our results with smolagents using Claude 3.5 Sonnet, we observed the following outcomes (evaluation conducted on 2025-01-07, reference data [here](https://github.com/huggingface/smolagents/blob/c22fedaee17b8b966e86dc53251f210788ae5c19/examples/benchmark.ipynb)): | ||
When comparing our results with smolagents using Claude 3.5 Sonnet on [m-ric/agents_medium_benchmark_2](https://huggingface.co/datasets/m-ric/agents_medium_benchmark_2) (only dataset with available smolagents [reference data](https://github.com/huggingface/smolagents/blob/c22fedaee17b8b966e86dc53251f210788ae5c19/examples/benchmark.ipynb)), we observed the following outcomes (evaluation conducted on 2025-01-07): | ||
|
||
[<img src="docs/eval/eval-plot-comparison.png" alt="Performance comparison" width="60%">](docs/eval/eval-plot-comparison.png) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The changes from this README should also go into |
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,34 +8,39 @@ We evaluated `freeact` using five state-of-the-art models: | |
- Qwen 2.5 Coder 32B Instruct (`qwen2p5-coder-32b-instruct`) | ||
- DeepSeek V3 (`deepseek-v3`) | ||
|
||
The evaluation was performed on the [m-ric/agents_medium_benchmark_2](https://huggingface.co/datasets/m-ric/agents_medium_benchmark_2) dataset, developed by the [smolagents](https://github.com/huggingface/smolagents) team at 🤗 Hugging Face. It comprises selected tasks from GAIA, GSM8K, and SimpleQA: | ||
The evaluation was performed using two benchmark datasets: [m-ric/agents_medium_benchmark_2](https://huggingface.co/datasets/m-ric/agents_medium_benchmark_2) and the MATH subset from [m-ric/smol_agents_benchmark](https://huggingface.co/datasets/m-ric/smol_agents_benchmark). Both datasets were created by the [smolagents](https://github.com/huggingface/smolagents) team at 🤗 Hugging Face and contain selected tasks from GAIA, GSM8K, SimpleQA and MATH: | ||
|
||
[<img src="../docs/eval/eval-plot.png" alt="Performance">](../docs/eval/eval-plot.png) | ||
|
||
| model | subset | eval_protocol | % correct | | ||
|:---------------------------|:---------|:----------------|----------:| | ||
| claude-3-5-sonnet-20241022 | GAIA | exact_match | **53.1** | | ||
| claude-3-5-sonnet-20241022 | GSM8K | exact_match | **95.7** | | ||
| claude-3-5-sonnet-20241022 | MATH | exact_match | **90.0** | | ||
| claude-3-5-sonnet-20241022 | SimpleQA | exact_match | **57.5** | | ||
| claude-3-5-sonnet-20241022 | SimpleQA | llm_as_judge | **72.5** | | ||
| claude-3-5-haiku-20241022 | GAIA | exact_match | 31.2 | | ||
| claude-3-5-haiku-20241022 | GSM8K | exact_match | 90.0 | | ||
| claude-3-5-haiku-20241022 | MATH | exact_match | 76.0 | | ||
| claude-3-5-haiku-20241022 | SimpleQA | exact_match | 52.5 | | ||
| claude-3-5-haiku-20241022 | SimpleQA | llm_as_judge | 70.0 | | ||
| gemini-2.0-flash-exp | GAIA | exact_match | 34.4 | | ||
| gemini-2.0-flash-exp | GSM8K | exact_match | **95.7** | | ||
| gemini-2.0-flash-exp | MATH | exact_match | 88.0 | | ||
| gemini-2.0-flash-exp | SimpleQA | exact_match | 50.0 | | ||
| gemini-2.0-flash-exp | SimpleQA | llm_as_judge | 65.0 | | ||
| qwen2p5-coder-32b-instruct | GAIA | exact_match | 25.0 | | ||
| qwen2p5-coder-32b-instruct | GSM8K | exact_match | **95.7** | | ||
| qwen2p5-coder-32b-instruct | MATH | exact_match | 88.0 | | ||
| qwen2p5-coder-32b-instruct | SimpleQA | exact_match | 52.5 | | ||
| qwen2p5-coder-32b-instruct | SimpleQA | llm_as_judge | 65.0 | | ||
| deepseek-v3 | GAIA | exact_match | 37.5 | | ||
| deepseek-v3 | GSM8K | exact_match | 91.4 | | ||
| deepseek-v3 | MATH | exact_match | 88.0 | | ||
| deepseek-v3 | SimpleQA | exact_match | 60.0 | | ||
| deepseek-v3 | SimpleQA | llm_as_judge | 67.5 | | ||
|
||
When comparing our results with smolagents using `claude-3-5-sonnet-20241022`, we observed the following outcomes (evaluation conducted on 2025-01-07, reference data [here](https://github.com/huggingface/smolagents/blob/c22fedaee17b8b966e86dc53251f210788ae5c19/examples/benchmark.ipynb)): | ||
When comparing our results with smolagents using `claude-3-5-sonnet-20241022` on [m-ric/agents_medium_benchmark_2](https://huggingface.co/datasets/m-ric/agents_medium_benchmark_2) (only dataset with available smolagents [reference data](https://github.com/huggingface/smolagents/blob/c22fedaee17b8b966e86dc53251f210788ae5c19/examples/benchmark.ipynb)), we observed the following outcomes (evaluation conducted on 2025-01-07): | ||
|
||
[<img src="../docs/eval/eval-plot-comparison.png" alt="Performance comparison" width="60%">](../docs/eval/eval-plot-comparison.png) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We also need to upload the new pre-generated outputs. |
||
|
@@ -107,7 +112,7 @@ python evaluation/evaluate.py \ | |
--run-id deepseek-v3 | ||
``` | ||
|
||
Results are saved in `output/evaluation/<run-id>`. Pre-generated outputs from our runs are available [here](https://github.com/user-attachments/files/18476491/evaluation-results-agents-3_medium_benchmark_2.zip). | ||
Results are saved in `output/evaluation/<run-id>`. Pre-generated outputs from our runs are available [here](https://github.com/user-attachments/files/18488186/evaluation-results-agents-4_medium_benchmark_2.zip). | ||
|
||
## Analysis | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Title in the plot doesn't mention
m-ric/smol_agents_benchmark
. Maybe something likeor similar, maybe with a better formatting/alignment?