mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
e559867605
* Add utils for working with remote storage * WIP add remote_cache for project * WIP add push and pull commands * Use pathy in remote_cache * Updarte util * Update remote_cache * Update util * Update project assets * Update pull script * Update push script * Fix type annotation in util * Work on remote storage * Remove site and env hash * Fix imports * Fix type annotation * Require pathy * Require pathy * Fix import * Add a util to handle project variable substitution * Import push and pull commands * Fix pull command * Fix push command * Fix tarfile in remote_storage * Improve printing * Fiddle with status messages * Set version to v3.0.0a9 * Draft docs for spacy project remote storages * Update docs [ci skip] * Use Thinc config to simplify and unify template variables * Auto-format * Don't import Pathy globally for now Causes slow and annoying Google Cloud warning * Tidy up test * Tidy up and update tests * Update to latest Thinc * Update docs * variables -> vars * Update docs [ci skip] * Update docs [ci skip] Co-authored-by: Ines Montani <ines@ines.io>
36 lines
1.5 KiB
Python
36 lines
1.5 KiB
Python
from wasabi import msg
|
|
|
|
from ._util import app, setup_cli # noqa: F401
|
|
|
|
# These are the actual functions, NOT the wrapped CLI commands. The CLI commands
|
|
# are registered automatically and won't have to be imported here.
|
|
from .download import download # noqa: F401
|
|
from .info import info # noqa: F401
|
|
from .package import package # noqa: F401
|
|
from .profile import profile # noqa: F401
|
|
from .train import train_cli # noqa: F401
|
|
from .pretrain import pretrain # noqa: F401
|
|
from .debug_data import debug_data # noqa: F401
|
|
from .debug_model import debug_model # noqa: F401
|
|
from .evaluate import evaluate # noqa: F401
|
|
from .convert import convert # noqa: F401
|
|
from .init_model import init_model # noqa: F401
|
|
from .init_config import init_config, fill_config # noqa: F401
|
|
from .validate import validate # noqa: F401
|
|
from .project.clone import project_clone # noqa: F401
|
|
from .project.assets import project_assets # noqa: F401
|
|
from .project.run import project_run # noqa: F401
|
|
from .project.dvc import project_update_dvc # noqa: F401
|
|
from .project.push import project_push # noqa: F401
|
|
from .project.pull import project_pull # noqa: F401
|
|
|
|
|
|
@app.command("link", no_args_is_help=True, deprecated=True, hidden=True)
|
|
def link(*args, **kwargs):
|
|
"""As of spaCy v3.0, model symlinks are deprecated. You can load models
|
|
using their full names or from a directory path."""
|
|
msg.warn(
|
|
"As of spaCy v3.0, model symlinks are deprecated. You can load models "
|
|
"using their full names or from a directory path."
|
|
)
|