localminimum / QANet

A Tensorflow implementation of QANet for machine reading comprehension
MIT License
982 stars 310 forks source link

Train Models With Macs #42

Closed ahmedselim2017 closed 5 years ago

ahmedselim2017 commented 6 years ago

Hi. I have Macbook Air(Mid 2017) and I want to train data. So it haven't a GPU so without GPU how can I train model?

leicao-me commented 6 years ago

If you just install tensorflow instead of tensorflow-gpu, you can train with CPU. But it could take you for days.

localminimum commented 5 years ago

Hi, if you look at this issue, @ajay-seeram tried running this experiment in cpu, reported that it took 4 days and a half to train 35k steps. You can simply install tensorflow in your macbook and follow the steps written in README.md file.

However, I do not recommend you training this model in your Mac as it will likely overheat your laptop in no time.