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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Prompt
- Triggers
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.
