agentsclimarketplace

Reproducing dl papers

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-gemini-3.1-pro-preview/nlp-paper-reproduction/reproducing-dl-papers

How to reproduce Deep Learning papers. Use this skill whenever the user asks to implement an algorithm, loss function, architecture, or technique based on an academic paper (PDF, Arxiv, etc).From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill reproducing-dl-papers

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 242 tokens by cl100k_base, as published. Nobody here has run it

Reproducing Deep Learning Papers

This skill provides guidelines on correctly transcribing Deep Learning methodology into working code.

Workflow

  1. Understand Key Equations: Identify the equations governing the process. In NLP, this includes the forward pass, probability distributions (softmax), loss formulation (e.g., negative log-likelihood, ranking loss, KL divergence), and the treatment of reference vs policy models.
  2. Handle Hyperparameters: Identify all parameters that control behavior (e.g., margins, temperatures, weightings like $\beta$ or $\gamma$). Expose these as function arguments.
  3. Analyze Dimension Semantics: When implementing tensor operations, ensure dimensions align with the paper's math. For example, if a paper calculates the sum of log probabilities per sequence, the sum operation should be over the sequence dimension dim=-1.
  4. Compare to Existing Methods: Most new algorithms contrast themselves with existing methods (like DPO, IPO, or PPO in RLHF). Understanding the baseline can clarify what the new method actually changes.
  5. Verify Inputs: Check what inputs are provided in the environment/test code and adapt to their shape and type.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.