News for hackers. Stuff that matters.
Re:Introducing ChatGPT and Whisper APIs by vishal0123 on Wednesday March 01, 2023 @08:00PM (#34990580)
https://arxiv.org/pdf/2001.08361.pdf. See the C_forward formula approxiamtion.
Re:Introducing ChatGPT and Whisper APIs by cubefox on Thursday March 02, 2023 @01:37AM (#34992755)
Thank you. Though it isn't quite clear to me whether the additive part is negligible?
Re:Introducing ChatGPT and Whisper APIs by sytelus on Thursday March 02, 2023 @04:23AM (#34993737)
From eq 2.2, additive part is usually in few 10s of millions. So, for N > 1B, approximation should be good but it doesn't work. For example, GPT3 inference flops is actually 3.4E+18 so the ratio is 19,000 not 2.
Re:Introducing ChatGPT and Whisper APIs by vishal0123 on Thursday March 02, 2023 @05:12AM (#34994028)
From the paper

> For contexts and models with d_model > n_ctx/12, the context-dependent computational cost per token is a relatively small fraction of the total compute.

For GPT3, n_ctx is 4096 and d_model is 12228 >> 4096/12.