# Runnin C4 W3 Lab 3: Question Answering with BERT and HuggingFace on local PC / Mac

**URL:** <https://community.deeplearning.ai/t/runnin-c4-w3-lab-3-question-answering-with-bert-and-huggingface-on-local-pc-mac/102098>\
**Category:** NLP with Attention Models\
**Tags:** week-module-3\
**Created:** [February 22, 2022, 4:41pm UTC](https://community.deeplearning.ai/t/runnin-c4-w3-lab-3-question-answering-with-bert-and-huggingface-on-local-pc-mac/102098 "2022-02-22T16:41:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shantimohan\_Elchuri](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@Shantimohan\_Elchuri](https://community.deeplearning.ai/u/Shantimohan_Elchuri)\
**Post date:** [February 22, 2022, 4:41pm UTC](https://community.deeplearning.ai/t/runnin-c4-w3-lab-3-question-answering-with-bert-and-huggingface-on-local-pc-mac/102098/1 "2022-02-22T16:41:05Z")

</div>

Has any of you tried running this notebook on your local pc or mac?

Especially for the cell # 20, while it took about 15 minutes on Coursera server, it took 5 hours on Mac. I couldn’t run on a Windows PC as Google Trax doesn’t install on it.

In the light of this, will a Mac Pro with M1 Pro / Max chipset run this piece faster? What’s your experience?

---

<div class="post-metadata">

**Author:** ![reinoudbosch](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@reinoudbosch](https://community.deeplearning.ai/u/reinoudbosch)\
**Post date:** [May 4, 2022, 6:19pm UTC](https://community.deeplearning.ai/t/runnin-c4-w3-lab-3-question-answering-with-bert-and-huggingface-on-local-pc-mac/102098/2 "2022-05-04T18:19:38Z")

</div>

Hi Shantimohan\_Elchuri,

I don’t know if this is useful to you, but here is my experience.

I ran the Question Answering with BERT and HuggingFace on my Ubuntu system with an NVIDIA 3090, and it took 1 minute and 35 seconds to finish training.

In the past I tried training NNs on my 2017 MacBook Pro with a Radeon Pro 560, and although I managed to get it to work at times, I could not make it work reliably. Because of this, I have been waiting for convincing demonstrations on how to use the M1 reliably to train large NNs.
