Skip to main content

NPC Engine Import Wizard CLI

Python CLI tool for converting models into npc-engine server format.

Installation

You can install it via pip. Import wizards might have their own extra requirements.

e.g.

pip install npc-engine-import-wizard[transformers]

Usage

You can use the CLI tool to convert models from popular libraries into npc-engine services.

To start the wizard, run the following command:

npc-engine-import-wizard import --models-path <path-to-models> <model-path-or-id>

It will prompt you to select the import wizard for the model. Each service has its own set of import wizards for each library.
It will also omit import wizards that lack their extras installed (i.e. with npc-engine-import-wizard[transformers] you will only see import wizards for transformers library).

1. HfChatbotImportWizard
        ImportWizard for converting HF transformer models into text gen services.
2. HfClassifierImportWizard
        ImportWizard for converting HF classification transformer models.
3. HfSimilarityImportWizard
        ImportWizard for converting HF semantic similarity transformer models.

You can also list all available import wizards which will also give you detailed readme for each one.

npc-engine-import-wizard list-wizards

Supported libraries

  • 🤗 Transformers
    There are three import wizards for transformers available for different tasks:
1. HfChatbotImportWizard
        ImportWizard for converting HF transformer models into text gen services.
2. HfClassifierImportWizard
        ImportWizard for converting HF classification transformer models.
3. HfSimilarityImportWizard
        ImportWizard for converting HF semantic similarity transformer models.

Metadata

Release files for npc-engine-import-wizard 0.0.5

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

Source distribution (sdist)

Source distribution for npc-engine-import-wizard 0.0.5
File Size Uploaded Provenance Actions
npc-engine-import-wizard-0.0.5.tar.gz 17.9 kB Without provenance Details for npc-engine-import-wizard-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for npc-engine-import-wizard 0.0.5
File Interpreter ABI Platform Actions
npc_engine_import_wizard-0.0.5-py3-none-any.whl Python 3 none any Details for npc_engine_import_wizard-0.0.5-py3-none-any.whl

Total release size: 40.0 kB

Release files / npc-engine-import-wizard-0.0.5.tar.gz

Download URL npc-engine-import-wizard-0.0.5.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6bff876862a1645409fd50a15ed0b67cb55f030f4d3d0d15eae117b74906903a
BLAKE2b-256 checksum
How to use checksums
40d3e84227a3cabad3237d57b7da6021792386771a20e6388092aff78714ab82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / npc_engine_import_wizard-0.0.5-py3-none-any.whl

Download URL npc_engine_import_wizard-0.0.5-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a5454206c2cdc2267323cda9b8a476eee250d1aa04782b66a3d8195e613a4c6
BLAKE2b-256 checksum
How to use checksums
ebde36852c8b11bee4546d57078021969bce53cad98e0863ce5afb37aca82763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for npc-engine-import-wizard 0.0.5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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