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

bertviz

Route BertViz Transformer attention visualization, neuron-view, notebook, and HTML export workflows.

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

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

포함된 파일(17)

  • SKILL.md4.0 KB
  • references/environment-and-install.md2.6 KB
  • references/repo-provenance.md2.1 KB
  • references/repo-routing-metadata.json312 B
  • references/troubleshooting.md2.6 KB
  • scripts/check_bertviz_environment.py4.2 KB
  • sub-skills/attention-views/references/api-reference.md3.8 KB
  • sub-skills/attention-views/references/troubleshooting.md2.6 KB
  • sub-skills/attention-views/references/workflows.md4.7 KB
  • sub-skills/attention-views/scripts/render_synthetic_attention.py6.6 KB
  • sub-skills/attention-views/SKILL.md1.9 KB
  • sub-skills/neuron-view/references/api-reference.md6.4 KB
  • sub-skills/neuron-view/references/model-compatibility.md4.5 KB
  • sub-skills/neuron-view/references/troubleshooting.md3.3 KB
  • sub-skills/neuron-view/references/workflows.md3.9 KB
  • sub-skills/neuron-view/scripts/validate_toy_bert_attention.py9.2 KB
  • sub-skills/neuron-view/SKILL.md3.3 KB

SKILL.md(원문)

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

BertViz

Use this repo skill when a task involves BertViz, Transformer attention visualization, head/model view rendering, neuron-level query/key inspection, or saving BertViz notebook visualizations as HTML.

Install and quick check

For ordinary use:

pip install bertviz

For interactive notebooks also install and enable a notebook frontend such as JupyterLab plus widgets:

pip install jupyterlab ipywidgets

Minimal package/API check:

python - <<'PY'
from bertviz import head_view, model_view
from bertviz.neuron_view import get_attention
print("bertviz import ok", head_view.__name__, model_view.__name__, get_attention.__name__)
PY

For a stronger no-network check, run scripts/check_bertviz_environment.py.

Route by task

User needRead next
Visualize standard self-attention tensors from Hugging Face or another Transformer model.sub-skills/attention-views/SKILL.md
Render sentence-pair head/model views with sentence_b_start.sub-skills/attention-views/SKILL.md
Render encoder, decoder, or cross-attention for sequence-to-sequence models.sub-skills/attention-views/SKILL.md
Save BertViz output as standalone HTML or use it outside a notebook display call.sub-skills/attention-views/SKILL.md, or sub-skills/neuron-view/SKILL.md for neuron view
Inspect query/key neuron contributions using BertViz's modified model classes.sub-skills/neuron-view/SKILL.md
Diagnose package installation, notebook display, PyTorch/IPython dependency, or JS asset issues.references/troubleshooting.md
Check whether this skill matches the current BertViz checkout/version.references/repo-provenance.md

Core distinctions

  • head_view and model_view consume attention tensors. They are the right choice when the model can return Hugging Face-style attention weights with output_attentions=True.
  • neuron_view.show computes a visualization payload from BertViz's modified BERT/GPT-2/RoBERTa/XLNet classes because neuron view needs query and key vectors, not only attention probabilities.
  • BertViz is a visualization tool, not a model explanation guarantee. It helps inspect attention patterns but should not be presented as proving causal feature attribution.

Repo-level references and scripts

Safety defaults

  • Do not run public notebooks or from_pretrained(...) examples automatically when network/model downloads are not explicitly allowed.
  • Prefer bundled no-network helpers for validation: the root environment check, attention-views/scripts/render_synthetic_attention.py, and neuron-view/scripts/validate_toy_bert_attention.py.
  • Keep generated outputs and saved HTML in user-chosen working directories; BertViz does not require modifying its installed package files.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

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

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

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

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

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

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

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

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

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

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

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

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고