<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0" -->

---
title: Meet MosaicBERT: A BERT-Style Encoder Architecture and...
description: MosaicBERT is an optimized framework that improves the pretraining speed and accuracy of the BERT architecture. It incorporates speed optimizations such as...
canonical: https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Meet MosaicBERT: A BERT-Style Encoder Architecture and Training Recipe that is Empirically Optimized for Fast Pretraining | daily.dev
og:description: MosaicBERT is an optimized framework that improves the pretraining speed and accuracy of the BERT architecture. It incorporates speed optimizations such as...
og:url: https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0
og:image: https://api.daily.dev/og/posts/n7s3xckm0.png
og:image:alt: Meet MosaicBERT: A BERT-Style Encoder Architecture and Training Recipe that is Empirically Optimized for Fast Pretraining
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Meet MosaicBERT: A BERT-Style Encoder Architecture and Training Recipe that is Empirically Optimized for Fast Pretraining

**[Machine Learning News](https://daily.dev/sources/mlnews)** · 3 min read · 0 upvotes · 0 comments

## Summary

MosaicBERT is an optimized framework that improves the pretraining speed and accuracy of the BERT architecture. It incorporates speed optimizations such as FlashAttention, ALiBi, low-precision LayerNorm, and Gated Linear Units. MosaicBERT achieved the same accuracy as BERT in significantly less time on the same hardware.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.marktechpost.com/2024/01/10/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-for-fast-pretraining/>

---

Tags: [#tech-news](https://daily.dev/tags/tech-news), [#ai](https://daily.dev/tags/ai), [#machine-learning](https://daily.dev/tags/machine-learning), [#nlp](https://daily.dev/tags/nlp), [#llm](https://daily.dev/tags/llm), [#bert](https://daily.dev/tags/bert)

[View this post on daily.dev](https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Meet MosaicBERT: A BERT-Style Encoder Architecture and Training Recipe that is Empirically Optimized for Fast Pretraining","url":"https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0"},"datePublished":"2024-01-10T19:48:01.988Z","dateModified":"2024-01-10T19:47:59.884Z","description":"MosaicBERT is an optimized framework that improves the pretraining speed and accuracy of the BERT architecture. It incorporates speed optimizations such as...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5ee8bfd2ff1ba953e3e063406f068557?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5ee8bfd2ff1ba953e3e063406f068557?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Machine Learning News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Machine Learning News","logo":"https://media.daily.dev/image/upload/s--0PoEtdkd--/f_auto/v1750409401/squads/marktechpost?_a=BAMClqZW0","url":"https://daily.dev/squads/mlnews"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/meet-mosaicbert-a-bert-style-encoder-architecture-and-training-recipe-that-is-empirically-optimized-n7s3xckm0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"tech-news,ai,machine-learning,nlp,llm,bert","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Machine Learning News","item":"https://daily.dev/squads/mlnews"},{"@type":"ListItem","position":3,"name":"Meet MosaicBERT: A BERT-Style Encoder Architecture and Training Recipe that is Empirically Optimized for Fast Pretraining"}]}
```

