2min chapter

The Data Exchange with Ben Lorica cover image

Efficient Methods for Natural Language Processing

The Data Exchange with Ben Lorica

CHAPTER

How Do You Reduce the Efficiency of Your Model?

The routing to experts is not random. It's a learned process that learns to assign a given example based on some embedding of that example, the correct quote unquote expert. You can also think of the reverse process where you do parameter sharing. This would create a model that's much smaller in terms of memory footprint because you're just using one layer of your parameters. But your runtime is much more expensive because each layer is run multiple times. So you end up with a potentially much slower model. There's hardly ever a perfect approach that wins on off front.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode