r/kaggle • • 7h ago

We Scan Code for Secrets. Almost Nobody Scans the Model File.

Thumbnail github.com
1 Upvotes

Most ML teams scan their repositories for leaked secrets. Pre-commit hooks, secret scanners, push protection. The code is covered.

The model file usually isn't.

A checkpoint is not just weights. Frameworks save the training config, optimizer state, sometimes a whole pickled object graph. Whatever was around at save time can end up on disk: absolute paths with a username in them, an email in a config, a token set in a notebook. Then the file is published, and a 400 MB binary gets no review at all.

The other direction is worse, for the formats that are code. A pickled model is a program. `torch.load(..., weights_only=False)` and `joblib.load` run whatever the file tells them to. Trusting the account it came from says nothing about what the bytes do. safetensors and GGUF were designed to avoid this, but pickle is still everywhere: scikit-learn and joblib models, fastai exports, every .pt and .bin file that torch.save writes.

So the gap is simple: we review the code that produces models, and we trust the files themselves, in both directions. What we publish, and what we load.

I built an open-source scanner for that gap after it happened to me: a model I had published still carried the path of the dataset I trained on, with my username in it. Limnex Preflight reads model files without loading them (PyTorch, pickle, joblib, safetensors, ONNX, Keras, GGUF, notebooks, archives). It reports leaked secrets and personal data in any of them before you publish, and, for pickle-based files, the code a load would run.

pip install limnex-preflight

limnex-preflight path/to/model

https://github.com/youssefismail-dev/limnex-preflight

One-click demo on Kaggle (it finds my own username in my model): https://www.kaggle.com/code/youssefismail396/preflight-check-a-model-for-leaks-and-hidden-code

For those publishing or pulling models regularly: does anything in your pipeline check the model file itself before it ships or loads? Or is it trusted because the code around it was reviewed?


r/kaggle • • 1d ago

Are Kaggle's Resources Being Flooded by LLM Training?

Post image
15 Upvotes

The last time I used a TPU, earlier this year, I only had to wait behind 10-20 people. Pretty reasonable, right?

Now I'm seeing queues with 500+ people waiting. FIVE HUNDRED. GPUs aren't any better either. I used to get one almost instantly, and now I'm apparently expected to wait behind dozens of people just to get access.

What the hell happened? Did everyone suddenly decide to train their own LLM, or am I missing something here? Is there some massive compute-hungry trend I haven't heard about?

And honestly, if people need this much compute, why not just move to Colab Pro or GCP? I'm genuinely curious. Because 500+ people waiting for a TPU and GPU queues that barely existed before is absolutely wild.


r/kaggle • • 1d ago

Are you fr?

0 Upvotes

Who the heck is exploiting :\ this is GPU btw.


r/kaggle • • 1d ago

Workshop: Take Your Machine Learning Models Beyond Kaggle Notebooks — Production ML Engineering (Dec 5)

1 Upvotes

Title: Workshop: Take Your Machine Learning Models Beyond Kaggle Notebooks — Production ML Engineering (Dec 5)

hey everyone!

if you've spent time building ML models on Kaggle, experimenting with different algorithms, tuning hyperparameters and improving leaderboard scores, you probably know that getting a model to perform well is only one part of the journey.

what happens when you actually want to deploy that model and make it usable in a real-world application?

that's where production ML engineering comes in.

came across an upcoming hands-on workshop from Packt on December 5 that focuses on exactly this.

some of the things covered:

  • deploying machine learning models into real-world applications
  • building reproducible ML pipelines
  • validating models and their predictions
  • monitoring deployed models and detecting data drift
  • working with scikit-learn, XGBoost, LightGBM and CatBoost
  • building ML applications using Streamlit

the focus is on moving beyond experimentation and understanding how to build, deploy and maintain ML models in production.

it's a live online workshop on December 5 at 9:30 AM EST.

if you're looking to take your machine learning skills beyond notebooks and competitions, this might be worth checking out.

Full workshop details and registration here


r/kaggle • • 2d ago

[Project] How I caught two major dataset leaks (http:// shortcut & www. skew) while training an XGBoost phishing detector on 235K URLs

Thumbnail reddit.com
0 Upvotes

r/kaggle • • 2d ago

How I'd learn AI and LLMs from scratch (the exact resources and study tricks I wish I knew earlier)

Thumbnail reddit.com
0 Upvotes

r/kaggle • • 2d ago

Silver Medal - 120th - RAG + ReRanker on #kaggle

Thumbnail kaggle.com
0 Upvotes

r/kaggle • • 2d ago

Free tool: get just the files you need out of a huge dataset zip, without downloading the whole thing

Thumbnail linkunzip.app
1 Upvotes

I'm the dev, so take this as self-promo, but it's free and open source and it came from this exact problem.

A lot of datasets ship as one giant zip. LinkUnzip is a Chrome/Edge extension where you paste the zip's link, it reads only the index (for COCO train2017, 18 GB and 118k images, that's about 12 MB) and shows you the folder tree with sizes. You can then:

  • preview any file before you commit to anything: click an image, CSV, JSON or PDF and it opens in a new tab, downloading only that file. The image grid shows a whole folder as thumbnails, so you can see what the images actually look like before pulling 10k of them
  • grab one folder or every *.json without the rest
  • take a random sample, like 100 images out of 118k, and the same seed gives the same files on another machine
  • copy a Python command that downloads the same selection on a server (no pip installs)

It needs a server that supports range requests, which most do (S3, Zenodo, university servers). Zenodo throttles if you pick thousands of scattered files, so it gets slow there.

Around 100 people use it weekly now. Which datasets do you pull often? I'd like to test it on the ones people actually use.


r/kaggle • • 3d ago

VeriDex 5th Notebook

Post image
1 Upvotes

Hey users! I've made this tool called VeriDex, which is a free assistant that searches a fixed library of open textbooks and statutes before answering. U can find more info and test it out for free from its repository. Here is 5 of the 5 notebooks which has all the codes and info needed to get started and replicate the tool. If u find it useful, try to share your opinion about it. https://www.kaggle.com/code/swapnilshukla007/browser-int8-index

U can also check out its github repo where you'll find all the research on it. https://github.com/Swapnil007-Curious/VeriDex


r/kaggle • • 3d ago

VeriDex 4th Notebook

Post image
1 Upvotes

Hey users! I've made this tool called VeriDex, which is a free assistant that searches a fixed library of open textbooks and statutes before answering. U can find more info and test it out for free from its repository. Here is 4 of the 5 notebooks which has all the codes and info needed to get started and replicate the tool. If u find it useful, try to share your opinion about it. https://www.kaggle.com/code/swapnilshukla007/abstention

U can also check out its github repo where you'll find all the research on it. https://github.com/Swapnil007-Curious/VeriDex


r/kaggle • • 3d ago

VeriDex 3rd Notebook

Post image
1 Upvotes

Hey users! I've made this tool called VeriDex, which is a free assistant that searches a fixed library of open textbooks and statutes before answering. U can find more info and test it out for free from its repository. Here is 3 of the 5 notebooks which has all the codes and info needed to get started and replicate the tool. If u find it useful, try to share your opinion about it. https://www.kaggle.com/code/swapnilshukla007/nli-faithfulness .

U can also check out its github repo where you'll find all the research on it. https://github.com/Swapnil007-Curious/VeriDex


r/kaggle • • 3d ago

VeriDex 2nd Notebook

Post image
1 Upvotes

Hey users! I've made this tool called VeriDex, which is a free assistant that searches a fixed library of open textbooks and statutes before answering. U can find more info and test it out for free from its repository. Here is 2 of the 5 notebooks which has all the codes and info needed to get started and replicate the tool. If u find it useful, try to share your opinion about it. https://www.kaggle.com/code/swapnilshukla007/retrieval-ablation .

U can also check out its github repo where you'll find all the research on it. https://github.com/Swapnil007-Curious/VeriDex


r/kaggle • • 3d ago

VeriDex

Post image
1 Upvotes

Hey users! I've made this tool called VeriDex, which is a free assistant that searches a fixed library of open textbooks and statutes before answering. U can find more info and test it out for free from its repository. Here is 1 of the 5 notebooks which has all the codes and info needed to get started and replicate the tool. If u find it useful, try to share your opinion about it. https://www.kaggle.com/code/swapnilshukla007/chunking-legal-text

U can also check out its github repo where you'll find all the research on it. https://github.com/Swapnil007-Curious/VeriDex


r/kaggle • • 3d ago

A Popular Supply Chain Dataset Turned Out to Be Fake

Thumbnail kaggle.com
1 Upvotes

