Gabriele Berton

@berton-gabri.bsky.social

Training VLMs at Google DeepMind. ex Amazon, CMU, PoliTo, IIT https://gmberton.github.io/

How to select pre-training data for LLMs? Two papers came out last week from AllenAI and Nvidia that do it in a similar way, building on the intuition that good data is good regardless the size of the LLM. This intuition can be used to select good data in a cheap manner (training a ...

BildBild

🚀 Big news! Just got my O-1 visa, booked my flight to San Francisco, and I’m really happy to join Amazon in Palo Alto! Ready for this exciting new chapter 🚀 I'll be doing a PostDoc on Vision-Language Models!

🚀 Paper Release! 🚀 Curious about image retrieval and contrastive learning? We present: 📄 "All You Need to Know About Training Image Retrieval Models" 🔍 The most comprehensive retrieval benchmark—thousands of experiments across 4 datasets, dozens of losses, batch sizes, LRs, data labeling, and more!

BildBild

We just released MegaLoc paper, weights and demo (links below)! MegaLoc is the SOTA image retrieval model for localization. Try the demo for yourself to see how good it is, just upload a photo from San Francisco (or use the examples in the demo)!

Excited to release the first worldwide aerial image localization method (and demo!) Take an aerial or satellite image from anywhere in the world, and AstroLoc can (probably) find its location, and provide a precise footprint! Links to paper, demo and full-length (5 min) video ⬇️

The greatest feat of humanity is choosing an international language and sticking to it. AFAIK students in every single country on Earth study English, regardless of the country's political relationship with the West

I used MegaScenes and its COLMAP reconstructions for a while, and here are some thoughts on failure cases with examples. I mostly found 2 issues: semantic failures and doppelgangers. Here is the worst example I found of a semantic failure: COLMAP gets lots of keypoints on the person (1/n)

I'm now convinced that if we could simulate our world, 90% of the times diffusion is invented before GANs and GANs never become famous, while all the other big discoveries in DL would keep the same chronology

Gabriele Berton@berton-gabri.bsky.social · 2y ago

I'm very confused by this because usually the reason why (AlexNet|transformers|GPT|CLIP...) weren't developed 5 years earlier is lack of GPU/data. For diffusion it seems that just "nobody thought of trying that..."

This simple pytorch trick will cut in half your GPU memory use / double your batch size (for real). Instead of adding losses and then computing backward, it's better to compute the backward on each loss (which frees the computational graph). Results will be exactly identical

Bild

Libraries and tools that every deep learning project should use: loguru, tqdm, torchmetrics, einops, python 3.11, black. Optional: prettytable. Good for debugging: lovely_tensors. Any other ones I've missed? Below a few words on each of them:

Bild

Almost a year ago I created a tiny python package to download files, like a python-based wget (called py3_wget). Simple to use, recovers from errors, can pass cksum/MD5/SHA256 to ensure download went well, retries to download if something goes wrong. `pip install py3_wget` and you're good to go.

I made a GitHub repo with a list of ~ 400 ML startups across Europe to help people looking for jobs. It's mostly built automatically with python scripts, so if you want me to expand to more countries/cities just let me know github.com/gmberton/awe...

GitHub - gmberton/awesome-machine-learning-startups: List of startups doing AI & ML

List of startups doing AI & ML. Contribute to gmberton/awesome-machine-learning-startups development by creating an account on GitHub.

github.com

A model is at best as good as the data it sees. I wish every paper had examples of input data in the supplementary (the data that is fed to the model, i.e. with augmentation). I've started to do it on my papers, here's an example of tuples that we show in a CVPR24 paper

Bild

Aside from a burst of posts last June, I haven't been very active on social media. I want to be more active! I have lots of things to share, and I'm posting this to hold myself accountable. Stay tuned, I'll be posting on PyTorch, coding, computer vision and image localization!