Optimum Transformers: how to save over $20k a year on NLP

In this tutorial we are going to check if it is possible to speed up NLP models more than 10x times and get 1ms latency as in Hugging Face Infinity and save over $20k a year.

Spoileryes, it is possible, and with the help of this article it is easy to reproduce and adapt it to your REAL projects.

And for those who are too lazy to read all this and want to get everything out of the box: https://github.com/AlekseyKorshuk/optimum-transformers. Read More

#nlp

Deep Symbolic Regression for Recurrent Sequences

Symbolic regression, i.e. predicting a function from the observation of its values, is well-known to be a challenging task. In this paper, we train Transformers to infer the function or recurrence relation underlying sequences of integers or oats, a typical task in human IQ tests which has hardly been tackled in the machine learning literature. We evaluate our integer model on a subset of OEIS sequences, and show that it outperforms built-in Mathematica functions for recurrence prediction. We also demonstrate that our oat model is able to yield informative approximations of out-of-vocabulary functions and constants, e.g. bessel0(x) ≈ sin(x)+cos(x) √ πx and 1.644934 ≈ π 2/6. An interactive demonstration of our models is provided at https://bit.ly/3niE5FS. Read More

#nlp

That smiling LinkedIn profile face might be a computer-generated fake

At first glance, Renée DiResta thought the LinkedIn message seemed normal enough.

The sender, Keenan Ramsey, mentioned that they both belonged to a LinkedIn group for entrepreneurs. She punctuated her greeting with a grinning emoji before pivoting to a pitch for software.

“Quick question — have you ever considered or looked into a unified approach to message, video, and phone on any device, anywhere?”

DiResta wasn’t interested and would have ignored the message entirely, but then she looked closer at Ramsey’s profile picture. Little things seemed off in what should have been a typical corporate headshot. Ramsey was wearing only one earring. Bits of her hair disappeared and then reappeared. Her eyes were aligned right in the middle of the image. Read More

#fake, #image-recognition