cai/benchmarks
lidia9 8ee943ff7e add cybermetric 2025-05-08 14:00:33 +02:00
..
cybermetric testing yml 2025-05-08 12:57:09 +02:00
otros testing yml 2025-05-08 12:57:09 +02:00
seceval add cybermetric 2025-05-08 14:00:33 +02:00
README.md small changes readme 2025-05-08 13:46:56 +02:00

README.md

AI Model Evaluation Benchmarks

This chapter is a curated collection of benchmark datasets and evaluation tools designed to assess the capabilities of custom AI models, particularly in domains related to cybersecurity.

The collection is intended to support researchers and developers who are evaluating their own models using reliable, task-specific benchmarks.

Currently, this are the benchmarks included:

The goal is to consolidate diverse evaluation tasks under a single framework to support rigorous, standardized testing.

🏆 General Summary Table

Model SecEval CyberMetric Total Value
model_name XX.X% XX.X% XX.X%

🔐 SecEval

📄 Description

SecEval is a benchmark designed to evaluate large language models (LLMs) on security-related tasks. It includes various real-world scenarios such as phishing email analysis, vulnerability classification, and response generation.

▶️ Usage

cd benchmarks/seceval/eval
pip install -r requirements.txt
python3 eval.py --dataset_file datasets/questions.json --output_dir outputs --backend ollama --model ollama/qwen2.5:14b

#### 📊 Evaluation Results

Model Name Accuracy F1 Score ROUGE Notes
GPT-4 87.5% 84.2% 0.61 Zero-shot
LLaMA2-13B 75.4% 71.8% 0.52 Fine-tuned
Claude 3 Opus 79.2% 76.5% 0.58 Few-shot setup
Falcon-40B 70.1% 68.0% 0.47 Baseline
YourModel XX.X% XX.X% XX.X Custom results here

🧠 CyberMetric

📄 Description

CyberMetric is a benchmark framework that focuses on measuring the performance of AI systems in cybersecurity-specific question answering, knowledge extraction, and contextual understanding. It emphasizes both domain knowledge and reasoning ability.

#### ▶️ Usage

cd benchmarks/cybermetric
python CyberMetric_evaluator.py --model_name ollama/qwen2.5:14b --file_path CyberMetric-2-v1.json

📊 Evaluation Results

Model Name Accuracy F1 Score ROUGE Notes
GPT-4 87.5% 84.2% 0.61 Zero-shot
LLaMA2-13B 75.4% 71.8% 0.52 Fine-tuned
Claude 3 Opus 79.2% 76.5% 0.58 Few-shot setup
Falcon-40B 70.1% 68.0% 0.47 Baseline
YourModel XX.X% XX.X% XX.X Custom results here
📂 Source: results/cybermetric/scores.csv