Skip to content

HuBERT support rollout#1111

Open
david-wei-01001 wants to merge 89 commits intoTransformerLensOrg:devfrom
david-wei-01001:hubert
Open

HuBERT support rollout#1111
david-wei-01001 wants to merge 89 commits intoTransformerLensOrg:devfrom
david-wei-01001:hubert

Conversation

@david-wei-01001
Copy link

@david-wei-01001 david-wei-01001 commented Nov 7, 2025

Description

This add support for the HuBERT model, extending Transformer Lens to speech/audio models. Codes has been thoroughly tested, test codes can be found in demos/HuBERT_test folder. No additional dependencies needed

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, we build all our demos as Jupiter Notebooks, which can be run in an IDE or in Google Colab. This is for ease of use. Please reformat these demos/HuBERT_test/ files into a notebook, and create a set of tests for your new functionality in tests/

@jlarson4
Copy link
Collaborator

Hello @david-wei-01001! I took some time to look over this contribution today, thank you for contributing! There are a couple of changes I've requested above that will need to be done before I can consider this for inclusion in a release. Please feel free to reach out to me if you have any questions.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants