numerai-model-upload

Generate a portable Numerai model-upload pickle with a self-contained predict function.

1.2k|310|Updated Jan 6, 2017
One-click install
npx skills add https://github.com/numerai/example-scripts --skill numerai-model-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: numerai-model-upload
Source: https://github.com/numerai/example-scripts/tree/main/numerai/agents/skills/numerai-model-upload
Command: npx skills add https://github.com/numerai/example-scripts --skill numerai-model-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables you to create portable Numerai tournament model upload pickles (.pkl) containing a self-contained predict() function, streamlining deployment, testing, and debugging of Numerai submissions.

Core Features & Use Cases

  • Create a deterministic, environment-agnostic inference bundle that preserves preprocessing and feature handling for Numerai's predict container.
  • Validate and test the pickle against Numerai's MCP workflow, ensuring compatibility with the default Python runtime and required libraries.
  • Document the model-upload requirements and testing steps to reduce handoff friction and speed up submissions.

Quick Start

Train your final Numerai model, create an inference bundle, and run the export to generate model.pkl ready for MCP testing.

Frequently Asked Questions about numerai-model-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a portable pickle file for Numerai model uploads?

To create a portable Numerai model upload pickle, you build a self-contained predict(live_features, live_benchmark_models) function in a matching Python environment, preserve your preprocessing steps, and export the inference bundle using cloudpickle.

Why does my Numerai model upload fail with an import error?

Numerai model upload import errors often occur when the pickle is not environment-agnostic. You resolve them by building the pickle in a matching Python runtime and exporting with cloudpickle to ensure reproducible inference across environments.

How can I validate my Numerai pickle before submitting to the tournament?

You validate your Numerai pickle by running a test workflow against Numerai's MCP container. This ensures compatibility with the default Python runtime and required libraries, confirming the predict function executes correctly.

Do I need a specific Python environment to generate a Numerai predict pickle?

Yes, generating a functional Numerai predict pickle requires building the bundle in a matching Python environment. This ensures the exported cloudpickle file preserves preprocessing logic and achieves reproducible inference within the Numerai container.

What is the best way to debug numerai_predict failures in my submission?

The best way to debug numerai_predict failures is to validate your model-upload pickle against Numerai's MCP container, checking for environment mismatches and ensuring your predict function is fully self-contained without external dependencies.