TLDRocket
Sign in

Hardware & Infrastructure

261 summarised stories in Hardware & Infrastructure, each linking back to the original source. Browse all topics →

Monday, 22 August 2022

Pre-Train BERT with Hugging Face Transformers and Habana Gaudi

Hugging Face 3 years ago 49

Hugging Face released a tutorial for pre-training BERT-base from scratch using Habana Gaudi accelerators on AWS, leveraging the Transformers and Optimum Habana libraries with masked-language modeling. The training ran for 100,000 steps with a global batch size of 256 over approximately 12.5 hours on a DL1 instance with 8 HPU-cores. Users can now train custom BERT models on Gaudi hardware by following the guide's four steps: dataset preparation, tokenizer training, dataset preprocessing, and distributed model pre-training.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.