Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce modular files for speech models #35902

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
325 changes: 147 additions & 178 deletions src/transformers/models/data2vec/modeling_data2vec_audio.py

Large diffs are not rendered by default.

426 changes: 426 additions & 0 deletions src/transformers/models/data2vec/modular_data2vec_audio.py

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/transformers/models/gemma/configuration_gemma.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ...configuration_utils import PretrainedConfig


Expand Down
335 changes: 148 additions & 187 deletions src/transformers/models/hubert/modeling_hubert.py

Large diffs are not rendered by default.

Loading