Skip to main content

Neuralk, the predictive AI company

Neuralk OSS

Neuralk-AI open-source models.

Seldon

Seldon is a tabular in-context-learning foundation model: fit keeps the training table as context, predict_proba classifies new rows against it in one forward pass, with no gradient step.

from neuralk_oss import SeldonClassifier

clf = SeldonClassifier.from_pretrained("seldon-small-classifier")
clf.fit(X_train, y_train)  # pandas DataFrame (or array) and labels
proba = clf.predict_proba(X_test)  # (n_rows, n_classes), columns in clf.classes_ order

Checkpoints

name task parameters
seldon-small-classifier classification, up to 10 classes per model call 27.4M

A checkpoint is a directory holding config.json and model.safetensors. from_pretrained takes:

  • a checkpoint name, such as "seldon-small-classifier": downloaded from the Hugging Face repository Neuralk-AI/seldon, where each checkpoint is a directory, on the first call, then read from the Hugging Face cache (~/.cache/huggingface, or HF_HOME);
  • a local directory, read in place: from_pretrained("path/to/seldon-small-classifier");
  • any Hugging Face repository, with the checkpoint's directory and a revision: from_pretrained("org/repo", subfolder="seldon-small-classifier", revision="v1").

The repository is private for now: log in once with an account that can read it (hf auth login), or pass token=... to from_pretrained.

Column types are inferred (categorical columns are embedded as such, NaNs are kept for the model's own imputation), each of the n_estimators ensemble members (8 by default) sees its own preprocessing, and their logits are averaged. Inference runs in float16 autocast on CUDA by default (amp=False for float32). Tables with more classes than the model's head (10) go through error-correcting output codes.

Preprocessing

The preprocessing and ensembling come from structured-data-models (sdm, Apache-2.0), pinned in pyproject.toml. SeldonRecipe builds its recipe one overridable method per step:

import sdm.processing as sp
from neuralk_oss import SeldonClassifier, SeldonRecipe


class MyRecipe(SeldonRecipe):
    max_features = 200

    def numerical_transforms(self):
        return [sp.Identity(), sp.RankGaussian(max_knots=self.rank_gaussian_knots)]


clf = SeldonClassifier.from_pretrained("seldon-small-classifier", recipe=MyRecipe())

The model alone

from neuralk_oss import Seldon

model = Seldon.from_pretrained("seldon-small-classifier")
context = model.encode_context(X_context, y_context, categorical_mask)  # (B, T, H), (B, T), (B, H)
logits = model.predict_query(X_query, context, categorical_mask)  # (B, T_query, 10)

Contributing

See CONTRIBUTING.md: layout, development and versions.

Metadata

Release files for neuralk-oss 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neuralk-oss 0.1.1
File Size Uploaded Provenance Actions
neuralk_oss-0.1.1.tar.gz 902.0 kB With provenance Details for neuralk_oss-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for neuralk-oss 0.1.1
File Interpreter ABI Platform Actions
neuralk_oss-0.1.1-py3-none-any.whl Python 3 none any Details for neuralk_oss-0.1.1-py3-none-any.whl

Total release size: 931.0 kB

Release files / neuralk_oss-0.1.1.tar.gz

Download URL neuralk_oss-0.1.1.tar.gz
Size 902.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7d00c554b7d2fa6cd241051e47483cb6c129213141ec77183c4d4964601f2448
BLAKE2b-256 checksum
How to use checksums
8cf7e036c0d5cdcecf3cfd5fea951b742a2195add8d19536452958ff6ed45929
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / neuralk_oss-0.1.1-py3-none-any.whl

Download URL neuralk_oss-0.1.1-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0af66f489b94b1806df0c4f350493a3bc075b981bbfc077b32d2061321e90b7f
BLAKE2b-256 checksum
How to use checksums
41abcb1b8310b234ee51e08762eff95c38673a5c8398a15e3cee1bbf239bdedb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for neuralk-oss 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for neuralk_oss-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page