evaluating-llms

Evaluate LLM systems using automated metrics, LLM-as-judge, RAGAS, and benchmarks.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/masermediagroup-stack/maser-media --skill evaluating-llms-masermediagroup-stack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: evaluating-llms
Source: https://github.com/masermediagroup-stack/maser-media/tree/main/.cursor/skills/community/ai-design-components/skills/evaluating-llms
Command: npx skills add https://github.com/masermediagroup-stack/maser-media --skill evaluating-llms-masermediagroup-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ragas, deepeval, lm-eval, langsmith, scikit-learn, openai, and includes scripts (resource) and references (resource) components.

What problem does it solve? LLM applications can silently produce hallucinations, biased outputs, or quality regressions, and teams lack a systematic way to measure prompt quality, RAG pipeline faithfulness, and model safety before and after production deployment. ## Core Features & Use Cases - Multi-Layer Evaluation: Combines automated metrics (BLEU, ROUGE, accuracy, F1), LLM-as-judge scoring with rubrics, and human review sampling for comprehensive quality assessment. - RAG and Safety Validation: Measures RAGAS metrics (faithfulness, answer relevance, context precision/recall) plus hallucination, bias, and toxicity detection. - Benchmark and Production Monitoring: Runs MMLU, HumanEval, and domain benchmarks via lm-evaluation-harness, and supports A/B testing, drift detection, and CI/CD evaluation pipelines. - Use Case: A team shipping a RAG-based support chatbot uses this Skill to verify faithfulness stays above 0.8, compare GPT-4 against Claude on their test set, and set up continuous production monitoring with alerts. ## Quick Start Ask the agent to evaluate your RAG pipeline's faithfulness and answer relevance on your test dataset using RAGAS.

Frequently Asked Questions about evaluating-llms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate a RAG pipeline for hallucinations?▼

Use the RAGAS framework's faithfulness metric, which checks whether each claim in the answer is supported by the retrieved context. Target a faithfulness score above 0.8, and if it fails, adjust prompts to require grounding and citations.

What metrics should I use to evaluate LLM generation quality?▼

Combine automated metrics like BLEU, ROUGE, and BERTScore for fast feedback with LLM-as-judge scoring on a 1-5 rubric for nuanced quality. Automated metrics alone correlate weakly with human judgment for creative or open-ended generation.

RAGAS vs DeepEval: which LLM evaluation framework should I use?▼

RAGAS is purpose-built for RAG systems with metrics like faithfulness and context relevance, while DeepEval offers general LLM evaluation with pytest integration. Use RAGAS for retrieval pipelines and DeepEval for broader unit-test-style evaluation.

How do I compare GPT-4 vs Claude on benchmarks?▼

Use lm-evaluation-harness to run standardized benchmarks like MMLU, HumanEval, and GSM8K against both models with identical few-shot settings. Compare scores across multiple benchmarks rather than relying on a single metric.

What are the limitations of LLM-as-judge evaluation?▼

LLM judges exhibit position bias, verbosity bias, and self-preference bias, and cost $0.01-0.10 per evaluation. Mitigate by randomizing response order, averaging multiple evaluations, and validating scores against human labels on a sample.

How do I monitor LLM quality in production?▼

Use a layered approach: automated checks on all outputs, LLM-as-judge on a 10% sample, and human review on 1% of edge cases. Track user feedback, latency, and cost metrics with alerting on quality score anomalies.