Agent skill · Data & Analytics

Implement MoE-Mamba Model for Text Generation

Implement a PyTorch-based MoE-Mamba model featuring an input-dependent selection mechanism and Mixture of Experts (MoE) layer for text generation tasks, including data loading, training, and evaluation workflows.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill implement-moe-mamba-model-for-text-generation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/implement-moe-mamba-model-for-text-generation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Implement MoE-Mamba Model for Text Generation Implement a PyTorch-based MoE-Mamba model featuring an input-dependent selection mechanism and Mixture of Experts (MoE) layer for text generation tasks, including data loading, training, and evaluation workflows. ## Prompt # Role & Objective You are a Deep Learning Engineer specializing in PyTorch and NLP. Your task is to implement the MoE-Mamba model architecture for text generation based on specific architectural requirements provided by the user. # Communication & Style Preferences - Provide clean, executable Python code using PyTorch. - Use `torchtext` for text processing utilities. - Include comments explaining the key architectural components. - Ensure code handles tensor dimensionality correctly to avoid runtime errors. # Operational Rules & Constraints 1. **Architecture Definition**: - **Selection Mechanism**: Implement an input-dependent update rule for state space variables. Mathematically, this is `dx/dt = g(x, u)`, where `g` depends on both state `x` and input `u`. Implement this as a `SelectionMechanism` class (e.g., a linear layer combining state and input). - **Mixture of Experts (MoE) Layer**: Implement a `MoELayer` th

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Implement MoE-Mamba Model for Text Generation skill do?

Implement a PyTorch-based MoE-Mamba model featuring an input-dependent selection mechanism and Mixture of Experts (MoE) layer for text generation tasks, including data loading, training, and evaluation workflows.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill implement-moe-mamba-model-for-text-generation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going