News for hackers. Stuff that matters.
Re:Scaling Down Deep Learning by h-jones on Saturday December 05, 2020 @11:41AM (#25315823)
This helps lessen issues like inference speed / requirements but it doesn't address the environmental impact of training.
Re:Scaling Down Deep Learning by danieldk on Saturday December 05, 2020 @02:36PM (#25317587)
That's only for pretraining a model. Very few groups pretrain models, since it is so expensive in terms of GPU time. Finetuning a model for a specific task typically only takes a few hours. E.g. I regularly train multitask syntax models (POS tagging, lemmatization, morphological tagging, dependency relations, topological fields), which takes just a few hours on a consumer-level RTX 2060 super.

Unfortuntaly, distillation of smaller models can take a fair bit of time. However, there is a lot of recent work to make distillation more efficient, e.g. by not just training on the label distributions of of a teacher model, but by also learning to emulate the teacher's attention, hidden layer outputs, etc.

Re:Scaling Down Deep Learning by ericd on Saturday December 05, 2020 @02:44PM (#25317655)
Is there one model that you use more frequently than others as a base for these disparate fine tuning tasks? Basically, are there any that are particularly flexible?
Re:Scaling Down Deep Learning by ma2rten on Saturday December 05, 2020 @08:12PM (#25320007)
In general, BERT would be the most common one. RoBERTa is the same model but trained for longer, which turns out to work better. T5 is a larger model, which works better on many tasks but is more expensive.
Re:Scaling Down Deep Learning by ericd on Sunday December 06, 2020 @01:34PM (#25325452)
Thanks for the summary! I'm familiar with BERT, but less so the different variants, so that's quite helpful. I'll take a look at how RoBERTa works.
Re:Scaling Down Deep Learning by danieldk on Sunday December 06, 2020 @08:22AM (#25323330)
So far, of the models that run on GPUs with 8-16GiB VRAM XLM-RoBERTa has been the best for these specific tasks. It worked better than the multi-lingual BERT model and language-specific BERT models by quite a wide margin.
Re:Scaling Down Deep Learning by ericd on Sunday December 06, 2020 @01:31PM (#25325422)
Great, thanks very much for the pointer, especially the VRAM context - I'm looking to fine-tune on 2080Ti's rather than V100/A100s, so that's really good to know.
Re:Scaling Down Deep Learning by klipt on Saturday December 05, 2020 @01:21PM (#25316836)
The environmental impact of training deep models is a tiny fraction of the impact of eg mining bitcoin.
Re:Scaling Down Deep Learning by ma2rten on Saturday December 05, 2020 @08:09PM (#25319989)
Also it's tiny compared to the server cost of big tech companies like facebook and google.
Re:Scaling Down Deep Learning by ma2rten on Saturday December 05, 2020 @08:06PM (#25319976)
The pretraining is shared between models, inference is generally such more expensive.
Re:Scaling Down Deep Learning by dnautics on Saturday December 05, 2020 @04:45PM (#25318705)
the environmental impact of training is, generally considered to be a one-time cost.