Skip to content

Applying Block Movement Pruning for BART #40

Open
@apurvnagvenkar

Description

@apurvnagvenkar

Hi,
I am working to prune BART model for seq2seq purpose. Currently, I have replaced this code with BART based functionalities. After executing I am getting drop in number of parameters for both attention and FFN but dimension reduction happens only for FFN which results in slowness. My questions are following:

  1. Is this right code to refer to or should I follow this command_line.py?
  2. Is there any existing code which works for BART based models for Conditonal Generation or Seq2Seq?

Activity

robotsp

robotsp commented on Mar 8, 2023

@robotsp

Hi, I am working to prune BART model for seq2seq purpose. Currently, I have replaced this code with BART based functionalities. After executing I am getting drop in number of parameters for both attention and FFN but dimension reduction happens only for FFN which results in slowness. My questions are following:

  1. Is this right code to refer to or should I follow this command_line.py?
  2. Is there any existing code which works for BART based models for Conditonal Generation or Seq2Seq?

I am doing the same thing as you. Did you fix the problem? @apurvnagvenkar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @apurvnagvenkar@robotsp

        Issue actions

          Applying Block Movement Pruning for BART · Issue #40 · huggingface/nn_pruning