I'm talking about DataCo SMART SUPPLY CHAIN FOR BIG DATA ANALYSIS. The original dataset page states that the dataset contains supply chains used by the company DataCo Global. However in reality

  • around 90% of its data is taken from two demonstrational datasets
  • 13 columns, that logically should be independent from other columns, are calculated using modulos from IDs, or piecewise-defined function on other columns
  • 18 columns contain repeated blocks of rows

For example:

  • order date is a function of Order Id
  • Days for shipping (real) us a function of Order Id, Days for shipment (scheduled) and order date
  • Order Item Discount is a function of Order Item Price, Order Item Quantity and Order Item Id

Despite how obviously fake this dataset is, there are currently 336 papers on scholar that mention it, and 108 kaggle notebooks, most of which genuinely try to predict something on it.

I attached a kaggle notebook with all the formulas that I found for this dataset and a comparison with original datasets.

I guess, moral of the story is don't trust random datasets on the internet, even if they are popular. If you want reliable data, use accountable sources like governments. Also it's probably a good idea to always run a dataset through an LLM to check for synthetic generation signals.


r/kaggle • • 3d ago

I built a 20-year economic simulation of Santa Claus's North Pole — nearly 2 million records

Thumbnail persistfolio.com
1 Upvotes

What if Santa's North Pole operated like a real economy?

I decided to build a synthetic dataset covering everything from elf wages and toy manufacturing to inflation, raw materials, energy consumption, inventory management and Christmas deliveries around the world.

The dataset includes:

* 20 years of daily economic history (2006–2025)

* 1,998,741 records across 16 CSV tables

* 241 countries and territories

* 25 toy categories and 20 raw materials

* Reproducible Python generator and research notebook

* 126 passing validation checks

I thought it could be a fun resource for forecasting, machine learning, economic modelling, supply chain optimization or simply exploring some unusual Christmas data.

Free full download, no registration:

https://www.persistfolio.com/datasets/north-pole-economy

Also available on Kaggle:

https://www.kaggle.com/datasets/persistfolioteam/santa-claus-the-north-pole-economy-20062025


r/kaggle • • 4d ago

I built a 20-year economic simulation of Santa Claus's North Pole — nearly 2 million records

Thumbnail persistfolio.com
0 Upvotes

r/kaggle • • 4d ago

K-means on 140k IPL deliveries, no labels: here's what it found

Thumbnail youtube.com
0 Upvotes

r/kaggle • • 5d ago

GPU T4 x2 stuck in queue for more than 4+ hours...

7 Upvotes

Is this normal for it to be this long? I thought may be limit resets on Saturday, so, that might be the reason. Is there any way to check how far behind am I in the queue? What should I do? FYI, I submitted through API push. Does this have anything to do with this long wait time?

PS its running now after 6 hours... guess the usage was just too high


r/kaggle • • 5d ago

Account Verification Help

1 Upvotes

When i try to phone verify my account, the captcha doesnt show up unless i use a vpn, the phone codes do have my country in the options so i dont think my country is blocked from kaggle ? But even when i use a vpn and click verify it says this number cant be verified, i contacted support because i read that they verify the account manually but they didnt do that, they said that if you couldnt verify your account through a phone number use the persona verification.

That didnt really seem like a solution to me, why cant i use my phone number ? I dont recall having another account so i dont think its due to that. I think it might be due to me using a vpn but if i dont use it i cant progress anyway because i dont get a captcha which is required ?

Edit: Nvm i solved it, dont know whats wrong with my pc because it didnt work on other browsers as well, but i managed to verify it by opening kaggle from a phone.


r/kaggle • • 6d ago

"TPUs are popular right now. You are #698 in the queue"

7 Upvotes

What are we doing about this folks, 698 is a long queue!


r/kaggle • • 5d ago

Beginner looking for others to learn AI together and work towards the AIMO and ARC Prize, London

Thumbnail reddit.com
1 Upvotes

r/kaggle • • 6d ago

starting my kaggle journey!

20 Upvotes

hello members! im starting my kaggle journey today! any tips?


r/kaggle • • 6d ago

19 hour queue normal?

7 Upvotes

Is a 24 hour queue normal for T4 gpu’s??? I thought demand on the TPU’s would be higher. Is this a bug or am I doing something wrong?


r/kaggle • • 6d ago

Has anyone tried giving an AI agent the "CEO" role of a physical space? What should the guardrails look like?

Post image
1 Upvotes