| --- |
| license: agpl-3.0 |
| tags: |
| - smoltrace |
| - smolagents |
| - evaluation |
| - benchmark |
| - llm |
| - agents |
| --- |
| |
| <div align="center"> |
| <img src="https://raw.githubusercontent.com/Mandark-droid/SMOLTRACE/main/.github/images/Logo.png" alt="SMOLTRACE Logo" width="400"/> |
|
|
| <h3>Tiny Agents. Total Visibility.</h3> |
|
|
| <p> |
| <a href="https://github.com/Mandark-droid/SMOLTRACE"><img src="https://img.shields.io/badge/GitHub-SMOLTRACE-blue?logo=github" alt="GitHub"></a> |
| <a href="https://pypi.org/project/smoltrace/"><img src="https://img.shields.io/pypi/v/smoltrace?color=green" alt="PyPI"></a> |
| <a href="https://github.com/Mandark-droid/SMOLTRACE#readme"><img src="https://img.shields.io/badge/docs-readme-orange" alt="Documentation"></a> |
| </p> |
| </div> |
| |
| --- |
|
|
|
|
| # SMOLTRACE Evaluation Results |
|
|
| This dataset contains evaluation results from a SMOLTRACE benchmark run. |
|
|
| ## Dataset Information |
|
|
| | Field | Value | |
| |-------|-------| |
| | **Model** | `google/gemma-2-9b-it` | |
| | **Run ID** | `22f49e98-ecbb-4030-945b-4fbb7e779352` | |
| | **Agent Type** | `code` | |
| | **Total Tests** | 7 | |
| | **Generated** | 2025-11-26 10:50:14 UTC | |
| | **Source Dataset** | kshitijthakkar/smoltrace-tasks | |
|
|
| ## Schema |
|
|
| | Column | Type | Description | |
| |--------|------|-------------| |
| | `model` | string | Model identifier | |
| | `evaluation_date` | string | ISO timestamp of evaluation | |
| | `task_id` | string | Unique test case identifier | |
| | `agent_type` | string | "tool" or "code" agent type | |
| | `difficulty` | string | Test difficulty level | |
| | `prompt` | string | Test prompt/question | |
| | `success` | bool | Whether the test passed | |
| | `tool_called` | bool | Whether a tool was invoked | |
| | `correct_tool` | bool | Whether the correct tool was used | |
| | `final_answer_called` | bool | Whether final_answer was called | |
| | `response_correct` | bool | Whether the response was correct | |
| | `tools_used` | string | Comma-separated list of tools used | |
| | `steps` | int | Number of agent steps taken | |
| | `response` | string | Agent's final response | |
| | `error` | string | Error message if failed | |
| | `trace_id` | string | OpenTelemetry trace ID | |
| | `execution_time_ms` | float | Execution time in milliseconds | |
| | `total_tokens` | int | Total tokens consumed | |
| | `cost_usd` | float | API cost in USD | |
| | `enhanced_trace_info` | string | JSON with detailed trace data | |
|
|
| ## Usage |
|
|
| ```python |
| from datasets import load_dataset |
| |
| # Load the results dataset |
| ds = load_dataset("YOUR_USERNAME/smoltrace-results-TIMESTAMP") |
| |
| # Filter successful tests |
| successful = ds.filter(lambda x: x['success']) |
| |
| # Calculate success rate |
| success_rate = sum(1 for r in ds['train'] if r['success']) / len(ds['train']) * 100 |
| print(f"Success Rate: {success_rate:.2f}%") |
| ``` |
|
|
| ## Related Datasets |
|
|
| This evaluation run also generated: |
| - **Traces Dataset**: Detailed OpenTelemetry execution traces |
| - **Metrics Dataset**: GPU utilization and environmental metrics |
| - **Leaderboard**: Aggregated metrics for model comparison |
|
|
| --- |
|
|
| ## About SMOLTRACE |
|
|
| **SMOLTRACE** is a comprehensive benchmarking and evaluation framework for [Smolagents](https://huggingface.co/docs/smolagents) - HuggingFace's lightweight agent library. |
|
|
| ### Key Features |
| - Automated agent evaluation with customizable test cases |
| - OpenTelemetry-based tracing for detailed execution insights |
| - GPU metrics collection (utilization, memory, temperature, power) |
| - CO2 emissions and power cost tracking |
| - Leaderboard aggregation and comparison |
|
|
| ### Quick Links |
| - [GitHub Repository](https://github.com/Mandark-droid/SMOLTRACE) |
| - [PyPI Package](https://pypi.org/project/smoltrace/) |
| - [Documentation](https://github.com/Mandark-droid/SMOLTRACE#readme) |
| - [Report Issues](https://github.com/Mandark-droid/SMOLTRACE/issues) |
|
|
| ### Installation |
|
|
| ```bash |
| pip install smoltrace |
| ``` |
|
|
| ### Citation |
|
|
| If you use SMOLTRACE in your research, please cite: |
|
|
| ```bibtex |
| @software{smoltrace, |
| title = {SMOLTRACE: Benchmarking Framework for Smolagents}, |
| author = {Thakkar, Kshitij}, |
| url = {https://github.com/Mandark-droid/SMOLTRACE}, |
| year = {2025} |
| } |
| ``` |
|
|
| --- |
|
|
| <div align="center"> |
| <sub>Generated by <a href="https://github.com/Mandark-droid/SMOLTRACE">SMOLTRACE</a></sub> |
| </div> |
|
|