Logo de Hf Model Card Research

Hf Model Card Research

Comunidade
AtlasOmnia
hf-model-card-research

hf-model-card-research — Pull structured benchmark metadata, download stats, and quality claims from HuggingFace model cards for comparison across model variants.

Visão geral

Publicado porAtlasOmnia
Repositóriodonna-starter
Nome da habilidadehf-model-card-research
Estrelas
131
Forks
9
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por AtlasOmnia no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Hf Model Card Research no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/research/hf-model-card-research
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git /tmp/donna-starter
mkdir -p .claude/skills
cp -r /tmp/donna-starter/skills/research/hf-model-card-research .claude/skills/hf-model-card-research
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Hf Model Card Research em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Hf Model Card Research automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Hf Model Card Research não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

HF Model Card Research

Extract structured metadata — downloads, likes, benchmark claims, file sizes, author statements — from HuggingFace model cards. Used when the user asks you to "check these models on HF", "pull benchmarks for these variants", or "compare what authors claim."

When to Use

  • User provides a list of authors and model families (e.g. "pull metadata for these Qwen3.6 variants")
  • You need to compare benchmark claims across multiple fine-tunes of the same base model
  • You need up-to-date download counts, likes, or file sizes for model variants
  • Verifying what a model card claims vs what other sources say
  • Surveying the ecosystem around a new base model release

Workflow

1. Discover model repo names

Search HF for each author's models using site:huggingface.co queries:

site:huggingface.co <author> <model-family> <variant-keyword>

Try variant-specific keywords: the author's handle, the model name, key terms like "uncensored", "abliterated", "Opus", "NVFP4", "MTP", etc.

For community quantizers (mradermacher, unsloth, byteshape), search with: site:huggingface.co <author> Qwen3.6-27B.

If search results are sparse, try the author's HF profile page directly: https://huggingface.co/<author>/models — use web_extract on that.

2. Pull structured stats via HF API

The HF API endpoint returns the metadata you need. Pull JSON, don't scrape the web view for stats:

https://huggingface.co/api/models/{owner}/{repo}

Returns JSON with:

  • downloads — download count
  • likes — like count
  • pipeline_tag — model type (text-generation, image-text-to-text)
  • tags, cardData, config, gguf, safetensors, siblings (file list), createdAt/lastModified
  • spaces (linked HF Spaces)
  • model-index (evaluation results when present)

Pitfall — delegated subagents hit terminal guardrails on HF pulls. Three dispatched subagents (each on different HF research tasks, all variants) hit same_tool_failure_halt after 4 repeated terminal retries on failed HF calls. The failure mode is predictable: subagents loop on the same failing terminal (curl to HF API) because they think "retry the same call until it works." The per-turn tool guardrail halts them after 4 non-progressing attempts with zero data produced. This happened across three separate delegations in the same session.

Fix — use a bounded host-side Python script through terminal in a profile that permits execution (or a no-agent cron script), not delegation for HF pulls. When you need stats for a list of repos, run the loop as one bounded process with direct requests.Session() and per-repo exception handling so one failure does not stop the rest.

Working pattern (copy-pasteable):

python
import json, requests, time, pathlib

repos = [
    ("owner1", "repo1"),
    ("owner2", "repo2"),
    # ... one tuple per repo
]

s = requests.Session()
s.headers.update({"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) HermesResearch/1.0"})

lines = ["# HuggingFace Model Stats", ""]
for owner, repo in repos:
    try:
        r = s.get(f"https://huggingface.co/api/models/{owner}/{repo}", timeout=20)
        if r.status_code != 200:
            lines.append(f"## {owner}/{repo}\n**Error:** HTTP {r.status_code}\n")
            time.sleep(0.5); continue
        j = r.json()
        lines.append(f"## {owner}/{repo}")
        lines.append(f"- **URL:** https://huggingface.co/{owner}/{repo}")
        lines.append(f"- **Downloads:** {j.get('downloads', 0):,}")
        lines.append(f"- **Likes:** {j.get('likes', 0):,}")
        ggufs = [f for f in [x.get('rfilename','') for x in j.get('siblings',[])] if f.lower().endswith('.gguf')]
        if ggufs:
            lines.append(f"- **GGUF files ({len(ggufs)}):** {', '.join(ggufs[:6])}" + ("…" if len(ggufs) > 6 else ""))
        lines.append("")
    except Exception as e:
        lines.append(f"## {owner}/{repo}\n**Error:** {e}\n")
    time.sleep(0.3)

out = pathlib.Path("~/Desktop/hf-verified-stats.md")
out.write_text("\n".join(lines))
print(f"Wrote {out}")

Why this works where delegation fails:

  • One bounded process handles per-repo exceptions; a failed repo does not stop the next 21
  • The script can persist partial results even if the session ends partway
  • A single bounded run is easier to verify than repeated tool retries

When delegation IS still appropriate for HF research: Extracting README prose (benchmarks, claims) via web_extract on the web-view URL. One failed web_extract URL → move on, don't retry. For the stats-only pass (downloads/likes/file list), use the same bounded host-side Python path. For README benchmark prose extraction, web_extract on individual web-view URLs still works fine from the parent because the failure mode is different (one URL at a time, not a list).

