Skip to main content

Import wizard for npc-engine

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npc-engine-import-wizard-0.0.5.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

npc_engine_import_wizard-0.0.5-py3-none-any.whl (22.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page