Instructions to use infercrane/Commerce-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use infercrane/Commerce-1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("infercrane/Commerce-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download USAGE.md from infercrane/Commerce-1: direct link, hf CLI and curl.
- Browser
- Download file 997 Bytes
-
https://huggingface.co/infercrane/Commerce-1/resolve/main/USAGE.md
- Command line
-
hf download hf://infercrane/Commerce-1/USAGE.md
-
curl -L -o USAGE.md https://huggingface.co/infercrane/Commerce-1/resolve/main/USAGE.md
Usage
Follow LOCAL_RUN.md from the exact public source revision. The
native commerce-1-v3-serve command validates the package and its local
evidence bindings before opening a socket. Any missing, extra, or changed byte
fails closed before model load. The training-only package builder is not a
public runtime dependency.
The full-checkpoint package must remain intact. Loading only the model shards with a generic language-model class omits the decision readout, typed question contract, calibration, source closure, and evidence binding.
The public repository name is infercrane/Commerce-1. The stable local API
model identifier is infercrane/commerce-1; clients send the latter in request
bodies. This distinction keeps repository naming separate from the versioned
serving contract.
Use only local package paths. Do not substitute a Hub revision, a different
calibration file, or an installed AutoJev module: runtime.json deliberately
rejects those substitutions.