lattice-rnn-pruning

Community

Lattice-based pruning for smarter RNN compression.

Authorhiyenwong
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This method reduces RNN size and computes pruning strategies by modeling neurons as a poset and constructing a dependency lattice to identify meet-irreducible neurons that should be preserved to maintain connectivity.

Core Features & Use Cases

  • Poset modeling of neurons and dependency lattice construction for pruning guidance
  • Identification of meet-irreducible neurons to preserve functional connectivity
  • Support for multi-layer RNN pruning while maintaining sequence modeling performance
  • Useful for model compression, edge deployment, and inference efficiency

Quick Start

Provide a trained PosetRNN and run prune with a target_sparsity to obtain the pruned matrix and kept neuron indices.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lattice-rnn-pruning
Download link: https://github.com/hiyenwong/ai_collection/archive/main.zip#lattice-rnn-pruning

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.