AI Pulse by Inblix

Kaggle now auto-generates Hugging Face model pages from your notebooks

Hugging Face Blog · May 14, 2025 · 2 min read · Read original article →

Curated by the Inblix editorial team


Featured image for article: Kaggle now auto-generates Hugging Face model pages from your notebooks

Kaggle just made the two biggest platforms in open-source AI a whole lot closer. Starting today, a new integration lets you jump directly from a Hugging Face model page into a Kaggle notebook with a pre-written code snippet ready to load the model. It works in reverse, too. The really clever part? You don’t have to do anything special to create documentation. When you run a Kaggle notebook that pulls a model from the Hugging Face Hub, Kaggle will now automatically generate a Hugging Face model page on its own site if one doesn’t exist yet. Once you make that notebook public, it gets listed on the model’s Kaggle page under a “Code” tab, building a searchable library of real-world usage examples at kaggle.com/models.

This is a direct shot at solving a persistent friction point. Model cards on Hugging Face are great for listing architecture and benchmarks, but figuring out how to actually implement something in a training loop usually means hunting through scattered community notebooks. By linking code to the model card automatically, Kaggle is essentially building a Rosetta Stone of executable examples as a byproduct of people just doing their normal work.

There are sensible guardrails for private and gated models. If you’re working with a private model behind an HF_TOKEN in your notebook’s secrets, Kaggle won’t generate a public page and broadcast your work. Consent-gated models require you to get approval through Hugging Face’s standard process first. After that, the integration works the same. The team is explicit that this metadata won’t leak into the wild, which is table stakes but still good to hear stated plainly.

The one conspicuous gap is competition support. Kaggle admits that letting competitors use Hugging Face models in offline notebook submissions is still months away, and they’re taking an unusually cautious tone about it. They point to their position paper on maintaining “empirical rigor for GenAI evaluation” and the risk of data leakage contaminating leaderboards. That’s the right instinct — the last thing competitive ML needs is another controversy about models trained on test sets — but it also means the integration remains incomplete for the highest-stakes use case on the platform. For now, this is a workflow upgrade for exploratory and collaborative work, with the harder problem of competition integrity still unsolved.

💡 Key Takeaways

  1. Kaggle notebooks that reference a Hugging Face model will now auto-generate a public model page on Kaggle, complete with linked code examples, without any changes from the user.
  2. Private and consent-gated models are protected: private models show nothing publicly, and gated models still require standard Hugging Face access approval before the integration works.
  3. The most requested feature — using Hugging Face models in offline Kaggle competitions — is still months away as the team grapples with preventing data leakage and preserving leaderboard integrity.

Keep reading: See related articles below for more coverage on this topic.

Get smarter about AI

The sharpest AI news, curated daily. Delivered free to your inbox.

Learn more

Glossary terms

← Back to all articles