Batching for the web_extract README pass: After the stats pass, you may want README content (benchmarks, claims) that isn't in the API JSON. Pass up to 5 URLs per web_extract(urls=[...]) call against the web view (https://huggingface.co/{owner}/{repo}). char_limit=8000 gets the head + tail of large cards; look for the footer line showing where the full text is cached and read_file the middle if needed.

Pitfall — "base model benchmark" cards. Many fine-tune cards list the base model's official benchmarks (e.g., "Qwen3.6-27B SWE-bench 77.2, AIME 94.1") without providing any delta data showing how the distilled/uncensored variant compares to base. Always flag when a card's benchmark numbers are for the BASE model, not the variant itself. Confirmed examples from July 2026: rico03 Opus 4.6 Distilled lists base Qwen3.6-27B's benchmarks only; lordx64 Opus 4.7 Distilled lists NO benchmark deltas at all. Only DavidAU Heretic (KL=0.0469, 4/100 refusals, per-quant accuracy table) and Jackrong Qwopus v2 (30-question throughput bench) provided variant-vs-base numbers among the top 22 variants checked.

3. Extract README benchmark claims

The README at https://huggingface.co/{owner}/{repo}/resolve/main/README.md is where authors publish benchmark tables.

Key fields to look for:

  • SWE-bench Verified — the most common agentic coding benchmark
  • AIME 2024/2025/2026 — competition math
  • MMLU-Pro / GPQA Diamond — knowledge & reasoning
  • ARC-c / ARC-e — common-sense reasoning (DavidAU uses these prominently)
  • GSM8K / MATH-500 — math
  • LiveCodeBench — coding
  • KL divergence — for abliterated/heretic models: how much the uncensored version drifted
  • Refusal rate — for uncensored variants: X/100 or X/465
  • Quant accuracy — "Same Top P %", "Mean KLD", quant-specific benchmarks
  • Throughput (tok/s) — MTP speed claims

Pitfalls:

  • Many fine-tune/quant model cards have model-index: null in the API — they don't publish formal eval results. In those cases, only the README text has benchmarks.
  • Some cards only list the base model's official benchmarks (not the fine-tune's own results). Flag this.
  • "Pending" results are common for recently released models.
  • Some authors (DavidAU) publish their own in-house benchmark suite (arc-c, arc-e, boolq, hswag, obkqa, piqa, wino) not standard HF eval.
  • Cards in Chinese or with markdown image embeds for benchmark tables — web_extract may not capture image-based tables.

4. Get file sizes for recommended quants

From the HF API JSON, check siblings array for file names and sizes. For GGUF repos, the README often has a download table with explicit sizes.

Alternatively, use gguf.totalFileSize from the API for the total repo size.

5. Compile structured output

For each variant, report:

  • Author, exact repo name
  • Downloads, likes
  • Pipeline type / multimodality
  • Base model (exact HF ID if declared)
  • Recommended quant size (e.g. Q4_K_M ~15 GB)
  • "What this variant is for" statement from card
  • Benchmark table (SWE-bench, AIME, MMLU-Pro, GPQA, ARC-c, GSM8K, etc.) — or "no benchmark listed"
  • Refusal rate / KL divergence (for uncensored variants)
  • Any quant accuracy claims

Signal wording rules:

  • If a card reproduces the base model's benchmarks (not the fine-tune's), say "card shows base model benchmarks only"
  • If benchmarks are pending/coming soon, say "pending"
  • If no benchmark table exists, say "no benchmark listed"
  • Never fabricate numbers

6. Cross-check claims across variants

When the user wants a comparison, produce a summary table at the end grouping:

  • Variants with actual SWE-bench/AIME numbers
  • Variants with refusal-rate data
  • Most popular models (by downloads)
  • Models that claim benchmark deltas vs the base

Pitfalls

  • Don't treat all benchmark tables equally. Some are from official eval harnesses, some are in-house 30-question smoke tests. Note the methodology where visible.
  • Some repos have model-index in the API but with empty results. Check model-index.results array length.
  • README extraction can be truncated for very large cards. Use read_file on the cached output to page through the middle.
  • web_extract automatically handles truncation by saving the full text to a cache file. Look for the footer line showing the file path.
  • API quota is not an issue on HF's public API — but avoid hammering it. Batch your calls.
  • GGUF-only repos (no safetensors) have gguf metadata but no safetensors block.
  • License field is in cardData.license, not always in tags.
  • Some repos ship MTP heads as separate tensors — check siblings for mtp-related filenames.
  • Refusal-rate tests use different methodologies (100-prompt, 465-prompt). Note the test size when comparing.
  • "0 downloads" can happen on newly-published repos with Xet-based storage that doesn't track downloads the same way.

Perguntas frequentes

O que a habilidade de IA Hf Model Card Research faz?

hf-model-card-research — Pull structured benchmark metadata, download stats, and quality claims from HuggingFace model cards for comparison across model variants.

Por que usar Hf Model Card Research no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Hf Model Card Research é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Hf Model Card Research no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/AtlasOmnia/donna-starter/tree/main/skills/research/hf-model-card-research. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Hf Model Card Research?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Hf Model Card Research?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Hf Model Card Research com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Hf Model Card Research é gratuita?

Sim. A habilidade é publicada no GitHub por AtlasOmnia sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