huggingface / huggingface/transformers

Support on Mixture of expert models

Open
#14,814 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

New model
Dominant language
Python
Stars
166k
Forks
34.6k
Avg merge
3d 9h
Merged PRs (30d)
281

Description

Hi, I find that there are emerging works in the field of NLP on Mixture of experts based models, such as Switch Transformers from Google. However, I do not find such mixture of expert models in huggingface transformers. Do you have the plan to support such models? Thanks !

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by reviewing how the repository currently defines and integrates model architectures, then determine the scope for supporting Mixture of Experts models such as Switch Transformers. Done would require an agreed implementation plan and support for the requested model family.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.