Download spaCy models
download_spacy_models · Built-in action recipeDownload and install one or more spaCy models to shared storage so they can be loaded with spacy.load().
If you've connected Ellf to your coding assistant, it can set up the action for you: it knows the recipe's settings, can create the datasets and assets it needs and will ask you about anything it can't work out itself.
✳︎Claude Code: Setting up an action
› Set up an Ellf action using the Download spaCy models recipe (download_spacy_models) and help me choose the right settings for my data.- In the app, go to ActionsNew action.
- Select the Download spaCy models recipe under Data.
- Fill in the form – you'll need to provide Language. Everything else has sensible defaults.
- Create the action. It starts on your cluster straight away.
Create the action with ellf actions create and the recipe name. All settings from the form are available as arguments. To view all recipe arguments, run ellf actions create download_spacy_models --help.
| Argument | Type | Description | Default |
|---|---|---|---|
--name | str | Name of the action | None |
--lang | str | Language: Language of the models to download.Available: af, am, ar, az, bg, bn, bo, ca, cs, da, de, dsb, el, en, es, et, eu, fa, fi, fo, fr, ga, gd, grc, gu, he, hi, hr, hsb, ht, hu, hy, id, is, it, ja, kmr, kn, ko, ky, la, lb, lg, lij, lt, lv, mk, ml, mr, ms, nb, ne, nl, nn, pl, pt, ro, ru, sa, si, sk, sl, sq, sr, sv, ta, te, th, ti, tl, tn, tr, tt, uk, ur, vi, xx, yo, zh | |
--models | List[str] | Model names: Specific model names to download, e.g. en_core_web_sm. To get every model for the language, tick 'Download all models for the language' instead. | None |
--all-models | bool | Download all models for the language: If enabled, downloads every available model for the selected language. Overrides the model names list. | False |
--output-path | str | Output path: Path on shared storage where models will be saved. Supports {__nfs__} paths. Each model is placed in a subdirectory named after the model. | "{__nfs__}/spacy-models" |
--register | bool | Register models as assets: Register each downloaded model as an asset in Ellf. | True |
--source-url | str | Source repository URL: Custom URL to download models from, instead of the default spaCy GitHub releases. | None |
--project-id | str | Project ID to add action to. Defaults to your saved project. | None |
--worker-class | str | Worker class to launch the action on, as configured on your cluster | None |