all publishers

johnmarktaylor91

@johnmarktaylor91 source repo

2 published skills

  1. ▌
    Nnsight · johnmarktaylor91 bundle
    Read, modify, and analyze the internals of neural networks with nnsight — tracing activations with model.trace, intervening on modules, batching interventions, gradients, caching, generation, and running on NDIF. Use for any task that touches model internals rather than just model outputs: interpretability experiments, activation extraction, ablation, patching, steering, probing, circuit analysis, or debugging existing nnsight code — and whenever you would otherwise reach for PyTorch forward hooks (register_forward_hook) to read or edit activations. Covers nnsight 0.8 (TransformersModel, tracer.result, no .value) — load this before writing any nnsight code, since idioms from older versions are still widespread and silently wrong.
    0 installs
  2. ▌
    Torchlens · johnmarktaylor91 bundle
    Use when writing, reviewing or debugging Python code that uses TorchLens (`import torchlens as tl`) to capture, save, steer, ablate, patch, compare or draw a PyTorch model's activations, or when inspecting a saved .tlspec artifact.
    0 installs