본문으로 건너뛰기
cccskills
무료GitHub에 공개

huggingface-import

Import datasets from HuggingFace and convert them to Coval test sets. Use when the user wants to create test cases from HuggingFace dataset or repository.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Hugging Face
설치 방법 보기

포함된 파일(2)

  • SKILL.md3.9 KB
  • examples/huggingface-import.py6.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

HuggingFace to Coval Test Set Import

Import $ARGUMENTS from HuggingFace and convert it into Coval test sets with properly structured test cases.

Coval Context

Coval is an AI evaluation platform for testing voice and conversational AI agents. It runs simulations against AI agents and measures performance with configurable metrics.

ConceptDescription
Test SetA collection of test cases, grouped by category or evaluation purpose
Test CaseA single evaluation scenario with input (prompt) and optional metadata
PersonaHigh-level user character (system prompt) - separate from test cases
AgentThe AI system being evaluated

Key distinction:

  • Persona = WHO is asking (character, traits)
  • Test Case = WHAT they ask (prompts, scenarios)

Coval API

Base URL: https://api.coval.dev/v1

Fetch the OpenAPI spec before making API calls:

# List specs (no auth)
GET https://api.coval.dev/v1/openapi

# Fetch specific spec
GET https://api.coval.dev/v1/openapi/{spec_name}

Workflow

Step 1: Identify the HuggingFace Source

If $ARGUMENTS is provided, navigate to it. Otherwise ask:

What is the HuggingFace repository, space, or dataset you want to import?

Then:

  1. Navigate to the HuggingFace source
  2. Find data files (CSV, JSON, Parquet)
  3. Examine structure and fields

Step 2: Analyze Data Structure

Report to the user:

  • Total records
  • Available fields/columns
  • Existing categorization
  • 2-3 sample records

Step 3: Interactive Field Mapping

Ask these questions to map HuggingFace data to Coval format:

Q1: Input Field

Which field contains the question/prompt for the test case input?

Q2: Categorization

How should test cases be organized into test sets?

  • By existing category field
  • Single test set
  • Custom logic

Q3: Metadata

Which fields should be preserved in metadata JSON? (Recommend: preserve original IDs like question_id)

Q4: Multi-turn (if applicable)

How to handle multi-turn conversations?

  • First turn only
  • Concatenate turns
  • Separate test cases per turn

Step 4: Generate CSVs

Create Coval-compatible CSVs:

input,metadata
"Your question here","{""question_id"": ""123"", ""source"": ""mt-bench""}"

Requirements:

  • input column MUST be first
  • Proper quote escaping (double quotes)
  • metadata as valid JSON string
  • UTF-8 encoding
  • One CSV per category (recommended)

Naming: {source}_{category}.csv

Step 5: Upload to Coval

Manual: Upload CSVs via Coval dashboard test sets page.

API: Fetch OpenAPI spec and use test set endpoints programmatically.

Common HuggingFace Sources

General Language Understanding

DatasetDescription
cais/mmlu15k+ multiple-choice questions across 57 subjects (STEM, humanities, law)
nyu-mll/glueSentence-level tasks: sentiment, entailment, linguistic acceptability
tau/commonsense_qaReasoning tests for everyday world knowledge
Rowan/hellaswagCommon-sense inference and completion

Reasoning & Problem-Solving

DatasetDescription
openai/gsm8k~8k grade-school math word problems (multi-step arithmetic)
ucinlp/dropReading comprehension with discrete operations
lukaemon/bbhBigBench Hard - challenging reasoning subset

Supporting Files

Checklist

  • Identified input field
  • Determined categorization
  • Preserved original IDs in metadata
  • Proper quote escaping
  • Valid JSON in metadata
  • Separate CSVs per category

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Analyze a Coval accent testing report from runs across different speaker accents. Use when a user provides a Coval report URL, report export, run IDs, screenshots, or metric summary and wants evidence-backed next steps such as prompt changes, STT/confirmation adjustments, accent-robust routing, or expanded accent coverage.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

coval-ai/coval-external-skills32026년 9월 16일 업데이트

Analyze a Coval adversarial / red-team testing report and turn it into an agent-hardening plan. Use when a user provides a Coval report URL, report export, run IDs, screenshots, or a per-scenario scorecard from an adversarial sweep and wants evidence-backed next steps such as prompt/guardrail changes, refusal hardening, verification fixes, escalation routing, or expanded attack coverage.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

coval-ai/coval-external-skills32026년 9월 16일 업데이트

Analyze a Coval audio-quality testing report from runs across different voice, speaking-style, volume, interruption, and background-noise scenarios. Use when a user provides a Coval report URL, report export, run IDs, screenshots, or metric summary and wants evidence-backed next steps such as prompt changes, tool handling fixes, STT/TTS adjustments, trace setup, or expanded audio-scenario coverage.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

coval-ai/coval-external-skills32026년 9월 16일 업데이트

Build or improve a Coval dashboard with metric visualizations backed by real data. Creates new dashboards from scratch or rebuilds existing ones by analyzing usage patterns, metric frequency, and data density. Use when user says "create a dashboard", "build a dashboard", "improve my dashboard", "add widgets", "visualize my metrics", "make a performance dashboard", or "dashboard for my runs".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

coval-ai/coval-external-skills32026년 9월 16일 업데이트

Build a compact Coval test set from product requirements, observed conversation failures or a coverage gap. Design realistic scenarios with separate expected behaviors, provenance and controlled voice/persona variation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

coval-ai/coval-external-skills32026년 9월 16일 업데이트

Select and configure a Coval metric for a concrete product criterion, choosing transcript, audio, trace or deterministic evidence and testing the result. Use for metric creation or scoring design, not for final human calibration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

coval-ai/coval-external-skills32026년 9월 16일 업데이트

coval-ai의 스킬 모두 보기

이 스킬의 문제 신고