Not really. GitHub has a strong platform of paying customers and a solid product that’s hard to replicate.
Google is obvious.
Hugging Face is a file download mirror with a couple of side features dangling off.
Whether you realize it or not Hugging Face's monetization is just as obvious as GitHub's
They hit 150 million in annual recurring revenue this year.
Pretty nice dangling side features apparently.